P+ - Lucario - Action - 0x118
Entry Script
- if (ButtonPress value(0))
- IfStatementAnd ((LongtermAccessFloat (0x1b) GreaterThanOrEqual scalar(60)))
- IfStatementAnd (not(ButtonPress value(15)))
- Subroutine(0x24d08)
- SoundEffect1(2369)
- GenerateArticle { article_id: 0, subaction_only: true }
- UnknownEvent { namespace: 0x10, code: 0x7, unk1: 0x0, arguments: [Value(0), Value(1)] }
- CreateInterrupt { interrupt_id: None, action: 0x119, requirement: ((LongtermAccessInt(Temp2) GreaterThanOrEqual scalar(7))) }
- IntVariableSet { variable: LongtermAccessInt (0x45), value: 60 }
- IntVariableSet { variable: LongtermAccessInt (0x46), value: 60 }
- FloatVariableSubtract { variable: LongtermAccessFloat (0x1b), value: 60 }
- Subroutine(NONE Main 0x29b40)
- loop Infinite times:
- Subroutine(0x18fa8)
- if (OnGround)
- SetEdgeSlide(Unknown(2))
- SetAirGround(6)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetEdgeSlide(Airbourne)
- SetAirGround(10)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
- else
- if ((InternalConstantInt(CurrentAction) Equal scalar(274)))
- GenerateArticle { article_id: 0, subaction_only: true }
- UnknownEvent { namespace: 0x10, code: 0x7, unk1: 0x0, arguments: [Value(0), Value(1)] }
- BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
- IntVariableSet { variable: LongtermAccessInt (0x45), value: 466 }
- IntVariableSet { variable: LongtermAccessInt (0x46), value: 467 }
- Subroutine(0x1a950)
- CreateInterrupt { interrupt_id: None, action: 0x11e, requirement: (ShieldInputHeld) }
- CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonPress value(1)) }
- loop Infinite times:
- if (OnGround)
- Subroutine(0x190c8)
- Subroutine(0x18fa8)
- Subroutine(0x1a9a8)
- SetAirGround(6)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- Subroutine(0x19110)
- Subroutine(0x18fe8)
- Subroutine(0x1a9f0)
- SetAirGround(10)
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script
- Goto(0x117 Exit 0x118f0)