shithub: pokecrystal

Download patch

ref: 046d85f37a04b9e6206561b0892b5b6585416d1e
parent: 0d3308f68c27ab149b6cf878cc40f29e32010ff0
author: yenatch <[email protected]>
date: Thu Dec 19 19:48:27 EST 2013

finish off object gfx pointers and dont use BANK() for null pointers

fixes 2f5b9b96

definitely did this in the original commit...

--- a/battle/anim_objects.asm
+++ b/battle/anim_objects.asm
@@ -5040,6 +5040,7 @@
 AnimObjGFX: ; cfcf6
 
 object_gfx: MACRO
+; label, # tiles
 	db \2
 	db BANK(\1)
 	dw \1
@@ -5082,7 +5083,14 @@
 	object_gfx AnimObj34GFX, 48
 	object_gfx AnimObj35GFX, 18
 	object_gfx AnimObj36GFX, 38
-	object_gfx 0000, 1
-	object_gfx 0000, 1
+	object_gfx AnimObj37GFX, 35
+	object_gfx AnimObj38GFX, 18
+	object_gfx AnimObj39GFX, 24
+
+	; null pointers
+	db 1
+	dbw 0, 0
+	db 1
+	dbw 0, 0
 ; cfd9e