LXP2.1 - MetalSonic - Subroutine - 0x2a62c
- loop Infinite times:
- if ((LongtermAccessFloat (0x5e) GreaterThanOrEqual scalar(25)))
- FlashEffectOverlay { red: 240, green: 8, blue: 8, alpha: 240 }
- FloatVariableSet { variable: LongtermAccessFloat (0x59), value: 3 }
- SoundEffect1(121)
- SyncWait(3.0)
- else
- if ((LongtermAccessFloat (0x5e) GreaterThanOrEqual scalar(20)))
- FlashEffectOverlay { red: 240, green: 8, blue: 8, alpha: 160 }
- FloatVariableSet { variable: LongtermAccessFloat (0x59), value: 4 }
- SyncWait(4.0)
- else
- if ((LongtermAccessFloat (0x5e) GreaterThanOrEqual scalar(15)))
- FlashEffectOverlay { red: 240, green: 8, blue: 8, alpha: 128 }
- FloatVariableSet { variable: LongtermAccessFloat (0x59), value: 6 }
- SyncWait(6.0)
- else
- FlashEffectOverlay { red: 240, green: 8, blue: 8, alpha: 96 }
- FloatVariableSet { variable: LongtermAccessFloat (0x59), value: 7 }
- SyncWait(7.0)
- RemoveFlashEffect
- SoundEffect1(204)
- Rumble { unk1: 16, unk2: 0 }
- SyncWait(2.0)