shithub: pokecrystal

Download patch

ref: 3df4c5ffa81d8c31afceb8112e7c30716b0d0949
parent: 4d93741a54172754aa7ac4d0162343bc0121849d
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Fri Jan 26 19:17:25 EST 2018

Group related constants together

--- a/constants/map_object_constants.asm
+++ b/constants/map_object_constants.asm
@@ -37,9 +37,6 @@
 OBJECT_STRUCT_LENGTH EQU 40
 NUM_OBJECT_STRUCTS EQU 13 ; see ObjectStructs
 
-MAPOBJECT_SCREEN_HEIGHT EQU 11
-MAPOBJECT_SCREEN_WIDTH EQU 12
-
 ; object_struct OBJECT_FACING values
 OW_DOWN  EQU DOWN  << 2
 OW_UP    EQU UP    << 2
@@ -77,6 +74,10 @@
 	const MAPOBJECT_E ; unused
 	const MAPOBJECT_F ; unused
 OBJECT_LENGTH EQU const_value
+
+MAPOBJECT_SCREEN_HEIGHT EQU 11
+MAPOBJECT_SCREEN_WIDTH EQU 12
+
 
 ; SpriteMovementData indexes (see data/sprites/map_objects.asm)
 	const_def