PM3.6 - Mario - Action - 0x117
Entry Script
- CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonPress value(1)) }
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement(ButtonPress value(3))
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement(ButtonPress value(3))
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (OnGround) }
- PreviousInterruptAddRequirement((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- CreateInterrupt { interrupt_id: None, action: EscapeF, requirement: ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: EscapeB, requirement: ((InternalConstantInt(ControlStickXAxisRelativeReverse) GreaterThanOrEqual InternalConstantInt (0xc4d))) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x5209) LessThan InternalConstantInt (0x59fe)))
- PreviousInterruptAddRequirement(OnGround)
- UnknownEvent { namespace: 0x10, code: 0x4, unk1: 0x0, arguments: [Value(2), Value(1), Bool(false)] }
- CallEveryFrame { thread_id: 9, script: 0x185f0 }
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirLw)
- else
- ChangeSubactionRestartFrame(SpecialAirLw)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10146)
- DisableInterrupt(10147)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(NONE_21)
- else
- ChangeSubactionRestartFrame(NONE_21)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- EnableInterrupt(10147)
- DisableInterrupt(10146)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(1), Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- if ((InternalConstantInt(CurrentAction) NotEqual scalar(280)))
- UnknownEvent { namespace: 0x10, code: 0x7, unk1: 0x0, arguments: [Value(2), Value(0)] }
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24002 }), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 65 })] }
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20001 })] }
- Case(0)
- Case(14)
- if ((LongtermAccessInt(Temp1) GreaterThanOrEqual InternalConstantInt (0x5dc0)))
- UnknownEvent { namespace: 0x11, code: 0x1e, unk1: 0x0, arguments: [Value(26)] }
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- Case(280)
- UnknownEvent { namespace: 0x11, code: 0x1f, unk1: 0x0, arguments: [Value(26)] }
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- Case(31)
- Case(32)
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- UnknownEvent { namespace: 0x0, code: 0x12, unk1: 0x0, arguments: [] }
- IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }
- UnknownEvent { namespace: 0x0, code: 0x18, unk1: 0x0, arguments: [] }
- EndSwitch