Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 12 commits into from
Apr 19, 2024
6 changes: 3 additions & 3 deletions src/battle/partner/sushie.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down
Loading