Skip to content

Commit

Permalink
remove hardcoding of 3 move IDs in battle/sushie.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainchus committed Apr 19, 2024
1 parent a92df7e commit 4f2220d
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 4f2220d

Please sign in to comment.