bad copy and paste

DavidJCobb 2023-11-16 02:21:05 +01:00
parent c29cb285b4
commit 8540693d21
1 changed files with 1 additions and 1 deletions

@ -156,7 +156,7 @@ Here's the clever devilry: `getexp` doesn't increase `gBattlescriptCurrInstr` wh
1. We run the same `getexp` instruction again.
1. `Cmd_getexp` sees that `gBattleScripting.getexpState` is now 4, so it runs the fifth batch.
1. `Cmd_getexp` finishes running and increases `gBattleScripting.getexpState` to 5 on its way out.
1. The battle script engine wants to run the "next" (haha) command.
1. The battle script engine wants to run the "next" command.
1. We run the same `getexp` instruction again.
1. `Cmd_getexp` sees that `gBattleScripting.getexpState` is now 5, so it runs the ***last*** batch... and as part of *that batch*, it finally increases `gBattlescriptCurrInstr`.
1. `Cmd_getexp` finishes running. We're finally free.