Prev: EF70 Up: Map Next: EF82
EF77: Script: Jump If Carrying
If bit 04 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 EF77 INC HL Advance HL past the current script instruction.
EF78 INC HL
EF79 BIT 4,(IX+$03) Is bit 04 of flags byte 3 (IX+03) set? If so, jump to ScriptRoutine_JumpToAddress_FetchAddress.
EF7D JR NZ,ScriptRoutine_JumpToAddress_FetchAddress
EF7F JP AdvanceScriptInstruction Jump to AdvanceScriptInstruction to run the next script instruction.
Prev: EF70 Up: Map Next: EF82