![]() |
Data |
| Prev: 48579 | Up: Map | Next: 48845 |
|
Bird scripts that drive the bird laying an egg. 48952 starts here. Other readers enter at BirdScript_RiseLoop, BirdScript_IdleLoop, BirdScript_TurnLoop, BirdScript_Wander, BirdScript_BoundLoop and BirdScript_AltWander. 49000 pokes the wander loop count at 48795. Ends immediately before Update_Task_Two_Entities.
|
|||||
|
Start script published by Update_TaskTwo_StartEntity and 48952.
|
|||||
| Data_BirdScripts | 48749 | DEFB 2,193 | Graphic-layout pointer Data_TaskHelperLayouts. | ||
| 48751 | DEFW 33 | Script opcode 33 (start counted script loop). | |||
| 48753 | DEFB 9,0 | Loop count 9 (ScriptRoutine_StartScriptLoop reads only the low byte). | |||
| 48755 | DEFB 2,193 | Graphic-layout pointer Data_TaskHelperLayouts. | |||
| 48757 | DEFW 34 | Script opcode 34 (end script loop). | |||
| 48759 | DEFW 40 | Script opcode 40 (arm the bird script-active flags). | |||
|
Rise and vertical-walk loop entered from ScriptRoutine_TaskTwoRiseOnEvent_RunStartScript.
|
|||||
| BirdScript_RiseLoop | 48761 | DEFB 2,193 | Graphic-layout pointer Data_TaskHelperLayouts. | ||
| 48763 | DEFW 36 | Script opcode 36 (walk the bird vertically). | |||
| 48765 | DEFW 1 | Script opcode 1 (jump to script address). | |||
| 48767 | DEFW BirdScript_RiseLoop | Jump to script address BirdScript_RiseLoop. | |||
|
Idle and horizontal-walk loop entered from ScriptRoutine_TaskTwoWalkVertical_RunIdleScript and ScriptRoutine_TaskTwoWalkRight_RunIdleScript.
|
|||||
| BirdScript_IdleLoop | 48769 | DEFB 2,193 | Graphic-layout pointer Data_TaskHelperLayouts. | ||
| 48771 | DEFW 38 | Script opcode 38 (walk the bird horizontally). | |||
| 48773 | DEFW 1 | Script opcode 1 (jump to script address). | |||
| 48775 | DEFW BirdScript_IdleLoop | Jump to script address BirdScript_IdleLoop. | |||
|
Turn-around and walk-right loop entered from ScriptRoutine_TaskTwoWalkHorizontal_RunTurnScript.
|
|||||
| BirdScript_TurnLoop | 48777 | DEFB 2,193 | Graphic-layout pointer Data_TaskHelperLayouts. | ||
| 48779 | DEFW 37 | Script opcode 37 (walk the bird right). | |||
| 48781 | DEFW 1 | Script opcode 1 (jump to script address). | |||
| 48783 | DEFW BirdScript_TurnLoop | Jump to script address BirdScript_TurnLoop. | |||
| BirdScript_Wander | 48785 | DEFW 33 | Script opcode 33 (start counted script loop). | ||
| 48787 | DEFB 20,0 | Loop count 20 (ScriptRoutine_StartScriptLoop reads only the low byte). | |||
| 48789 | DEFB 47,193 | Graphic-layout pointer 49455. | |||
| 48791 | DEFW 34 | Script opcode 34 (end script loop). | |||
| 48793 | DEFW 33 | Script opcode 33 (start counted script loop). | |||
| 48795 | DEFB 18,0 | Loop count 18 (rewritten by 49000). ScriptRoutine_StartScriptLoop reads the low byte. | |||
| 48797 | DEFB 47,193 | Graphic-layout pointer 49455. | |||
| 48799 | DEFW 37 | Script opcode 37 (walk the bird right). | |||
| 48801 | DEFW 34 | Script opcode 34 (end script loop). | |||
| 48803 | DEFW 33 | Script opcode 33 (start counted script loop). | |||
| 48805 | DEFB 40,0 | Loop count 40 (ScriptRoutine_StartScriptLoop reads only the low byte). | |||
| 48807 | DEFB 25,193 | Graphic-layout pointer 49433. | |||
| 48809 | DEFW 34 | Script opcode 34 (end script loop). | |||
| 48811 | DEFW 33 | Script opcode 33 (start counted script loop). | |||
| 48813 | DEFB 10,0 | Loop count 10 (ScriptRoutine_StartScriptLoop reads only the low byte). | |||
| 48815 | DEFB 36,193 | Graphic-layout pointer 49444. | |||
| 48817 | DEFW 34 | Script opcode 34 (end script loop). | |||
| 48819 | DEFW 39 | Script opcode 39 (spawn or refresh the bird helper). | |||
| 48821 | DEFW 1 | Script opcode 1 (jump to script address). | |||
| 48823 | DEFW BirdScript_IdleLoop | Jump to script address BirdScript_IdleLoop. | |||
|
Bound and rise-on-event loop entered from 49075 and ScriptRoutine_TaskTwoWalkHorizontal_RunBoundScript.
|
|||||
| BirdScript_BoundLoop | 48825 | DEFB 2,193 | Graphic-layout pointer Data_TaskHelperLayouts. | ||
| 48827 | DEFW 41 | Script opcode 41 (raise the bird on its event bit). | |||
| 48829 | DEFW 1 | Script opcode 1 (jump to script address). | |||
| 48831 | DEFW BirdScript_BoundLoop | Jump to script address BirdScript_BoundLoop. | |||
|
Alternate wander script entered from Update_TaskTwo_AltScript.
|
|||||
| BirdScript_AltWander | 48833 | DEFW 33 | Script opcode 33 (start counted script loop). | ||
| 48835 | DEFB 16,0 | Loop count 16 (ScriptRoutine_StartScriptLoop reads only the low byte). | |||
| 48837 | DEFB 47,193 | Graphic-layout pointer 49455. | |||
| 48839 | DEFW 34 | Script opcode 34 (end script loop). | |||
| 48841 | DEFW 1 | Script opcode 1 (jump to script address). | |||
| 48843 | DEFW BirdScript_TurnLoop | Jump to script address BirdScript_TurnLoop. | |||
| Prev: 48579 | Up: Map | Next: 48845 |