Prev: C70E Up: Map Next: CAA7
CA23: Data: Task Four Script
Task-four script words for ScriptInstruction. CADF loads this address into HL and CAE2 stores it in the active script cursor (Pointer_ActiveScriptCursor). CAC0 later copies that cursor to Pointer_TaskFourScriptPosition. ScriptRoutine_TaskFourAlignCreature enters at CA79. ScriptRoutine_TaskFourStepToward enters at CA9B.
Script entry loaded by CADF.
Data_TaskFourScript CA23 DEFW $CCBA Graphic-layout pointer CCBA.
CA25 DEFW $0021 Script opcode 21 (start counted script loop).
CA27 DEFB $06,$00 Loop count 06 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA29 DEFW $CCBA Graphic-layout pointer CCBA.
CA2B DEFW $0022 Script opcode 22 (end script loop).
CA2D DEFW $004E Script opcode 4E (arm the task-four script-active flags).
CA2F DEFW $0049 Script opcode 49 (raise the task-four creature).
CA31 DEFW $CCE6 Graphic-layout pointer CCE6.
CA33 DEFW $0049 Script opcode 49 (raise the task-four creature).
CA35 DEFW $004F Script opcode 4F (randomise the creature's extra state).
CA37 DEFW $0001 Script opcode 01 (jump to script address).
CA39 DEFW $CA43 Jump to script address CA43.
Script fragment reached from CA77.
CA3B DEFW $CCC8 Graphic-layout pointer CCC8.
CA3D DEFW $CCCE Graphic-layout pointer CCCE.
CA3F DEFW $CCD4 Graphic-layout pointer CCD4.
CA41 DEFW $CCDA Graphic-layout pointer CCDA.
Script fragment reached from CA39.
CA43 DEFW $0021 Script opcode 21 (start counted script loop).
CA45 DEFB $04,$00 Loop count 04 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA47 DEFW $CCE6 Graphic-layout pointer CCE6.
CA49 DEFW $0049 Script opcode 49 (raise the task-four creature).
CA4B DEFW $0022 Script opcode 22 (end script loop).
Script fragment reached from CA99.
CA4D DEFW $0021 Script opcode 21 (start counted script loop).
CA4F DEFB $05,$00 Loop count 05 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA51 DEFW Data_TaskFourResidue Graphic-layout pointer Data_TaskFourResidue.
CA53 DEFW $0022 Script opcode 22 (end script loop).
CA55 DEFW $004B Script opcode 4B (nudge the creature toward its target).
CA57 DEFW $0021 Script opcode 21 (start counted script loop).
CA59 DEFB $02,$00 Loop count 02 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA5B DEFW $CCE6 Graphic-layout pointer CCE6.
CA5D DEFW $004A Script opcode 4A (lower the task-four creature).
CA5F DEFW $0022 Script opcode 22 (end script loop).
CA61 DEFW $0048 Script opcode 48 (snap the creature onto its target).
CA63 DEFW $0021 Script opcode 21 (start counted script loop).
CA65 DEFB $02,$00 Loop count 02 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA67 DEFW $CCE6 Graphic-layout pointer CCE6.
CA69 DEFW $004A Script opcode 4A (lower the task-four creature).
CA6B DEFW $0022 Script opcode 22 (end script loop).
CA6D DEFW $004C Script opcode 4C (test Berk overlap with the creature).
CA6F DEFW $CCE0 Graphic-layout pointer CCE0.
CA71 DEFW $CCD4 Graphic-layout pointer CCD4.
CA73 DEFW $CCCE Graphic-layout pointer CCCE.
CA75 DEFW $0001 Script opcode 01 (jump to script address).
CA77 DEFW $CA3B Jump to script address CA3B.
Script entry loaded by ScriptRoutine_TaskFourAlignCreature.
CA79 DEFW $CCE6 Graphic-layout pointer CCE6.
CA7B DEFW $004A Script opcode 4A (lower the task-four creature).
CA7D DEFW $CCE0 Graphic-layout pointer CCE0.
CA7F DEFW $CCD4 Graphic-layout pointer CCD4.
CA81 DEFW $CCCE Graphic-layout pointer CCCE.
CA83 DEFW $CCC8 Graphic-layout pointer CCC8.
CA85 DEFW $004D Script opcode 4D (tick the offer-item timer).
CA87 DEFW $CCCE Graphic-layout pointer CCCE.
CA89 DEFW $CCD4 Graphic-layout pointer CCD4.
CA8B DEFW $CCDA Graphic-layout pointer CCDA.
CA8D DEFW $0021 Script opcode 21 (start counted script loop).
CA8F DEFB $03,$00 Loop count 03 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA91 DEFW $CCE6 Graphic-layout pointer CCE6.
CA93 DEFW $0049 Script opcode 49 (raise the task-four creature).
CA95 DEFW $0022 Script opcode 22 (end script loop).
CA97 DEFW $0001 Script opcode 01 (jump to script address).
CA99 DEFW $CA4D Jump to script address CA4D.
Script entry loaded by ScriptRoutine_TaskFourStepToward.
CA9B DEFW $0021 Script opcode 21 (start counted script loop).
CA9D DEFB $06,$00 Loop count 06 (ScriptRoutine_StartScriptLoop reads only the low byte).
CA9F DEFW $CCE6 Graphic-layout pointer CCE6.
CAA1 DEFW $004A Script opcode 4A (lower the task-four creature).
CAA3 DEFW $0022 Script opcode 22 (end script loop).
CAA5 DEFW $0050 Script opcode 50 (clear the task-four script flags).
Prev: C70E Up: Map Next: CAA7