![]()  | 
Routines | 
| Prev: C3FA | Up: Map | Next: C412 | 
| 
 
Used by the routines at Event_Crocodile, ChangeRoom, Action_Help, Action_Examine, Action_Take, Action_DropThrow, Action_Kill, Action_Eat, Action_Drink, Action_Open and Action_Close.
 
 
  | 
||||||||||||||
| CheckActiveScenicEvents | C401 | JR ActiveScenicEvents_CheckNext | Jump to ActiveScenicEvents_CheckNext. | |||||||||||
| ActiveScenicEvents_Loop | C403 | INC HL | Move to the next event ID. | |||||||||||
| ActiveScenicEvents_CheckNext | C404 | LD A,(HL) | Jump to NoActiveScenicEvents if *HL is equal to FF. | |||||||||||
| C405 | CP $FF | |||||||||||||
| C407 | JR Z,NoActiveScenicEvents | |||||||||||||
| C409 | CALL ValidateItemPresent | Call ValidateItemPresent. | ||||||||||||
| C40C | JR NZ,ActiveScenicEvents_Loop | Jump to ActiveScenicEvents_Loop if the Z flag is not set. | ||||||||||||
| C40E | LD A,(HL) | A=*HL. | ||||||||||||
| C40F | RET | Return. | ||||||||||||
| NoActiveScenicEvents | C410 | AND A | Set Z flag. | |||||||||||
| C411 | RET | Return. | ||||||||||||
| Prev: C3FA | Up: Map | Next: C412 |