Prev: 61296 Up: Map Next: 61314
61303: Script: Jump If Carrying
If bit 4 of flags byte 3 is set, jump to the script address that follows; otherwise skip it.
Input
IX Address of complex state data for an entity
ScriptRoutine_JumpIfCarrying 61303 INC HL Advance HL past the current script instruction.
61304 INC HL
61305 BIT 4,(IX+3) Is bit 4 of flags byte 3 (IX+3) set? If so, jump to ScriptRoutine_JumpToAddress_FetchAddress.
61309 JR NZ,ScriptRoutine_JumpToAddress_FetchAddress
61311 JP AdvanceScriptInstruction Jump to AdvanceScriptInstruction to run the next script instruction.
Prev: 61296 Up: Map Next: 61314