P+ - Kirby - Subroutine - 0x4c5c0

  1. if (ChangeInAirGroundState)
    1. BoolVariableSetFalse { variable: LongtermAccessBool (0x70) }
    2. BoolVariableSetFalse { variable: LongtermAccessBool (0x77) }
    3. BoolVariableSetFalse { variable: LongtermAccessBool (0x46) }
    4. BoolVariableSetFalse { variable: LongtermAccessBool (0x47) }
    5. if ((LongtermAccessInt (0x48) Equal scalar(25)))
      1. IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }
  2. if ((LongtermAccessInt (0x48) Equal scalar(11)))
    1. if ((LongtermAccessFloat (0x13) Equal scalar(50)))
      1. IfStatementAnd (not(BoolIsTrue LongtermAccessBool (0x7b)))
      2. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(295)))
      3. BoolVariableSetTrue { variable: LongtermAccessBool (0x7b) }
      4. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 115, bone: 412, x_offset: 6.0, y_offset: 0.5, z_offset: 2.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 0.005, randomize: None, terminate_with_animation: false })
  3. if ((LongtermAccessInt (0x48) Equal scalar(20)))
    1. if (ChangeInAirGroundState)
      1. IntVariableSet { variable: LongtermAccessInt (0x79), value: 0 }
  4. if ((LongtermAccessInt (0x48) Equal scalar(-1)))
    1. IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }
    2. FloatVariableSet { variable: LongtermAccessFloat (0x3d), value: 0 }
    3. BoolVariableSetFalse { variable: LongtermAccessBool (0x78) }
    4. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(132), Bool(true), Bool(true)] }
    5. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(1769473), Bool(true), Bool(true)] }
    6. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(9830402), Bool(true), Bool(true)] }
    7. if (BoolIsTrue LongtermAccessBool (0x7b))
      1. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(115), Bool(true), Bool(true)] }
      2. BoolVariableSetFalse { variable: LongtermAccessBool (0x7b) }
  5. if ((LongtermAccessInt (0x48) Equal scalar(-1)))
    1. IfStatementAnd (not(ArticleExists value(5)))
    2. ModelChanger { reference: 1, switch_index: 2, bone_group_index: 0 }
  6. else
    1. ModelChanger { reference: 1, switch_index: 2, bone_group_index: -1 }
  7. SyncWait(1.0)
  8. Goto(0x4c5c0)