P+ - Roy - Action - 0xca

Entry Script (Common)

  1. UnknownEvent { namespace: 0x14, code: 0x5, unk1: 0x0, arguments: [Bool(false)] }
  2. CreateInterrupt { interrupt_id: None, action: 0xcb, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
  3. SoundEffect1(195)
  4. UnknownEvent { namespace: 0x17, code: 0x5, unk1: 0x0, arguments: [] }
  5. CallEveryFrame { thread_id: 9, script: 0x1d1c4 }
  6. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(StayOn)
      3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(67)
      2. SetEdgeSlide(Airbourne)
      3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
      4. UnknownEvent { namespace: 0x4, code: 0x3, unk1: 0x0, arguments: [Requirement { flip: false, ty: Comparison }, Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Value(4), Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
    3. LoopRest

Exit Script (Common)