Routines |
Prev: 8357 | Up: Map | Next: 839C |
|
||||
magic_armour_spell | 836A | LD A,(computer_player_flag) | Jump to magic_armour_spell_0 if player is human. | |
836D | OR A | |||
836E | JR Z,magic_armour_spell_0 | |||
8370 | CALL routine03 | Else call routine03 to get byte from unknown_table_3. | ||
8373 | AND $80 | Jump to magic_sword_spell_0 if bit 7 is clear. | ||
8375 | JR Z,magic_armour_spell_0 | |||
8377 | LD A,$00 | Set unknown10 variable to zero and return. | ||
8379 | LD (unknown10),A | |||
837C | RET | |||
magic_armour_spell_0 | 837D | CALL routine04 | Call routine04 ??? | |
8380 | LD A,(spell_success_flag) | Jump to magic_armour_spell_1 if spell_success_flag is clear. | ||
8383 | OR A | |||
8384 | JR Z,magic_armour_spell_1 | |||
8386 | LD HL,modwizard_pointers_3 | Set current_character_pointer to modwizard_pointers_3. | ||
8389 | LD (current_character_pointer),HL | |||
838C | CALL routine02 | Copy sprite pointers to wizard data. | ||
838F | CALL routine03 | Get byte from unknown_table_3. | ||
8392 | OR $C0 | Set bits 6 and 7. | ||
8394 | LD (HL),A | Store result back in unknown_table_3. | ||
magic_armour_spell_1 | 8395 | CALL routine50 | Call routine50 ??? | |
8398 | CALL routine11 | Display SPELL FAILS or SPELL SUCCEEDS message and return. | ||
839B | RET |
Prev: 8357 | Up: Map | Next: 839C |