Prev: 48498 Up: Map Next: 48749
48579: Graphic Layout: Ghost
Ghost. Complex entity slot 32 at StateData_Complex_20 uses this layout when armed. Scripts at 48096 load GraphicLayout_Ghost. 48124 loads the BOO layout at GraphicLayout_GhostBoo. The entry sets graphic set 4 then cycles GraphicLayout_GhostFrame1 and GraphicLayout_GhostFrame2.
GraphicLayout_Ghost 48579 DEFB 244,4 Set the graphic set to 4.
48581 DEFB 243,0,3,232,189,3,190,232,189 Increment the index and jump to one of GraphicLayout_GhostFrame1, GraphicLayout_GhostFrame2, GraphicLayout_GhostFrame1.
48590 DEFB 3,190
BOO.
layout-bdd0
GraphicLayout_GhostBoo 48592 DEFB 244,4 Set the graphic set to 4.
48594 DEFB 250,1,255 Move the cursor by -1 horizontally and 1 vertically.
48597 DEFB 54,7,33 Draw tile 54 with INK: WHITE, PAPER: BLACK (7) and move right by 1, keeping the background paper.
48600 DEFB 55,7,33 Draw tile 55 with INK: WHITE, PAPER: BLACK (7) and move right by 1, keeping the background paper.
48603 DEFB 56,7,30 Draw tile 56 with INK: WHITE, PAPER: BLACK (7) and move left by 2 and down by 1, keeping the background paper.
48606 DEFB 57,7,33 Draw tile 57 with INK: WHITE, PAPER: BLACK (7) and move right by 1, keeping the background paper.
48609 DEFB 58,7,33 Draw tile 58 with INK: WHITE, PAPER: BLACK (7) and move right by 1, keeping the background paper.
48612 DEFB 59,7,33 Draw tile 59 with INK: WHITE, PAPER: BLACK (7) and move right by 1, keeping the background paper.
48615 DEFB 255 Load the stored coordinates and return.
Ghost frame 1.
layout-bde8
GraphicLayout_GhostFrame1 48616 DEFB 250,0,255 Move the cursor by -1 horizontally and 0 vertically.
48619 DEFB 50,5,36 Draw tile 50 with INK: CYAN, PAPER: BLACK (5) and move right by 4, keeping the background paper.
48622 DEFB 50,133,28 Draw tile 50 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move left by 4 and down by 1, keeping the background paper.
48625 DEFB 0,45,36 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move right by 4.
48628 DEFB 0,45,28 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move left by 4 and down by 1.
48631 DEFB 51,5,36 Draw tile 51 with INK: CYAN, PAPER: BLACK (5) and move right by 4, keeping the background paper.
48634 DEFB 51,133,33 Draw tile 51 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move right by 1, keeping the background paper.
48637 DEFB 250,253,253 Move the cursor by -3 horizontally and -3 vertically.
48640 DEFB 248,27,190 Jump to the layout at GraphicLayout_GhostBody.
Ghost frame 2.
layout-be03
GraphicLayout_GhostFrame2 48643 DEFB 250,1,255 Move the cursor by -1 horizontally and 1 vertically.
48646 DEFB 52,5,36 Draw tile 52 with INK: CYAN, PAPER: BLACK (5) and move right by 4, keeping the background paper.
48649 DEFB 52,133,28 Draw tile 52 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move left by 4 and down by 1, keeping the background paper.
48652 DEFB 0,45,36 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move right by 4.
48655 DEFB 0,45,28 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move left by 4 and down by 1.
48658 DEFB 53,5,36 Draw tile 53 with INK: CYAN, PAPER: BLACK (5) and move right by 4, keeping the background paper.
48661 DEFB 53,133,33 Draw tile 53 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move right by 1, keeping the background paper.
48664 DEFB 250,252,253 Move the cursor by -3 horizontally and -4 vertically.
Ghost body.
layout-be1b
GraphicLayout_GhostBody 48667 DEFB 245,3,39,40,94 Set the next graphic index from a random list.
48672 DEFB 0,5,31 Draw a random tile from the list at GraphicLayout_GhostBody with INK: CYAN, PAPER: BLACK (5) and move left by 1 and down by 1, keeping the background paper.
48675 DEFB 41,5,33 Draw tile 41 with INK: CYAN, PAPER: BLACK (5) and move right by 1, keeping the background paper.
48678 DEFB 0,45,33 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move right by 1.
48681 DEFB 41,133,30 Draw tile 41 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move left by 2 and down by 1, keeping the background paper.
48684 DEFB 42,69,33 Draw tile 42 with INK: CYAN, PAPER: BLACK (69) and move right by 1, keeping the background paper.
48687 DEFB 43,69,33 Draw tile 43 with INK: CYAN, PAPER: BLACK (69) and move right by 1, keeping the background paper.
48690 DEFB 42,197,30 Draw tile 42 with INK: CYAN, PAPER: BLACK, MIRRORED (197) and move left by 2 and down by 1, keeping the background paper.
48693 DEFB 0,45,33 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move right by 1.
48696 DEFB 0,45,33 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move right by 1.
48699 DEFB 0,45,30 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move left by 2 and down by 1.
48702 DEFB 44,5,33 Draw tile 44 with INK: CYAN, PAPER: BLACK (5) and move right by 1, keeping the background paper.
48705 DEFB 0,45,33 Draw tile 0 with INK: CYAN, PAPER: CYAN (45) and move right by 1.
48708 DEFB 44,133,31 Draw tile 44 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move left by 1 and down by 1, keeping the background paper.
48711 DEFB 243,0,4,82,190,89,190,82,190,99,190 Increment the index and jump to one of GraphicLayout_GhostTailDown, GraphicLayout_GhostTailLeft, GraphicLayout_GhostTailDown, GraphicLayout_GhostTailRight.
Ghost tail pointing down.
layout-be52
GraphicLayout_GhostTailDown 48722 DEFB 45,5,32 Draw tile 45 with INK: CYAN, PAPER: BLACK (5) and move down by 1, keeping the background paper.
48725 DEFB 46,5,33 Draw tile 46 with INK: CYAN, PAPER: BLACK (5) and move right by 1, keeping the background paper.
48728 DEFB 255 Load the stored coordinates and return.
Ghost tail pointing left.
layout-be59
GraphicLayout_GhostTailLeft 48729 DEFB 47,5,31 Draw tile 47 with INK: CYAN, PAPER: BLACK (5) and move left by 1 and down by 1, keeping the background paper.
48732 DEFB 48,5,33 Draw tile 48 with INK: CYAN, PAPER: BLACK (5) and move right by 1, keeping the background paper.
48735 DEFB 49,5,33 Draw tile 49 with INK: CYAN, PAPER: BLACK (5) and move right by 1, keeping the background paper.
48738 DEFB 255 Load the stored coordinates and return.
Ghost tail pointing right.
layout-be63
GraphicLayout_GhostTailRight 48739 DEFB 47,133,32 Draw tile 47 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move down by 1, keeping the background paper.
48742 DEFB 49,133,33 Draw tile 49 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move right by 1, keeping the background paper.
48745 DEFB 48,133,33 Draw tile 48 with INK: CYAN, PAPER: BLACK, MIRRORED (133) and move right by 1, keeping the background paper.
48748 DEFB 255 Load the stored coordinates and return.
Prev: 48498 Up: Map Next: 48749