Prev: 975F Up: Map Next: 9786
9760: routine09
routine09 9760 LD A,(unknown02)
9763 OR A
9764 JR NZ,routine09_0
9766 CALL get_random
9769 LD HL,casting_chance
976C LD E,(HL)
976D INC E
976E CP E
976F JP M,routine09_0
9772 LD A,$00
9774 LD (spell_success_flag),A
9777 RET
routine09_0 9778 LD A,$01
977A LD (spell_success_flag),A
977D LD A,(spell_chaos_law)
9780 LD HL,CH_LAW
9783 ADD A,(HL)
9784 LD (HL),A
9785 RET
Prev: 975F Up: Map Next: 9786