aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-09-21 09:00:58 -0500
committerGitHub <noreply@github.com>2020-09-21 09:00:58 -0500
commit174ef99e0e0caf5e8af2825d0034c9f7b72784f8 (patch)
tree821fac13547d5c70e38ccfd637359141da962345
parentrgbds has moved from rednex to gbdev (diff)
parentfix ExecuteCurMapScriptInTable's comment (diff)
downloadpokeyellow-174ef99e0e0caf5e8af2825d0034c9f7b72784f8.tar.gz
pokeyellow-174ef99e0e0caf5e8af2825d0034c9f7b72784f8.tar.xz
pokeyellow-174ef99e0e0caf5e8af2825d0034c9f7b72784f8.zip
Merge pull request #292 from Akatsuki-py/fix/ExecuteCurMapScriptInTable
fix ExecuteCurMapScriptInTable's comment
-rw-r--r--home/trainers.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/trainers.asm b/home/trainers.asm
index 4bb355b7..4dc63fef 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -6,8 +6,9 @@ StoreTrainerHeaderPointer::
ld [wTrainerHeaderPtr+1], a
ret
-; executes the current map script from the function pointer array provided in hl.
+; executes the current map script from the function pointer array provided in de.
; a: map script index to execute (unless overridden by [wd733] bit 4)
+; hl: trainer header pointer
ExecuteCurMapScriptInTable::
push af
push de