aboutsummaryrefslogtreecommitdiffstats
path: root/vc/pokered.constants.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2024-12-27 12:10:13 -0600
committerGitHub <noreply@github.com>2024-12-27 13:10:13 -0500
commit0d4562d1b855bfa7965349e1a92deac0f5b89a27 (patch)
treedc3696bd493d990070788ee6afa84857eed0f7fd /vc/pokered.constants.asm
parentDon't pass redundant label names to `table_width` and `list_start` (#484) (diff)
downloadpokeyellow-0d4562d1b855bfa7965349e1a92deac0f5b89a27.tar.gz
pokeyellow-0d4562d1b855bfa7965349e1a92deac0f5b89a27.tar.xz
pokeyellow-0d4562d1b855bfa7965349e1a92deac0f5b89a27.zip
Use exported constants for VC patch (#483)
Diffstat (limited to 'vc/pokered.constants.asm')
-rw-r--r--vc/pokered.constants.asm80
1 files changed, 37 insertions, 43 deletions
diff --git a/vc/pokered.constants.asm b/vc/pokered.constants.asm
index 8ae18a13..aec40f11 100644
--- a/vc/pokered.constants.asm
+++ b/vc/pokered.constants.asm
@@ -1,72 +1,66 @@
; These are all the asm constants needed to make the red_vc patch.
-MACRO vc_const
- DEF x = \1
- PRINTLN "{02x:x} \1" ; same format as rgblink's .sym file
-ENDM
-
; [FPA 001 Begin]
- vc_const "M"
- vc_const "E"
- vc_const "G"
- vc_const "A"
- vc_const "P"
- vc_const "S"
- vc_const "L"
- vc_const "F"
- vc_const "D"
- vc_const "X"
- vc_const MEGA_PUNCH
+EXPORT DEF M_CHAR EQU "M"
+EXPORT DEF E_CHAR EQU "E"
+EXPORT DEF G_CHAR EQU "G"
+EXPORT DEF A_CHAR EQU "A"
+EXPORT DEF P_CHAR EQU "P"
+EXPORT DEF S_CHAR EQU "S"
+EXPORT DEF L_CHAR EQU "L"
+EXPORT DEF F_CHAR EQU "F"
+EXPORT DEF D_CHAR EQU "D"
+EXPORT DEF X_CHAR EQU "X"
+EXPORT MEGA_PUNCH
; [FPA 002 Begin]
- vc_const "U"
- vc_const "I"
- vc_const GUILLOTINE
+EXPORT DEF U_CHAR EQU "U"
+EXPORT DEF I_CHAR EQU "I"
+EXPORT GUILLOTINE
; [FPA 003 Begin]
- vc_const "K"
- vc_const MEGA_KICK
+EXPORT DEF K_CHAR EQU "K"
+EXPORT MEGA_KICK
; [FPA 004 Begin]
- vc_const "B"
- vc_const BUBBLEBEAM
+EXPORT DEF B_CHAR EQU "B"
+EXPORT BUBBLEBEAM
; [FPA 005 Begin]
- vc_const "H"
- vc_const "Y"
- vc_const HYPER_BEAM
+EXPORT DEF H_CHAR EQU "H"
+EXPORT DEF Y_CHAR EQU "Y"
+EXPORT HYPER_BEAM
; [FPA 006 Begin]
- vc_const "T"
- vc_const "N"
- vc_const THUNDERBOLT
+EXPORT DEF T_CHAR EQU "T"
+EXPORT DEF N_CHAR EQU "N"
+EXPORT THUNDERBOLT
; [FPA 007 Begin]
- vc_const "R"
- vc_const "F"
- vc_const REFLECT
+EXPORT DEF R_CHAR EQU "R"
+EXPORT REFLECT
; [FPA 008 Begin]
- vc_const DREAM_EATER
+EXPORT DREAM_EATER
; [FPA 008 End]
- vc_const "Z"
- vc_const BLIZZARD
+EXPORT DEF Z_CHAR EQU "Z"
+EXPORT BLIZZARD
; [FPA 009 Begin]
- vc_const "O"
- vc_const SPORE
+EXPORT DEF O_CHAR EQU "O"
+EXPORT SPORE
; [FPA 010 Begin]
- vc_const "C"
- vc_const ROCK_SLIDE
+EXPORT DEF C_CHAR EQU "C"
+EXPORT ROCK_SLIDE
; [FPA 010 End]
- vc_const SELFDESTRUCT
- vc_const EXPLOSION
+EXPORT SELFDESTRUCT
+EXPORT EXPLOSION
; [FPA conf Begin]
- vc_const CONFUSION
+EXPORT CONFUSION
; [FPA phy Begin]
- vc_const PSYCHIC_M
+EXPORT PSYCHIC_M