![]() |
Routines |
| Prev: 32903 | Up: Map | Next: 33036 |
|
Used by the routine at 32655.
|
||||
| 32982 | LD A,(23468) | If Fumaticus-Protectium-cast flag is set then... | ||
| 32985 | BIT 1,A | ... | ||
| 32987 | JP NZ,34682 | Jump to 34682 | ||
| 32990 | LD A,(23404) | Load current time left (hours) into A | ||
| 32993 | CP 48 | Compare to 48 | ||
| 32995 | JP Z,34634 | If time left is 48 hours, then display "THAT SPELL CANNOT YET BE CAST..." window and exit | ||
| 32998 | LD A,46 | Load A with index of object 46 (Power-Pong Plant) | ||
| 33000 | CALL 34256 | Check whether Magic Knight is holding the Power-Pong Plant... | ||
| 33003 | JP NZ,34634 | ...and if not, then display "THAT SPELL CANNOT YET BE CAST..." window and exit | ||
| 33006 | LD A,19 | Load A with index of object 19 (Red Herring) | ||
| 33008 | CALL 34256 | Check whether Magic Knight is holding the Red Herring... | ||
| 33011 | JP NZ,34634 | ...and if not, then display "THAT SPELL CANNOT YET BE CAST..." window and exit | ||
| 33014 | CALL 33278 | Flash border and screen (cast spell effect) | ||
| 33017 | LD A,(23468) | Set Fumaticus-Protectium-cast flag... | ||
| 33020 | SET 1,A | ... | ||
| 33022 | LD (23468),A | ... | ||
| 33025 | LD A,(23378) | Set bit 3 of score progress flags... | ||
| 33028 | OR 8 | ... | ||
| 33030 | LD (23378),A | ... | ||
| 33033 | JP 34688 | Display Fumaticus Protectium successful window | ||
| Prev: 32903 | Up: Map | Next: 33036 |