Routines |
Prev: 59869 | Up: Map | Next: 59956 |
59933 | LD A,56 | This value (56) indicates the spell selected is an ongoing 'effect' spell | ||
59935 | LD (60129),A | |||
59938 | CALL 56668 | Start printing the selected spell message text | ||
After the initial spell selection, player controls are limited to either (a) UP/DOWN to cancel the spell casting and return to the spell menu, or (b) FIRE again to confirm & cast the spell
Check if UP/DOWN pressed:
|
||||
59941 | LD A,(60158) | Check up/down control value | ||
59944 | CP 0 | If the player presses UP or DOWN, spell casting is cancelled. Remove the FLASHing attributes in the top right of scroll, clear the scroll and and re-print the spell list | ||
59946 | JR NZ,60018 | |||
Check if FIRE pressed:
|
||||
59948 | LD A,(60210) | Check if FIRE pressed | ||
59951 | CP 0 | If NOT pressed, jump straight to the RET statement to continue the game. Otherwise continue to the next routine that deactivates the effect. | ||
59953 | JP Z,60064 |
Prev: 59869 | Up: Map | Next: 59956 |