shithub: pokecrystal

Download patch

ref: 82ebad99de7e34fb1bd977e3621ad88a48052b51
parent: aa62a4b88d956af1034bd07d94a4a703269b59b1
author: yenatch <[email protected]>
date: Thu Jul 4 00:11:28 EDT 2013

MapObjects and ScriptRunning

--- a/wram.asm
+++ b/wram.asm
@@ -1526,8 +1526,10 @@
 OTPartyMon6Nickname: ; d421
 	ds 11
 
-SECTION "Scripting",BSS[$d439]
+SECTION "Scripting",BSS[$d438]
 
+ScriptRunning: ; d438
+	ds 1
 ScriptBank: ; d439
 	ds 1
 ScriptPos: ; d43a
@@ -1628,6 +1630,16 @@
 	ds 1
 PlayerSpriteY: ; d4ee
 	ds 1
+
+
+SECTION "Objects",BSS[$d71e]
+MapObjects: ; d71e
+
+PLAYER_OBJECT EQU 0
+
+NUM_OBJECTS   EQU $10
+OBJECT_LENGTH EQU $10
+	ds OBJECT_LENGTH * NUM_OBJECTS
 
 
 SECTION "Status",BSS[$d841]