8BF5: Room : Call all of the room events.
Room_Events |
8BF5 |
LD HL,(CurrentRoom_Type) |
|
8BF8 |
LD H,$00 |
|
8BFA |
ADD HL,HL |
|
8BFB |
LD DE,Room_TypeJumpVector |
|
8BFE |
ADD HL,DE |
|
8BFF |
LD E,(HL) |
|
8C00 |
INC HL |
|
8C01 |
LD H,(HL) |
|
8C02 |
LD L,E |
|
8C03 |
CALL JP_HL |
|
8C06 |
LD IX,LinkList_Bg_Ptr |
Room_Events_0 |
8C0A |
LD L,(IX+$00) |
|
8C0D |
LD H,(IX+$01) |
|
8C10 |
LD A,L |
|
8C11 |
OR H |
|
8C12 |
RET Z |
|
8C13 |
PUSH HL |
|
8C14 |
EX (SP),IX |
|
8C16 |
LD A,(IX+$02) |
|
8C19 |
AND A |
|
8C1A |
JR NZ,Room_Events_1 |
|
8C1C |
CALL List_RemoveLink |
|
8C1F |
JR Room_Events_0 |
Room_Events_1 |
8C21 |
LD L,(IX+$03) |
|
8C24 |
LD H,(IX+$04) |
|
8C27 |
CALL JP_HL |
|
8C2A |
POP HL |
|
8C2B |
JR Room_Events_0 |