From 8540693d214aa37493e962bc93f884f12774f71d Mon Sep 17 00:00:00 2001 From: DavidJCobb <831497+DavidJCobb@users.noreply.github.com> Date: Thu, 16 Nov 2023 02:21:05 +0100 Subject: [PATCH] bad copy and paste --- Implementing-Catch-EXP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Implementing-Catch-EXP.md b/Implementing-Catch-EXP.md index 16bdd80..8062a9f 100644 --- a/Implementing-Catch-EXP.md +++ b/Implementing-Catch-EXP.md @@ -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.