shithub: pokecrystal

Download patch

ref: f3b407e04e505b39340a44482a5bef84d9556095
parent: 739bac75b791edb6447b2f5d2747825e76ce2ab8
author: Scott Norton <[email protected]>
date: Mon Jun 8 19:52:51 EDT 2015

Fix macro changemap

Syntax is now `changemap MapBlockDataBank, MapBlockDataPointer`

--- a/macros/event.asm
+++ b/macros/event.asm
@@ -765,7 +765,8 @@
 	enum changemap_command
 changemap: macro
 	db changemap_command
-	dw \1 ; map_data_pointer
+	db \1 ; map_bank
+	dw \2 ; map_data_pointer
 	endm
 
 	enum changeblock_command