PM3.02 - Squirtle - Action - 0xaf ItemScrew
Entry Script (Common)
- ControllerUnk01
- ControllerUnk02
- ItemVisibility(false)
- CreateInterrupt { interrupt_id: None, action: ItemScrewFall, requirement: (AnimationEnd) }
- CreateInterrupt { interrupt_id: Some(10027), action: LandingLight, requirement: (OnGround) }
- PreviousInterruptAddRequirement((LongtermAccessInt(FallTime) LessThan InternalConstantInt(TermVelFrameTimer)))
- PreviousInterruptAddRequirement((InternalConstantInt (0x3ea) LessThan InternalConstantInt (0xbc8)))
- CreateInterrupt { interrupt_id: Some(10026), action: LandingHeavy, requirement: (OnGround) }
- PreviousInterruptAddRequirement((InternalConstantInt (0x3ea) LessThan InternalConstantInt (0xbc8)))
- Subroutine(0x21c50)
- DisableInterruptGroup(AirLanding)
- IntVariableIncrement { variable: LongtermAccessInt (0x3b) }
- SoundEffect1(8041)
- if (BoolIsTrue LongtermAccessBool(HasScrewAttack))
- SoundEffect1(8107)
- ChangeSubactionRestartFrame(ItemScrew)
Exit Script (Common)