mirror of https://github.com/pret/pokeemerald.git
bad copy and paste
parent
c29cb285b4
commit
8540693d21
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue