mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-10-17 20:46:25 +13:00

This implements Old City, the Honey Grandma's House, and its Pokecenter+Mart. Bunch of other bits and pieces not added yet, need to figure out the lore for them. Honey Grandma is designed to make it easier to get important Pokemon, rather than give access to anything new. Thus, she's Nihon-locked by being an Old City resident. Martha's Perfect Rod will follow this trend. Gold Berry tree exists to make them renewable in-game, I think this is very important. The flypoint seems bugged.
63 lines
1.9 KiB
NASM
63 lines
1.9 KiB
NASM
; MapGroupRoofs values; Roofs indexes
|
|
const_def
|
|
const ROOF_NEW_BARK ; 0
|
|
const ROOF_VIOLET ; 1
|
|
const ROOF_AZALEA ; 2
|
|
const ROOF_OLIVINE ; 3
|
|
const ROOF_GOLDENROD ; 4
|
|
DEF NUM_ROOFS EQU const_value
|
|
|
|
MapGroupRoofs:
|
|
; entries correspond to MAPGROUP_* constants
|
|
; values are indexes for Roofs (see below)
|
|
table_width 1, MapGroupRoofs
|
|
db -1 ; 0
|
|
db ROOF_OLIVINE ; 1 (Olivine)
|
|
db ROOF_AZALEA ; 2 (Mahogany)
|
|
db -1 ; 3
|
|
db ROOF_VIOLET ; 4 (Ecruteak)
|
|
db ROOF_AZALEA ; 5 (Blackthorn)
|
|
db -1 ; 6
|
|
db -1 ; 7
|
|
db ROOF_AZALEA ; 8 (Azalea)
|
|
db ROOF_AZALEA ; 9 (Lake of Rage)
|
|
db ROOF_VIOLET ; 10 (Violet)
|
|
db ROOF_GOLDENROD ; 11 (Goldenrod)
|
|
db -1 ; 12
|
|
db -1 ; 13
|
|
db -1 ; 14
|
|
db -1 ; 15
|
|
db -1 ; 16
|
|
db -1 ; 17
|
|
db -1 ; 18
|
|
db ROOF_NEW_BARK ; 19 (Silver Cave)
|
|
db -1 ; 20
|
|
db -1 ; 21
|
|
db ROOF_OLIVINE ; 22 (Cianwood)
|
|
db -1 ; 23
|
|
db ROOF_NEW_BARK ; 24 (New Bark)
|
|
db -1 ; 25
|
|
db ROOF_NEW_BARK ; 26 (Cherrygrove)
|
|
db ROOF_GOLDENROD ; 27 (Citrine)
|
|
db ROOF_NEW_BARK ; 28 (One Island)
|
|
db ROOF_VIOLET ; 29 (Two Island)
|
|
db ROOF_VIOLET ; 30 (Three Island)
|
|
db ROOF_VIOLET ; 31 (Four Island)
|
|
db ROOF_VIOLET ; 32 (Five Island)
|
|
db ROOF_VIOLET ; 33 (Six Island)
|
|
db ROOF_VIOLET ; 34 (Seven Island)
|
|
db ROOF_NEW_BARK ; 35 (Silent Hills)
|
|
db ROOF_VIOLET ; 36 (Old City)
|
|
db ROOF_NEW_BARK ; 37 (Blue Forest)
|
|
assert_table_length NUM_MAP_GROUPS + 1
|
|
|
|
Roofs:
|
|
; entries correspond to ROOF_* constants
|
|
table_width ROOF_LENGTH * LEN_2BPP_TILE, Roofs
|
|
INCBIN "gfx/tilesets/roofs/new_bark.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/violet.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/azalea.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/olivine.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/goldenrod.2bpp"
|
|
assert_table_length NUM_ROOFS
|