Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pret
GitHub Repository: pret/pokered
Path: blob/master/data/maps/dungeon_maps.asm
1271 views
1
; GetBattleTransitionID_IsDungeonMap fails to recognize
2
; VICTORY_ROAD_2F, VICTORY_ROAD_3F, all ROCKET_HIDEOUT maps,
3
; POKEMON_MANSION_1F, SEAFOAM_ISLANDS_[B1F-B4F], POWER_PLANT,
4
; DIGLETTS_CAVE, and SILPH_CO_[9-11]F as dungeon maps
5
6
; GetBattleTransitionID_IsDungeonMap checks if wCurMap
7
; is equal to one of these maps
8
DungeonMaps1:
9
db VIRIDIAN_FOREST
10
db ROCK_TUNNEL_1F
11
db SEAFOAM_ISLANDS_1F
12
db ROCK_TUNNEL_B1F
13
db -1 ; end
14
15
; GetBattleTransitionID_IsDungeonMap checks if wCurMap
16
; is in between or equal to each pair of maps
17
DungeonMaps2:
18
; all MT_MOON maps
19
db MT_MOON_1F, MT_MOON_B2F
20
; all SS_ANNE maps, VICTORY_ROAD_1F, LANCES_ROOM, and HALL_OF_FAME
21
db SS_ANNE_1F, HALL_OF_FAME
22
; all POKEMON_TOWER maps and Lavender Town buildings
23
db LAVENDER_POKECENTER, LAVENDER_CUBONE_HOUSE
24
; SILPH_CO_[2-8]F, POKEMON_MANSION[2F-B1F], SAFARI_ZONE, and
25
; CERULEAN_CAVE maps, except for SILPH_CO_1F
26
db SILPH_CO_2F, CERULEAN_CAVE_1F
27
db -1 ; end
28
29