Skip to content

Commit

Permalink
Merge pull request #530 from Rangi42/master
Browse files Browse the repository at this point in the history
[RTM] Finish removing address comments, split out mart_constants.asm, and other tweaks
  • Loading branch information
yenatch committed Jun 25, 2018
2 parents 3648546 + 6e44095 commit 91f9147
Show file tree
Hide file tree
Showing 31 changed files with 176 additions and 175 deletions.
1 change: 1 addition & 0 deletions constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ INCLUDE "constants/map_constants.asm"
INCLUDE "constants/map_data_constants.asm"
INCLUDE "constants/map_object_constants.asm"
INCLUDE "constants/map_setup_constants.asm"
INCLUDE "constants/mart_constants.asm"
INCLUDE "constants/menu_constants.asm"
INCLUDE "constants/mobile_constants.asm"
INCLUDE "constants/move_constants.asm"
Expand Down
46 changes: 0 additions & 46 deletions constants/item_data_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -129,49 +129,3 @@ MAIL_STRUCT_LENGTH EQU $2f ; mailmsg struct
const HELD_BRIGHTPOWDER
const HELD_78
const HELD_FOCUS_BAND


; mart types (see engine/items/mart.asm)
const_def
const MARTTYPE_STANDARD
const MARTTYPE_BITTER
const MARTTYPE_BARGAIN
const MARTTYPE_PHARMACY
const MARTTYPE_ROOFTOP

; Marts indexes (see data/items/marts.asm)
const_def
const MART_CHERRYGROVE
const MART_CHERRYGROVE_DEX
const MART_VIOLET
const MART_AZALEA
const MART_CIANWOOD
const MART_GOLDENROD_2F_1
const MART_GOLDENROD_2F_2
const MART_GOLDENROD_3F
const MART_GOLDENROD_4F
const MART_GOLDENROD_5F_1
const MART_GOLDENROD_5F_2
const MART_GOLDENROD_5F_3
const MART_GOLDENROD_5F_4
const MART_OLIVINE
const MART_ECRUTEAK
const MART_MAHOGANY_1
const MART_MAHOGANY_2
const MART_BLACKTHORN
const MART_VIRIDIAN
const MART_PEWTER
const MART_CERULEAN
const MART_LAVENDER
const MART_VERMILION
const MART_CELADON_2F_1
const MART_CELADON_2F_2
const MART_CELADON_3F
const MART_CELADON_4F
const MART_CELADON_5F_1
const MART_CELADON_5F_2
const MART_FUCHSIA
const MART_SAFFRON
const MART_MT_MOON
const MART_INDIGO_PLATEAU
const MART_UNDERGROUND
44 changes: 44 additions & 0 deletions constants/mart_constants.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
; mart types (see engine/items/mart.asm)
const_def
const MARTTYPE_STANDARD
const MARTTYPE_BITTER
const MARTTYPE_BARGAIN
const MARTTYPE_PHARMACY
const MARTTYPE_ROOFTOP

; Marts indexes (see data/items/marts.asm)
const_def
const MART_CHERRYGROVE
const MART_CHERRYGROVE_DEX
const MART_VIOLET
const MART_AZALEA
const MART_CIANWOOD
const MART_GOLDENROD_2F_1
const MART_GOLDENROD_2F_2
const MART_GOLDENROD_3F
const MART_GOLDENROD_4F
const MART_GOLDENROD_5F_1
const MART_GOLDENROD_5F_2
const MART_GOLDENROD_5F_3
const MART_GOLDENROD_5F_4
const MART_OLIVINE
const MART_ECRUTEAK
const MART_MAHOGANY_1
const MART_MAHOGANY_2
const MART_BLACKTHORN
const MART_VIRIDIAN
const MART_PEWTER
const MART_CERULEAN
const MART_LAVENDER
const MART_VERMILION
const MART_CELADON_2F_1
const MART_CELADON_2F_2
const MART_CELADON_3F
const MART_CELADON_4F
const MART_CELADON_5F_1
const MART_CELADON_5F_2
const MART_FUCHSIA
const MART_SAFFRON
const MART_MT_MOON
const MART_INDIGO_PLATEAU
const MART_UNDERGROUND
1 change: 1 addition & 0 deletions constants/pokemon_data_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ NUM_WATERMON EQU 3 ; data/wild/*_water.asm table size

GRASS_WILDDATA_LENGTH EQU (NUM_GRASSMON * 2 + 1) * 3 + 2
WATER_WILDDATA_LENGTH EQU (NUM_WATERMON * 2 + 1) * 1 + 2
FISHGROUP_DATA_LENGTH EQU 1 + 2 * 3

NUM_ROAMMON_MAPS EQU 16 ; RoamMaps table size (see data/wild/roammon_maps.asm)

Expand Down
3 changes: 1 addition & 2 deletions data/collision_permissions.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
NONTALKABLE EQUS "db"
TALKABLE EQUS "db TALK +"

TileCollisionTable:: ; 4ce1f
TileCollisionTable::
; entries correspond to COLL_* constants
NONTALKABLE LANDTILE ; COLL_FLOOR
NONTALKABLE LANDTILE ; COLL_01
Expand Down Expand Up @@ -259,4 +259,3 @@ TileCollisionTable:: ; 4ce1f
NONTALKABLE LANDTILE ; fd
NONTALKABLE LANDTILE ; fe
NONTALKABLE WALLTILE ; COLL_FF
; 4cf1f
17 changes: 17 additions & 0 deletions data/pokemon/unused_pic_banks.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
; This was a table of Pokémon sprite banks in the 1997 G/S prototype.
; See pokegold-spaceworld's gfx/pokemon/pkmn_pic_banks.asm.

Unreferenced_MonPicBanks:
; last mon in bank, bank #
db RAICHU, $15 + 0
db DUGTRIO, $15 + 1
db GRAVELER, $15 + 2
db KRABBY, $15 + 3
db STARMIE, $15 + 4
db ARTICUNO, $15 + 5
db ARIADOS, $15 + 6 ; JARANRA in pokegold-spaceworld
db ESPEON, $15 + 7 ; KOUNYA in pokegold-spaceworld
db OCTILLERY, $15 + 8 ; BOMBSEEKER in pokegold-spaceworld
db LARVITAR, $15 + 9 ; NYULA in pokegold-spaceworld
db $ff, $15 + 10
db $ff, $15 + 11
13 changes: 0 additions & 13 deletions data/unused_53d84.asm

This file was deleted.

Loading

0 comments on commit 91f9147

Please sign in to comment.