![]() |
Routines |
| Prev: EDF5 | Up: Map | Next: EE0F |
|
Take the potion that is here, or ask the player to be more specific.
|
||||
| Take_Potion | EDFA | LD HL,$E5AA | HL=Data_ItemGroup_Potion. | |
| EDFD | CALL FindActiveScenicEvent | Call FindActiveScenicEvent. | ||
| EE00 | CP $02 | Jump to Response_PleaseBeMoreSpecific if more than one potion is present. | ||
| EE02 | JP NC,Response_PleaseBeMoreSpecific | |||
| EE05 | LD HL,$E5AA | HL=Data_ItemGroup_Potion. | ||
| EE08 | CALL CheckActiveScenicEvents | Call CheckActiveScenicEvents. | ||
| EE0B | CP $6A | Jump to Take_BlackPotion if the potion is "A black potion.". | ||
| EE0D | JR Z,Take_BlackPotion | |||
|
Continue on to Take_WhitePotion.
|
||||
| Prev: EDF5 | Up: Map | Next: EE0F |