shithub: pokered

Download patch

ref: 174ef99e0e0caf5e8af2825d0034c9f7b72784f8
parent: 8d32c456781bbafc619e6ee0205842140454250d
parent: 5ec206d0c537e04f0b277d06ff3eea075bd11c27
author: Daniel Harding <33dannye@gmail.com>
date: Mon Sep 21 05:00:58 EDT 2020

Merge pull request #292 from Akatsuki-py/fix/ExecuteCurMapScriptInTable

fix ExecuteCurMapScriptInTable's comment

--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -6,8 +6,9 @@
 	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