P+ - Sonic - Action - 0x11c
Entry Script
- if ((InternalConstantInt(PreviousAction) Equal scalar(280)))
- BoolVariableSetFalse { variable: LongtermAccessBool (0x70) }
- BoolVariableSetTrue { variable: LongtermAccessBool (0x3a) }
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (not(BoolIsTrue RandomAccessBool(EnableLandingLag))) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: LandingLight, requirement: (BoolIsTrue RandomAccessBool(EnableLandingLag)) }
- PreviousInterruptAddRequirement(OnGround)
- SetAirGround(0)
- Posture(3)
- Posture(4)
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24003 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- IntVariableIncrement { variable: RandomAccessInt(ThrowDataParam1) }
- CallEveryFrame { thread_id: 9, script: 0x1e9b0 }
- if (RollADie value(4))
- ChangeSubactionRestartFrame(SpecialNHit)
- else
- if (RollADie value(3))
- ChangeSubactionRestartFrame(SpecialNHit2)
- else
- if (RollADie value(2))
- ChangeSubactionRestartFrame(SpecialNHit3)
- else
- if (RollADie value(1))
- ChangeSubactionRestartFrame(SpecialNHit4)
Exit Script