shithub: pokered

Download patch

ref: 3904b5aba5accc6bab47363b2f9e9996212c3ed6
parent: 5dc5feb29cac502907452e6d7503c2fae233c349
author: yenatch <yenatch@gmail.com>
date: Wed Dec 4 20:37:44 EST 2013

clean up remaining constants

--- a/constants.asm
+++ b/constants.asm
@@ -24,16 +24,16 @@
 
 ; hardware registers, from the pandocs http://nocash.emubase.de/pandocs.htm
 rJOYP EQU $FF00
-rDIV EQU $FF04
+rDIV  EQU $FF04
 rLCDC EQU $FF40
-rSCY EQU $FF42
-rSCX EQU $FF43
-rBGP EQU $FF47
+rSCY  EQU $FF42
+rSCX  EQU $FF43
+rBGP  EQU $FF47
 rOBP0 EQU $FF48
 rOBP1 EQU $FF49
-rWY EQU $FF4A
-rWX EQU $FF4B
-rIE EQU $FFFF
+rWY   EQU $FF4A
+rWX   EQU $FF4B
+rIE   EQU $FFFF
 
 BTN_A      EQU %00000001
 BTN_B      EQU %00000010
@@ -73,54 +73,54 @@
 INCLUDE "constants/map_dimensions.asm"
 
 ; Evolution types
-EV_LEVEL	EQU 1
-EV_ITEM 	EQU 2
-EV_TRADE	EQU 3
+EV_LEVEL EQU 1
+EV_ITEM  EQU 2
+EV_TRADE EQU 3
 
 ; Elemental types
-NORMAL EQU $00
+NORMAL   EQU $00
 FIGHTING EQU $01
-FLYING EQU $02
-POISON EQU $03
-GROUND EQU $04
-ROCK EQU $05
-BUG EQU $07
-GHOST EQU $08
-FIRE EQU $14
-WATER EQU $15
-GRASS EQU $16
+FLYING   EQU $02
+POISON   EQU $03
+GROUND   EQU $04
+ROCK     EQU $05
+BUG      EQU $07
+GHOST    EQU $08
+FIRE     EQU $14
+WATER    EQU $15
+GRASS    EQU $16
 ELECTRIC EQU $17
-PSYCHIC EQU $18
-ICE EQU $19
-DRAGON EQU $1A
+PSYCHIC  EQU $18
+ICE      EQU $19
+DRAGON   EQU $1A
 
-EAST EQU 1
-WEST EQU 2
+EAST  EQU 1
+WEST  EQU 2
 SOUTH EQU 4
 NORTH EQU 8
 
 ; different kinds of people events
-ITEM EQU $80
+ITEM    EQU $80
 TRAINER EQU $40
 
 ; status ailments (masks)
-SLP     EQU %00000111
-PSN     EQU %00001000
-BRN     EQU %00010000
-FRZ     EQU %00100000
-PAR     EQU %01000000
+SLP EQU %00000111
+PSN EQU %00001000
+BRN EQU %00010000
+FRZ EQU %00100000
+PAR EQU %01000000
 
 ; pokemon's overworld sprites
-SPRITE_MON			EQU $0
-SPRITE_BALL_M		EQU $1
-SPRITE_HELIX		EQU $2
-SPRITE_FAIRY		EQU $3
-SPRITE_BIRD_M		EQU $4
-SPRITE_WATER		EQU $5
-SPRITE_BUG			EQU $6
-SPRITE_GRASS		EQU $7
-SPRITE_SNAKE		EQU $8
-SPRITE_QUADRUPED 	EQU $9
+SPRITE_MON       EQU $0
+SPRITE_BALL_M    EQU $1
+SPRITE_HELIX     EQU $2
+SPRITE_FAIRY     EQU $3
+SPRITE_BIRD_M    EQU $4
+SPRITE_WATER     EQU $5
+SPRITE_BUG       EQU $6
+SPRITE_GRASS     EQU $7
+SPRITE_SNAKE     EQU $8
+SPRITE_QUADRUPED EQU $9
 
 ; overworld sprites
 SPRITE_RED                       EQU $01