Prev: DBB4 Up: Map Next: DBE5
DBD9: Routine at DBD9
Used by the routine at Human_Shooter.
Input
A Monster ID
Output
A Monster state
B Monster number
DE Pointer to Monster X Position
DBD9 LD B,A Stash the monster ID temporarily.
DBDA XOR A Write 00 to *D214.
DBDB LD ($D214),A
DBDE LD A,B Restore the monster ID back to A.
DBDF CALL GetCharacter Call GetCharacter.
DBE2 JP CheckIfMonsterIsAlive Jump to CheckIfMonsterIsAlive.
Prev: DBB4 Up: Map Next: DBE5