You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Macro update, roam mon annotations
Updated map and mapgroup macros to get around an rgbds bug. Legendary beast locale handling annotated and relabeled. Added a new constant NUM_ENGINE_FLAGS for use in the EngineFlagAction function. This will make it easier for modders to add or remove engine flags.
This commit is contained in:
@@ -31,6 +31,6 @@ const_value = const_value + 1
|
||||
ENDM
|
||||
|
||||
shift_const: MACRO
|
||||
\1 EQU 1 << const_value
|
||||
\1 EQU (1 << const_value)
|
||||
const_value = const_value + 1
|
||||
ENDM
|
||||
|
@@ -5,8 +5,8 @@ map: MACRO
|
||||
; db GROUP_\1, MAP_\1
|
||||
|
||||
\1\@ EQUS "GROUP_\1"
|
||||
\1\@2 EQUS "MAP_\1"
|
||||
db \1\@, \1\@2
|
||||
\1\@_2 EQUS "MAP_\1"
|
||||
db \1\@, \1\@_2
|
||||
ENDM
|
||||
|
||||
roam_map: MACRO
|
||||
@@ -165,9 +165,9 @@ ENDM
|
||||
mapgroup: MACRO
|
||||
; map id, height, width
|
||||
\1\@ EQUS "GROUP_\1"
|
||||
\1\@2 EQUS "MAP_\1"
|
||||
\1\@_2 EQUS "MAP_\1"
|
||||
\1\@ EQU const_value
|
||||
enum \1\@2
|
||||
enum \1\@_2
|
||||
\1_HEIGHT EQU \2
|
||||
\1_WIDTH EQU \3
|
||||
ENDM
|
||||
|
@@ -12,7 +12,7 @@ page EQUS "db $50," ; Start a new Pokedex page.
|
||||
dex EQUS "db $e8, $50" ; End a Pokedex entry.
|
||||
|
||||
|
||||
TX_RAM EQU 1
|
||||
TX_RAM EQU $01
|
||||
TX_FAR EQU $16
|
||||
|
||||
text_jump: MACRO
|
||||
|
Reference in New Issue
Block a user