Routines |
Prev: 51086 | Up: Map | Next: 51122 |
|
||||
At the start of the game, the Butler is invisible (!) and only becomes visible after entering Beorns House.
|
||||
EventBeornsHouse | 51108 | LD HL,50231 | HL=attributes of object $42 - "Butler". | |
51111 | BIT 3,(HL) | Return if the "Butler" is "broken" (bit 3 is set). | ||
51113 | RET NZ | |||
51114 | LD A,66 | Write $42 to 51943. | ||
51116 | LD (51943),A | |||
51119 | SET 7,(HL) | Set "visible" bit for "Butler". | ||
51121 | RET | Return. |
Prev: 51086 | Up: Map | Next: 51122 |