Fix hardcoding of moveID in battle/sushie.c (#1183)

This commit is contained in:
Rainchus 2024-04-19 01:22:24 -05:00 committed by GitHub
parent c43d15e8cf
commit dcba4f1883
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -818,7 +818,7 @@ EvtScript N(bellyFlop) = {
Else
Call(GetMenuSelection, LVar0, LVar1, LVar2)
Switch(LVar2)
CaseEq(167)
CaseEq(MOVE_BELLY_FLOP1)
Wait(13)
Call(SetActorScale, ACTOR_PARTNER, Float(1.0), Float(1.0), Float(1.0))
Wait(1)
@ -829,7 +829,7 @@ EvtScript N(bellyFlop) = {
Call(SetActorScale, ACTOR_PARTNER, Float(1.0), Float(1.0), Float(1.0))
Wait(1)
Call(SetActorScale, ACTOR_PARTNER, Float(1.0), Float(1.0), Float(1.0))
CaseEq(168)
CaseEq(MOVE_BELLY_FLOP2)
Wait(13)
Call(SetActorScale, ACTOR_PARTNER, Float(1.05), Float(1.05), Float(1.0))
Wait(1)
@ -840,7 +840,7 @@ EvtScript N(bellyFlop) = {
Call(SetActorScale, ACTOR_PARTNER, Float(1.2), Float(1.2), Float(1.0))
Wait(1)
Call(SetActorScale, ACTOR_PARTNER, Float(1.25), Float(1.25), Float(1.0))
CaseEq(169)
CaseEq(MOVE_BELLY_FLOP3)
Wait(13)
Call(SetActorScale, ACTOR_PARTNER, Float(1.1), Float(1.1), Float(1.0))
Wait(1)