Prev: E3F5 Up: Map Next: E510
E4FB: Dispatch Looked-Up Handler
Used by the routine at CheckCharacterForRoomGraphics.
Jumps to the handler the caller looked up.
DispatchLookedUpHandler E4FB JP (HL) Jump to the handler address in HL.
Reached through the display record at E518, dispatched by DispatchLookedUpHandlerThird.
E4FC LD A,($A034) Call ScanObjects to scan objects.
E4FF CALL ScanObjects
E502 JP Z,ParseInputNumber_ReturnZero Go to ParseInputNumber_ReturnZero if no object carries this id.
E505 RET Return.
E506 DEFB $AD,$0D Display record read by ProcessDisplayRecord: flags AD value 0D (bit 7: the script resumes at E508).
E508 DEFB $C7,$18,$E5,$FD,$FC,$10,$E5 Refresh the room from the text at E518, using the low byte of the location, the high byte of the location and otherwise continue at StoreResultHighByte.
E50F DEFB $0A Run the nested character script.
Prev: E3F5 Up: Map Next: E510