Prev: 27781 Up: Map Next: 27826
27813: Reset Red Bird
Used by the routine at Run_Main_Loop_Body.
Resets the red bird to an inactive state by writing 255 to its traversal direction, stun timers and current room. This effectively disables the red bird until it is reinitialised.
ResetRedBird 27813 LD HL,27827 Write 255 to *RedBirdTraversalDirection.
27816 LD C,255
27818 LD (HL),C
27819 INC HL Write 255 to *RedBirdStunTimer.
27820 LD (HL),C
27821 INC HL Write 255 to *RedBirdStunTimerCopy.
27822 LD (HL),C
27823 INC HL Write 255 to *RedBirdCurrentRoom.
27824 LD (HL),C
27825 RET Return.
Prev: 27781 Up: Map Next: 27826