![]() |
Routines |
| Prev: F20B | Up: Map | Next: F231 |
|
Empty the bottle that is held.
|
||||
| Use_Bottle | F211 | LD HL,$E52F | HL=Data_ItemGroup_Bottle. | |
| F214 | CALL CheckActiveScenicEvents | Call CheckActiveScenicEvents. | ||
| F217 | CALL IsPlayerCarryingItem | Call IsPlayerCarryingItem. | ||
| F21A | LD A,E | Copy E into A. | ||
| F21B | CP $37 | Jump to Response_ItIsEmptyAlready if A is 37. | ||
| F21D | JP Z,Response_ItIsEmptyAlready | |||
| F220 | CP $3B | Jump to Response_DontBeRidiculous if A is 3B. | ||
| F222 | JP Z,Response_DontBeRidiculous | |||
| F225 | LD B,A | Copy A into B. | ||
| F226 | LD C,$37 | C=37. | ||
| F228 | CALL TransformItem | Call TransformItem. | ||
|
Print "You pour the liquid away.
The bottle is now empty.".
|
||||
| F22B | LD HL,$E229 | HL=Messaging_YouPourTheLiquidAway. | ||
| F22E | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: F20B | Up: Map | Next: F231 |