Skip to content

Commit

Permalink
Fix hardcoding of moveID in battle/sushie.c (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainchus authored Apr 19, 2024
1 parent c43d15e commit dcba4f1
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 dcba4f1

Please sign in to comment.