mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Cry headers and map headers were eliminated
This commit is contained in:
parent
7c0553b2d2
commit
fdda670f40
@ -4,7 +4,7 @@ GROUP_NONE EQU 0
|
|||||||
MAP_NONE EQU 0
|
MAP_NONE EQU 0
|
||||||
|
|
||||||
|
|
||||||
; map header struct members (see data/maps/definitions.asm)
|
; map_def struct members (see data/maps/definitions.asm)
|
||||||
const_def
|
const_def
|
||||||
const MAPDEF_MAPDATA_BANK ; 0
|
const MAPDEF_MAPDATA_BANK ; 0
|
||||||
const MAPDEF_TILESET ; 1
|
const MAPDEF_TILESET ; 1
|
||||||
|
@ -15,7 +15,7 @@ map_def: MACRO
|
|||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
MapGroupPointers::
|
MapGroupPointers::
|
||||||
; pointers to the first map header of each map group
|
; pointers to the first map_def of each map group
|
||||||
dw MapGroup_Olivine ; 1
|
dw MapGroup_Olivine ; 1
|
||||||
dw MapGroup_Mahogany ; 2
|
dw MapGroup_Mahogany ; 2
|
||||||
dw MapGroup_Dungeons ; 3
|
dw MapGroup_Dungeons ; 3
|
||||||
|
@ -142,7 +142,7 @@ PlayMusic2:: ; 3bbc
|
|||||||
|
|
||||||
|
|
||||||
PlayCry:: ; 3be3
|
PlayCry:: ; 3be3
|
||||||
; Play cry header de.
|
; Play cry de.
|
||||||
|
|
||||||
push hl
|
push hl
|
||||||
push de
|
push de
|
||||||
|
@ -55,7 +55,7 @@ _PlayMonCry:: ; 37e2
|
|||||||
; 37f3
|
; 37f3
|
||||||
|
|
||||||
LoadCry:: ; 37f3
|
LoadCry:: ; 37f3
|
||||||
; Load cry header bc.
|
; Load cry bc.
|
||||||
|
|
||||||
call GetCryIndex
|
call GetCryIndex
|
||||||
ret c
|
ret c
|
||||||
|
Loading…
Reference in New Issue
Block a user