P+ - Mario - Action - 0x115 SpecialLw
Entry Script
- CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10002), action: Fall, requirement: (AnimationEnd) }
- BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
- CallEveryFrame { thread_id: 9, script: 0x10d40 }
- loop Infinite times:
- if (OnGround)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialLw)
- else
- ChangeSubactionRestartFrame(SpecialLw)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10000)
- DisableInterrupt(10002)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
- else
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirLw)
- else
- ChangeSubactionRestartFrame(SpecialAirLw)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10002)
- DisableInterrupt(10000)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(1), Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script