Prev: EA0A Up: Map Next: EA60
EA37: Reset Wally's stats for a new room.
Input
Output
Wally_Reset EA37 XOR A
EA38 LD (Wally_Frame),A
EA3B LD ($F188),A
EA3E LD (Wally_HeadTurned),A
EA41 LD (Wally_Falling),A
EA44 LD (Wally_Dir),A
EA47 LD (Wally_JumpDir),A
EA4A DEC A
EA4B LD (Wall_LastDir),A
EA4E LD A,(Wally_X)
EA51 CP $78
EA53 JR NC,Wally_Reset_0
EA55 LD A,$10
EA57 LD (Wally_Frame),A
EA5A LD A,$01
EA5C LD (Wall_LastDir),A
Wally_Reset_0 EA5F RET
Prev: EA0A Up: Map Next: EA60