summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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