P+ - Sonic - Action - 0x112 SpecialN
Entry Script
- BoolVariableSetTrue { variable: LongtermAccessBool (0x70) }
- if (OnGround)
- ChangeSubactionRestartFrame(SpecialNStart)
- else
- ChangeSubactionRestartFrame(SpecialAirNStart)
- Subroutine(0x2ca84)
- BoolVariableSetTrue { variable: LongtermAccessBool (0x3a) }
- CallEveryFrame { thread_id: 9, script: 0x1e280 }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: AnimationEnd }] }
- LoopRest
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((RandomAccessInt(ThrowDataParam1) GreaterThan scalar(25))) }
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((RandomAccessInt(ThrowDataParam1) GreaterThanOrEqual scalar(5))) }
- PreviousInterruptAddRequirement((RandomAccessInt(ThrowDataParam1) LessThan scalar(23)))
- PreviousInterruptAddRequirement(ButtonHeld value(0))
- CreateInterrupt { interrupt_id: None, action: 0x117, requirement: ((RandomAccessInt(ThrowDataParam1) GreaterThan scalar(22))) }
- PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubactionRestartFrame(SpecialNSpin)
Exit Script
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20001 })] }
- Case(279)
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- UnknownEvent { namespace: 0x0, code: 0x12, unk1: 0x0, arguments: [] }
- ModelChanger { reference: 0, switch_index: 1, bone_group_index: 0 }
- EndSwitch