PM3.02 - Peach - Action - 0x11e
Entry Script
- BoolVariableSetTrue { variable: LongtermAccessBool (0x3e) }
- BoolVariableSetTrue { variable: RandomAccessInt (0x4d) }
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 24002 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
- CallEveryFrame { thread_id: 9, script: 0x22344 }
- CreateInterrupt { interrupt_id: Some(10028), action: LandingHeavy, requirement: (OnGround) }
- PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(EnableLandingLag))
- EnableInterruptGroup(AirLanding)
- EnableInterruptGroup(AirSpecial)
- CreateInterrupt { interrupt_id: Some(10148), action: Fall, requirement: (ButtonNotPressed value(2)) }
- PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc42)))
- CreateInterrupt { interrupt_id: Some(10149), action: Fall, requirement: ((RandomAccessInt(ThrowDataParam1) LessThanOrEqual scalar(0))) }
- CreateInterrupt { interrupt_id: Some(10146), action: ThrowItem, requirement: (ButtonPress value(1)) }
- PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxisReverse) GreaterThanOrEqual InternalConstantInt (0xc72)))
- PreviousInterruptAddRequirement((InternalConstantInt(HeldItem) Equal scalar(86)))
- loop Infinite times:
- if (ButtonPress value(0))
- IfStatementAnd (not(Unknown(54) value(24)))
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
- IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
- ChangeSubactionRestartFrame(AttackAirN)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(14)] }
- else
- if (StickDirectionPressed)
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
- ChangeSubactionRestartFrame(AttackAirF)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(15)] }
- else
- ChangeSubactionRestartFrame(AttackAirB)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(16)] }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(0)))
- ChangeSubactionRestartFrame(AttackAirHi)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(17)] }
- else
- ChangeSubactionRestartFrame(AttackAirLw)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(2), Value(18)] }
- DisableInterruptGroup(AirSpecial)
- DisableInterrupt(10146)
- DisableInterrupt(10148)
- DisableInterrupt(10149)
- EnableInterrupt(10028)
- UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(22), Requirement { flip: false, ty: AnimationEnd }] }
- else
- if (BoolIsTrue RandomAccessInt (0x4d))
- EnableInterruptGroup(AirSpecial)
- EnableInterrupt(10146)
- ChangeSubactionRestartFrame(Fuwafuwa)
- UnknownEvent { namespace: 0xc, code: 0x1c, unk1: 0x0, arguments: [Value(0), Value(0)] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: ButtonPress }, Value(0)] }
- EnableInterrupt(10148)
- EnableInterrupt(10149)
- DisableInterrupt(10028)
- else
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- CreateInterrupt { interrupt_id: None, action: LandingHeavy, requirement: (OnGround) }
- LoopRest
Exit Script
- UnknownEvent { namespace: 0x0, code: 0x10, unk1: 0x0, arguments: [Value(10000), Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20001 })] }
- Case(24)
- UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 20000 }), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- EndSwitch