summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkatsuki-py <bluejapan73+dev@gmail.com>2020-09-19 09:08:01 +0900
committerAkatsuki-py <bluejapan73+dev@gmail.com>2020-09-19 09:08:01 +0900
commit5ec206d0c537e04f0b277d06ff3eea075bd11c27 (patch)
tree821fac13547d5c70e38ccfd637359141da962345
parent8d32c456781bbafc619e6ee0205842140454250d (diff)
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