Routines |
Prev: F4B8 | Up: Map | Next: F4E6 |
Used by the routine at Handler_Eating.
|
||||
Handler_EatFood | F4D1 | LD A,($DF45) | A=*Temp_MonsterID. | |
F4D4 | CALL SetIYMonsterData | Call SetIYMonsterData. | ||
Add 08 to the monsters energy level.
|
||||
F4D7 | LD A,$08 | A=08. | ||
F4D9 | CALL Handler_IncreaseEnergy | Call Handler_IncreaseEnergy. | ||
This entry point is used by the routine at F450.
|
||||
Handler_EatFood_SetState | F4DC | LD (IY+$00),$1A | Write "eating" (1A) to monster state (*IY+00). | |
F4E0 | LD (IY+$07),$04 | Write 04 to *IY+07. | ||
F4E4 | JR $F472 | Jump to F472. |
Prev: F4B8 | Up: Map | Next: F4E6 |