Prev: 27459 Up: Map Next: 27481
27468: Draw Picture When Enabled
Used by the routines at DrawRoomOnce and RedrawLocation.
Returns immediately while pictures are switched off. Otherwise paints the illustration.
DrawIfPictures 27468 PUSH AF Stash AF on the stack.
27469 LD A,(26326) Jump to DrawIfPictures_On if *PicturesOn is set.
27472 OR A
27473 JR NZ,DrawIfPictures_On
27475 POP AF Restore AF from the stack.
27476 RET Return.
Draw the illustration.
DrawIfPictures_On 27477 POP AF Restore AF from the stack.
27478 JP ClearIllustration Jump to ClearIllustration.
Prev: 27459 Up: Map Next: 27481