mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Merge pull request #437 from roukaour/master
Reorganize battle/; rename most "header" misnomers; gfx/pics → gfx/pokemon
This commit is contained in:
commit
da28d1a84b
6
.gitignore
vendored
6
.gitignore
vendored
@ -41,6 +41,6 @@ pokecrystal.txt
|
||||
*.lz
|
||||
*.pal
|
||||
*.animated.tilemap
|
||||
gfx/pics/*/bitmask.asm
|
||||
gfx/pics/*/frames.asm
|
||||
!gfx/pics/*/shiny.pal
|
||||
gfx/pokemon/*/bitmask.asm
|
||||
gfx/pokemon/*/frames.asm
|
||||
!gfx/pokemon/*/shiny.pal
|
||||
|
68
Makefile
68
Makefile
@ -100,41 +100,41 @@ pokecrystal.gbc: $(crystal_obj) pokecrystal.link
|
||||
### Terrible hacks to match animations. Delete these rules if you don't care about matching.
|
||||
|
||||
# Dewgong has an unused tile id in its last frame. The tile itself is missing.
|
||||
gfx/pics/dewgong/frames.asm: gfx/pics/dewgong/front.animated.tilemap gfx/pics/dewgong/front.dimensions
|
||||
gfx/pokemon/dewgong/frames.asm: gfx/pokemon/dewgong/front.animated.tilemap gfx/pokemon/dewgong/front.dimensions
|
||||
tools/pokemon_animation -f $^ > $@
|
||||
echo " db \$$4d" >> $@
|
||||
|
||||
# Lugia has two unused tile ids in its last frame. The tiles themselves are missing.
|
||||
gfx/pics/lugia/frames.asm: gfx/pics/lugia/front.animated.tilemap gfx/pics/lugia/front.dimensions
|
||||
gfx/pokemon/lugia/frames.asm: gfx/pokemon/lugia/front.animated.tilemap gfx/pokemon/lugia/front.dimensions
|
||||
tools/pokemon_animation -f $^ > $@
|
||||
echo " db \$$5e, \$$59" >> $@
|
||||
|
||||
# Girafarig has a redundant tile after the end. It is used in two frames, so it must be injected into the generated graphics.
|
||||
# This is more involved, so it's hacked into pokemon_animation_graphics.
|
||||
gfx/pics/girafarig/front.animated.2bpp: gfx/pics/girafarig/front.2bpp gfx/pics/girafarig/front.dimensions
|
||||
gfx/pokemon/girafarig/front.animated.2bpp: gfx/pokemon/girafarig/front.2bpp gfx/pokemon/girafarig/front.dimensions
|
||||
tools/pokemon_animation_graphics --girafarig -o $@ $^
|
||||
gfx/pics/girafarig/front.animated.tilemap: gfx/pics/girafarig/front.2bpp gfx/pics/girafarig/front.dimensions
|
||||
gfx/pokemon/girafarig/front.animated.tilemap: gfx/pokemon/girafarig/front.2bpp gfx/pokemon/girafarig/front.dimensions
|
||||
tools/pokemon_animation_graphics --girafarig -t $@ $^
|
||||
|
||||
|
||||
### Pokemon pic graphics rules
|
||||
|
||||
gfx/pics/%/normal.gbcpal: gfx/pics/%/front.png
|
||||
gfx/pokemon/%/normal.gbcpal: gfx/pokemon/%/front.png
|
||||
$(RGBGFX) -p $@ $<
|
||||
gfx/pics/%/normal.pal: gfx/pics/%/normal.gbcpal
|
||||
gfx/pokemon/%/normal.pal: gfx/pokemon/%/normal.gbcpal
|
||||
tools/palette -p $< > $@
|
||||
gfx/pics/%/back.2bpp: gfx/pics/%/back.png
|
||||
gfx/pokemon/%/back.2bpp: gfx/pokemon/%/back.png
|
||||
$(RGBGFX) -h -o $@ $<
|
||||
gfx/pics/%/bitmask.asm: gfx/pics/%/front.animated.tilemap gfx/pics/%/front.dimensions
|
||||
gfx/pokemon/%/bitmask.asm: gfx/pokemon/%/front.animated.tilemap gfx/pokemon/%/front.dimensions
|
||||
tools/pokemon_animation -b $^ > $@
|
||||
gfx/pics/%/frames.asm: gfx/pics/%/front.animated.tilemap gfx/pics/%/front.dimensions
|
||||
gfx/pokemon/%/frames.asm: gfx/pokemon/%/front.animated.tilemap gfx/pokemon/%/front.dimensions
|
||||
tools/pokemon_animation -f $^ > $@
|
||||
gfx/pics/%/front.animated.2bpp: gfx/pics/%/front.2bpp gfx/pics/%/front.dimensions
|
||||
gfx/pokemon/%/front.animated.2bpp: gfx/pokemon/%/front.2bpp gfx/pokemon/%/front.dimensions
|
||||
tools/pokemon_animation_graphics -o $@ $^
|
||||
gfx/pics/%/front.animated.tilemap: gfx/pics/%/front.2bpp gfx/pics/%/front.dimensions
|
||||
gfx/pokemon/%/front.animated.tilemap: gfx/pokemon/%/front.2bpp gfx/pokemon/%/front.dimensions
|
||||
tools/pokemon_animation_graphics -t $@ $^
|
||||
# Don't use -h, pokemon_animation_graphics takes care of it
|
||||
#gfx/pics/%/front.2bpp: gfx/pics/%/front.png
|
||||
#gfx/pokemon/%/front.2bpp: gfx/pokemon/%/front.png
|
||||
# $(RGBGFX) -o $@ $<
|
||||
|
||||
|
||||
@ -147,11 +147,11 @@ gfx/trainers/%.2bpp: rgbgfx += -h
|
||||
gfx/trainers/%.pal: gfx/trainers/%.gbcpal
|
||||
tools/palette -p $< > $@
|
||||
|
||||
gfx/mail/0b9b46.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/0b9d46.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/0b9d86.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/0b9dc6.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/0b9cfe.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/dragonite.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/large_note.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/surf_mail_border.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/flower_mail_border.1bpp: tools/gfx += --remove-whitespace
|
||||
gfx/mail/litebluemail_border.1bpp: tools/gfx += --remove-whitespace
|
||||
|
||||
gfx/pokedex/pokedex.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/pokedex/sgb.2bpp: tools/gfx += --trim-whitespace
|
||||
@ -169,23 +169,23 @@ gfx/slots/slots_3.2bpp: tools/gfx += --interleave --png=$< --remove-duplicates -
|
||||
|
||||
gfx/card_flip/card_flip_2.2bpp: tools/gfx += --remove-whitespace
|
||||
|
||||
gfx/fx/angels.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/fx/beam.2bpp: tools/gfx += --remove-xflip --remove-yflip --remove-whitespace
|
||||
gfx/fx/bubble.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/fx/charge.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/fx/egg.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/explosion.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/hit.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/horn.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/lightning.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/misc.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
||||
gfx/fx/noise.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/objects.2bpp: tools/gfx += --remove-whitespace --remove-xflip
|
||||
gfx/fx/pokeball.2bpp: tools/gfx += --remove-xflip --keep-whitespace
|
||||
gfx/fx/reflect.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/rocks.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/skyattack.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/fx/status.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/angels.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/battle_anims/beam.2bpp: tools/gfx += --remove-xflip --remove-yflip --remove-whitespace
|
||||
gfx/battle_anims/bubble.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/battle_anims/charge.2bpp: tools/gfx += --trim-whitespace
|
||||
gfx/battle_anims/egg.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/explosion.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/hit.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/horn.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/lightning.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/misc.2bpp: tools/gfx += --remove-duplicates --remove-xflip
|
||||
gfx/battle_anims/noise.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/objects.2bpp: tools/gfx += --remove-whitespace --remove-xflip
|
||||
gfx/battle_anims/pokeball.2bpp: tools/gfx += --remove-xflip --keep-whitespace
|
||||
gfx/battle_anims/reflect.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/rocks.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/skyattack.2bpp: tools/gfx += --remove-whitespace
|
||||
gfx/battle_anims/status.2bpp: tools/gfx += --remove-whitespace
|
||||
|
||||
gfx/player/chris.2bpp: rgbgfx += -h
|
||||
gfx/player/chris_back.2bpp: rgbgfx += -h
|
||||
|
@ -157,6 +157,6 @@ INCLUDE "audio/sfx_crystal.asm"
|
||||
|
||||
SECTION "Cries", ROMX
|
||||
|
||||
INCLUDE "data/pokemon/cry_headers.asm"
|
||||
INCLUDE "data/pokemon/cries.asm"
|
||||
|
||||
INCLUDE "audio/cries.asm"
|
||||
|
@ -1,14 +1,14 @@
|
||||
WaveSamples: ; e8db2
|
||||
; these are streams of 32 4-bit values used as wavepatterns
|
||||
; nothing interesting here!
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 14, 15, 15, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 14, 14, 15, 15, 15, 15, 14, 14, 14, 13, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 1, 1
|
||||
dn 1, 3, 6, 9, 11, 13, 14, 14, 14, 14, 15, 15, 15, 15, 14, 13, 13, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 11, 9, 6, 3, 1
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 13, 14, 15, 15, 14, 13, 14, 15, 15, 14, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
|
||||
dn 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 14, 15, 7, 7, 15, 14, 14, 13, 12, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0
|
||||
dn 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 1, 1, 15, 15, 14, 14, 12, 12, 10, 10, 8, 8, 10, 10, 12, 12, 14, 14
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 14, 12, 11, 10, 9, 8, 7, 6, 5, 15, 15, 15, 14, 14, 13, 13, 12, 4, 4, 3, 3, 2, 2, 1, 1
|
||||
dn 12, 0, 10, 9, 8, 7, 15, 5, 15, 15, 15, 14, 14, 13, 13, 12, 4, 4, 3, 3, 2, 2, 15, 1, 0, 2, 4, 6, 8, 10, 12, 14
|
||||
dn 4, 4, 3, 3, 2, 2, 1, 15, 0, 0, 4, 6, 8, 10, 12, 14, 15, 8, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5
|
||||
dn 1, 1, 0, 0, 0, 0, 0, 8, 0, 0, 1, 3, 5, 7, 9, 10, 11, 4, 11, 10, 10, 9, 9, 8, 8, 7, 6, 5, 4, 3, 2, 1
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 14, 15, 15, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 14, 14, 15, 15, 15, 15, 14, 14, 14, 13, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 1, 1
|
||||
dn 1, 3, 6, 9, 11, 13, 14, 14, 14, 14, 15, 15, 15, 15, 14, 13, 13, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 11, 9, 6, 3, 1
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 13, 14, 15, 15, 14, 13, 14, 15, 15, 14, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0
|
||||
dn 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 13, 14, 14, 15, 7, 7, 15, 14, 14, 13, 12, 10, 8, 7, 6, 5, 4, 3, 2, 1, 0
|
||||
dn 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 3, 3, 2, 2, 1, 1, 15, 15, 14, 14, 12, 12, 10, 10, 8, 8, 10, 10, 12, 12, 14, 14
|
||||
dn 0, 2, 4, 6, 8, 10, 12, 14, 12, 11, 10, 9, 8, 7, 6, 5, 15, 15, 15, 14, 14, 13, 13, 12, 4, 4, 3, 3, 2, 2, 1, 1
|
||||
dn 12, 0, 10, 9, 8, 7, 15, 5, 15, 15, 15, 14, 14, 13, 13, 12, 4, 4, 3, 3, 2, 2, 15, 1, 0, 2, 4, 6, 8, 10, 12, 14
|
||||
dn 4, 4, 3, 3, 2, 2, 1, 15, 0, 0, 4, 6, 8, 10, 12, 14, 15, 8, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5
|
||||
dn 1, 1, 0, 0, 0, 0, 0, 8, 0, 0, 1, 3, 5, 7, 9, 10, 11, 4, 11, 10, 10, 9, 9, 8, 8, 7, 6, 5, 4, 3, 2, 1
|
||||
; e8e52
|
||||
|
@ -1,41 +0,0 @@
|
||||
AnimObj00GFX: ; 84a2e
|
||||
AnimObjHitGFX: INCBIN "gfx/fx/hit.2bpp.lz"
|
||||
AnimObjCutGFX: INCBIN "gfx/fx/cut.2bpp.lz"
|
||||
AnimObjFireGFX: INCBIN "gfx/fx/fire.2bpp.lz"
|
||||
AnimObjWaterGFX: INCBIN "gfx/fx/water.2bpp.lz"
|
||||
AnimObjLightningGFX: INCBIN "gfx/fx/lightning.2bpp.lz"
|
||||
AnimObjSmokeGFX: INCBIN "gfx/fx/smoke.2bpp.lz"
|
||||
AnimObjExplosionGFX: INCBIN "gfx/fx/explosion.2bpp.lz"
|
||||
AnimObjIceGFX: INCBIN "gfx/fx/ice.2bpp.lz"
|
||||
AnimObjRocksGFX: INCBIN "gfx/fx/rocks.2bpp.lz"
|
||||
AnimObjPoisonGFX: INCBIN "gfx/fx/poison.2bpp.lz"
|
||||
AnimObjPlantGFX: INCBIN "gfx/fx/plant.2bpp.lz"
|
||||
AnimObjPokeBallGFX: INCBIN "gfx/fx/pokeball.2bpp.lz"
|
||||
AnimObjBubbleGFX: INCBIN "gfx/fx/bubble.2bpp.lz"
|
||||
AnimObjNoiseGFX: INCBIN "gfx/fx/noise.2bpp.lz"
|
||||
AnimObjReflectGFX: INCBIN "gfx/fx/reflect.2bpp.lz"
|
||||
AnimObjPowderGFX: INCBIN "gfx/fx/powder.2bpp.lz"
|
||||
AnimObjBeamGFX: INCBIN "gfx/fx/beam.2bpp.lz"
|
||||
AnimObjSpeedGFX: INCBIN "gfx/fx/speed.2bpp.lz"
|
||||
AnimObjChargeGFX: INCBIN "gfx/fx/charge.2bpp.lz"
|
||||
AnimObjWindGFX: INCBIN "gfx/fx/wind.2bpp.lz"
|
||||
AnimObjWhipGFX: INCBIN "gfx/fx/whip.2bpp.lz"
|
||||
AnimObjRopeGFX: INCBIN "gfx/fx/rope.2bpp.lz"
|
||||
AnimObjEggGFX: INCBIN "gfx/fx/egg.2bpp.lz"
|
||||
AnimObjPsychicGFX: INCBIN "gfx/fx/psychic.2bpp.lz"
|
||||
AnimObjSandGFX: INCBIN "gfx/fx/sand.2bpp.lz"
|
||||
AnimObjWebGFX: INCBIN "gfx/fx/web.2bpp.lz"
|
||||
AnimObjHazeGFX: INCBIN "gfx/fx/haze.2bpp.lz"
|
||||
AnimObjHornGFX: INCBIN "gfx/fx/horn.2bpp.lz"
|
||||
AnimObjFlowerGFX: INCBIN "gfx/fx/flower.2bpp.lz"
|
||||
AnimObjMiscGFX: INCBIN "gfx/fx/misc.2bpp.lz"
|
||||
AnimObjSkyAttackGFX: INCBIN "gfx/fx/skyattack.2bpp.lz"
|
||||
AnimObjGlobeGFX: INCBIN "gfx/fx/globe.2bpp.lz"
|
||||
AnimObjShapesGFX: INCBIN "gfx/fx/shapes.2bpp.lz"
|
||||
AnimObjStatusGFX: INCBIN "gfx/fx/status.2bpp.lz"
|
||||
AnimObjObjectsGFX: INCBIN "gfx/fx/objects.2bpp.lz"
|
||||
AnimObjShineGFX: INCBIN "gfx/fx/shine.2bpp.lz"
|
||||
AnimObjAngelsGFX: INCBIN "gfx/fx/angels.2bpp.lz"
|
||||
AnimObjWaveGFX: INCBIN "gfx/fx/wave.2bpp.lz"
|
||||
AnimObjAeroblastGFX: INCBIN "gfx/fx/aeroblast.2bpp.lz"
|
||||
; 8640e
|
@ -1,9 +0,0 @@
|
||||
; Objects used in battle animations.
|
||||
|
||||
INCLUDE "battle/objects/engine.asm"
|
||||
INCLUDE "battle/objects/data.asm"
|
||||
INCLUDE "battle/objects/functions.asm"
|
||||
INCLUDE "battle/objects/helpers.asm"
|
||||
INCLUDE "battle/objects/framesets.asm"
|
||||
INCLUDE "battle/objects/oam.asm"
|
||||
INCLUDE "battle/objects/gfx_headers.asm"
|
File diff suppressed because it is too large
Load Diff
@ -1,51 +0,0 @@
|
||||
object_gfx: MACRO
|
||||
; # tiles, label
|
||||
db \1
|
||||
dba \2
|
||||
ENDM
|
||||
|
||||
AnimObjGFX: ; cfcf6
|
||||
; entries correspond to ANIM_GFX_* constants
|
||||
object_gfx 0, AnimObj00GFX
|
||||
object_gfx 21, AnimObjHitGFX
|
||||
object_gfx 6, AnimObjCutGFX
|
||||
object_gfx 6, AnimObjFireGFX
|
||||
object_gfx 20, AnimObjWaterGFX
|
||||
object_gfx 26, AnimObjLightningGFX
|
||||
object_gfx 18, AnimObjPlantGFX
|
||||
object_gfx 12, AnimObjSmokeGFX
|
||||
object_gfx 9, AnimObjExplosionGFX
|
||||
object_gfx 17, AnimObjRocksGFX
|
||||
object_gfx 6, AnimObjIceGFX
|
||||
object_gfx 10, AnimObjPokeBallGFX
|
||||
object_gfx 9, AnimObjPoisonGFX
|
||||
object_gfx 13, AnimObjBubbleGFX
|
||||
object_gfx 16, AnimObjNoiseGFX
|
||||
object_gfx 2, AnimObjPowderGFX
|
||||
object_gfx 11, AnimObjBeamGFX
|
||||
object_gfx 9, AnimObjSpeedGFX
|
||||
object_gfx 9, AnimObjChargeGFX
|
||||
object_gfx 19, AnimObjWindGFX
|
||||
object_gfx 10, AnimObjWhipGFX
|
||||
object_gfx 12, AnimObjEggGFX
|
||||
object_gfx 18, AnimObjRopeGFX
|
||||
object_gfx 13, AnimObjPsychicGFX
|
||||
object_gfx 10, AnimObjReflectGFX
|
||||
object_gfx 27, AnimObjStatusGFX
|
||||
object_gfx 12, AnimObjSandGFX
|
||||
object_gfx 14, AnimObjWebGFX
|
||||
object_gfx 16, AnimObjHazeGFX
|
||||
object_gfx 7, AnimObjHornGFX
|
||||
object_gfx 8, AnimObjFlowerGFX
|
||||
object_gfx 40, AnimObjMiscGFX
|
||||
object_gfx 36, AnimObjSkyAttackGFX
|
||||
object_gfx 16, AnimObjGlobeGFX
|
||||
object_gfx 48, AnimObjShapesGFX
|
||||
object_gfx 18, AnimObjObjectsGFX
|
||||
object_gfx 38, AnimObjShineGFX
|
||||
object_gfx 35, AnimObjAngelsGFX
|
||||
object_gfx 18, AnimObjWaveGFX
|
||||
object_gfx 24, AnimObjAeroblastGFX
|
||||
object_gfx 1, NULL
|
||||
object_gfx 1, NULL
|
||||
; cfd9e
|
File diff suppressed because it is too large
Load Diff
@ -7,26 +7,31 @@ INCLUDE "constants/wram_constants.asm"
|
||||
INCLUDE "constants/pokemon_constants.asm"
|
||||
INCLUDE "constants/type_constants.asm"
|
||||
INCLUDE "constants/move_constants.asm"
|
||||
INCLUDE "constants/move_effect_constants.asm"
|
||||
INCLUDE "constants/battle_constants.asm"
|
||||
INCLUDE "constants/map_dimension_constants.asm"
|
||||
INCLUDE "constants/battle_anim_constants.asm"
|
||||
INCLUDE "constants/map_constants.asm"
|
||||
INCLUDE "constants/map_data_constants.asm"
|
||||
INCLUDE "constants/map_setup_constants.asm"
|
||||
INCLUDE "constants/landmark_constants.asm"
|
||||
INCLUDE "constants/item_constants.asm"
|
||||
INCLUDE "constants/item_data_constants.asm"
|
||||
INCLUDE "constants/trainer_constants.asm"
|
||||
INCLUDE "constants/trainer_data_constants.asm"
|
||||
INCLUDE "constants/script_constants.asm"
|
||||
INCLUDE "constants/event_flags.asm"
|
||||
INCLUDE "constants/engine_flags.asm"
|
||||
INCLUDE "constants/music_constants.asm"
|
||||
INCLUDE "constants/sfx_constants.asm"
|
||||
INCLUDE "constants/animation_constants.asm"
|
||||
INCLUDE "constants/phone_constants.asm"
|
||||
INCLUDE "constants/credits_constants.asm"
|
||||
INCLUDE "constants/gfx_constants.asm"
|
||||
INCLUDE "constants/input_constants.asm"
|
||||
INCLUDE "constants/pokemon_data_constants.asm"
|
||||
INCLUDE "constants/icon_constants.asm"
|
||||
INCLUDE "constants/serial_constants.asm"
|
||||
INCLUDE "constants/mobile_constants.asm"
|
||||
INCLUDE "constants/text_constants.asm"
|
||||
INCLUDE "constants/misc_constants.asm"
|
||||
INCLUDE "constants/std_constants.asm"
|
||||
INCLUDE "constants/deco_constants.asm"
|
||||
@ -34,6 +39,7 @@ INCLUDE "constants/radio_constants.asm"
|
||||
INCLUDE "constants/npctrade_constants.asm"
|
||||
INCLUDE "constants/sprite_constants.asm"
|
||||
INCLUDE "constants/sprite_data_constants.asm"
|
||||
INCLUDE "constants/sprite_anim_constants.asm"
|
||||
INCLUDE "constants/tileset_constants.asm"
|
||||
INCLUDE "constants/collision_constants.asm"
|
||||
INCLUDE "constants/cgb_constants.asm"
|
||||
|
@ -26,7 +26,7 @@
|
||||
const BATTLEANIMSTRUCT_17
|
||||
BATTLEANIMSTRUCT_LENGTH EQU const_value
|
||||
|
||||
; BattleAnimObjects indexes (see battle/objects/data.asm)
|
||||
; BattleAnimObjects indexes (see data/battle_anims/objects.asm)
|
||||
const_def
|
||||
const ANIM_OBJ_00
|
||||
const ANIM_OBJ_01
|
||||
@ -217,7 +217,7 @@ BATTLEANIMSTRUCT_LENGTH EQU const_value
|
||||
const ANIM_OBJ_BA
|
||||
const ANIM_OBJ_BB
|
||||
|
||||
; DoBattleAnimFrame arguments (see battle/objects/functions.asm)
|
||||
; DoBattleAnimFrame arguments (see engine/battle_anims/functions.asm)
|
||||
const_def
|
||||
const BATTLEANIMFUNC_00
|
||||
const BATTLEANIMFUNC_01
|
||||
@ -300,7 +300,7 @@ BATTLEANIMSTRUCT_LENGTH EQU const_value
|
||||
const BATTLEANIMFUNC_4E
|
||||
const BATTLEANIMFUNC_4F
|
||||
|
||||
; BattleAnimFrameData indexes (see battle/objects/framesets.asm)
|
||||
; BattleAnimFrameData indexes (see data/battle_anims/framesets.asm)
|
||||
const_def
|
||||
const BATTLEANIMFRAMESET_00
|
||||
const BATTLEANIMFRAMESET_01
|
||||
@ -488,7 +488,7 @@ BATTLEANIMSTRUCT_LENGTH EQU const_value
|
||||
const BATTLEANIMFRAMESET_B7
|
||||
const BATTLEANIMFRAMESET_B8
|
||||
|
||||
; BattleAnimOAMData indexes (see battle/objects/oam.asm)
|
||||
; BattleAnimOAMData indexes (see data/battle_anims/oam.asm)
|
||||
const_def
|
||||
const BATTLEANIMOAMSET_00
|
||||
const BATTLEANIMOAMSET_01
|
||||
@ -707,7 +707,7 @@ BATTLEANIMSTRUCT_LENGTH EQU const_value
|
||||
const BATTLEANIMOAMSET_D6
|
||||
const BATTLEANIMOAMSET_D7
|
||||
|
||||
; BattleBGEffects indexes (see battle/bg_effects.asm)
|
||||
; BattleBGEffects indexes (see engine/battle_anims/bg_effects.asm)
|
||||
const_value SET 1
|
||||
const ANIM_BG_FLASH_INVERTED
|
||||
const ANIM_BG_FLASH_WHITE
|
||||
@ -763,19 +763,7 @@ const_value SET 1
|
||||
const ANIM_BG_WOBBLE_MON
|
||||
const ANIM_BG_35
|
||||
|
||||
; PokeAnims indexes (see gfx/pics/animation.asm)
|
||||
const_def
|
||||
const ANIM_MON_SLOW
|
||||
const ANIM_MON_NORMAL
|
||||
const ANIM_MON_MENU
|
||||
const ANIM_MON_TRADE
|
||||
const ANIM_MON_EVOLVE
|
||||
const ANIM_MON_HATCH
|
||||
const ANIM_MON_UNUSED
|
||||
const ANIM_MON_EGG1
|
||||
const ANIM_MON_EGG2
|
||||
|
||||
; AnimObjGFX indexes (see battle/objects/gfx_headers.asm)
|
||||
; AnimObjGFX indexes (see data/battle_anims/object_gfx.asm)
|
||||
const_value SET 1
|
||||
const ANIM_GFX_HIT
|
||||
const ANIM_GFX_CUT
|
@ -30,16 +30,16 @@ TREEMON_SLEEP_TURNS EQU 7
|
||||
const ABILITY ; used for BattleCommand_Curse
|
||||
NUM_LEVEL_STATS EQU const_value
|
||||
|
||||
; move struct members (see battle/moves/moves.asm)
|
||||
; move struct members (see data/moves/moves.asm)
|
||||
const_def
|
||||
const MOVE_ANIM
|
||||
const MOVE_EFFECT
|
||||
const MOVE_POWER
|
||||
const MOVE_TYPE
|
||||
const MOVE_ACC
|
||||
const MOVE_PP
|
||||
const MOVE_CHANCE
|
||||
const MOVE_LENGTH
|
||||
const MOVE_ANIM ; 0
|
||||
const MOVE_EFFECT ; 1
|
||||
const MOVE_POWER ; 2
|
||||
const MOVE_TYPE ; 3
|
||||
const MOVE_ACC ; 4
|
||||
const MOVE_PP ; 5
|
||||
const MOVE_CHANCE ; 6
|
||||
MOVE_LENGTH EQU const_value
|
||||
|
||||
; stat constants
|
||||
; indexes for:
|
||||
@ -213,166 +213,6 @@ SUBSTATUS_CURLED EQU 0
|
||||
const WEATHER_SUN_END
|
||||
const WEATHER_SANDSTORM_END
|
||||
|
||||
; MoveEffectsPointers indexes (see battle/moves/move_effects_pointers.asm)
|
||||
const_def
|
||||
const EFFECT_NORMAL_HIT
|
||||
const EFFECT_SLEEP
|
||||
const EFFECT_POISON_HIT
|
||||
const EFFECT_LEECH_HIT
|
||||
const EFFECT_BURN_HIT
|
||||
const EFFECT_FREEZE_HIT
|
||||
const EFFECT_PARALYZE_HIT
|
||||
const EFFECT_SELFDESTRUCT
|
||||
const EFFECT_DREAM_EATER
|
||||
const EFFECT_MIRROR_MOVE
|
||||
const EFFECT_ATTACK_UP
|
||||
const EFFECT_DEFENSE_UP
|
||||
const EFFECT_SPEED_UP
|
||||
const EFFECT_SP_ATK_UP
|
||||
const EFFECT_SP_DEF_UP
|
||||
const EFFECT_ACCURACY_UP
|
||||
const EFFECT_EVASION_UP
|
||||
const EFFECT_ALWAYS_HIT
|
||||
const EFFECT_ATTACK_DOWN
|
||||
const EFFECT_DEFENSE_DOWN
|
||||
const EFFECT_SPEED_DOWN
|
||||
const EFFECT_SP_ATK_DOWN
|
||||
const EFFECT_SP_DEF_DOWN
|
||||
const EFFECT_ACCURACY_DOWN
|
||||
const EFFECT_EVASION_DOWN
|
||||
const EFFECT_RESET_STATS
|
||||
const EFFECT_BIDE
|
||||
const EFFECT_RAMPAGE
|
||||
const EFFECT_FORCE_SWITCH
|
||||
const EFFECT_MULTI_HIT
|
||||
const EFFECT_CONVERSION
|
||||
const EFFECT_FLINCH_HIT
|
||||
const EFFECT_HEAL
|
||||
const EFFECT_TOXIC
|
||||
const EFFECT_PAY_DAY
|
||||
const EFFECT_LIGHT_SCREEN
|
||||
const EFFECT_TRI_ATTACK
|
||||
const EFFECT_UNUSED_25
|
||||
const EFFECT_OHKO
|
||||
const EFFECT_RAZOR_WIND
|
||||
const EFFECT_SUPER_FANG
|
||||
const EFFECT_STATIC_DAMAGE
|
||||
const EFFECT_TRAP_TARGET
|
||||
const EFFECT_UNUSED_2B
|
||||
const EFFECT_DOUBLE_HIT
|
||||
const EFFECT_JUMP_KICK
|
||||
const EFFECT_MIST
|
||||
const EFFECT_FOCUS_ENERGY
|
||||
const EFFECT_RECOIL_HIT
|
||||
const EFFECT_CONFUSE
|
||||
const EFFECT_ATTACK_UP_2
|
||||
const EFFECT_DEFENSE_UP_2
|
||||
const EFFECT_SPEED_UP_2
|
||||
const EFFECT_SP_ATK_UP_2
|
||||
const EFFECT_SP_DEF_UP_2
|
||||
const EFFECT_ACCURACY_UP_2
|
||||
const EFFECT_EVASION_UP_2
|
||||
const EFFECT_TRANSFORM
|
||||
const EFFECT_ATTACK_DOWN_2
|
||||
const EFFECT_DEFENSE_DOWN_2
|
||||
const EFFECT_SPEED_DOWN_2
|
||||
const EFFECT_SP_ATK_DOWN_2
|
||||
const EFFECT_SP_DEF_DOWN_2
|
||||
const EFFECT_ACCURACY_DOWN_2
|
||||
const EFFECT_EVASION_DOWN_2
|
||||
const EFFECT_REFLECT
|
||||
const EFFECT_POISON
|
||||
const EFFECT_PARALYZE
|
||||
const EFFECT_ATTACK_DOWN_HIT
|
||||
const EFFECT_DEFENSE_DOWN_HIT
|
||||
const EFFECT_SPEED_DOWN_HIT
|
||||
const EFFECT_SP_ATK_DOWN_HIT
|
||||
const EFFECT_SP_DEF_DOWN_HIT
|
||||
const EFFECT_ACCURACY_DOWN_HIT
|
||||
const EFFECT_EVASION_DOWN_HIT
|
||||
const EFFECT_SKY_ATTACK
|
||||
const EFFECT_CONFUSE_HIT
|
||||
const EFFECT_POISON_MULTI_HIT
|
||||
const EFFECT_UNUSED_4E
|
||||
const EFFECT_SUBSTITUTE
|
||||
const EFFECT_HYPER_BEAM
|
||||
const EFFECT_RAGE
|
||||
const EFFECT_MIMIC
|
||||
const EFFECT_METRONOME
|
||||
const EFFECT_LEECH_SEED
|
||||
const EFFECT_SPLASH
|
||||
const EFFECT_DISABLE
|
||||
const EFFECT_LEVEL_DAMAGE
|
||||
const EFFECT_PSYWAVE
|
||||
const EFFECT_COUNTER
|
||||
const EFFECT_ENCORE
|
||||
const EFFECT_PAIN_SPLIT
|
||||
const EFFECT_SNORE
|
||||
const EFFECT_CONVERSION2
|
||||
const EFFECT_LOCK_ON
|
||||
const EFFECT_SKETCH
|
||||
const EFFECT_DEFROST_OPPONENT
|
||||
const EFFECT_SLEEP_TALK
|
||||
const EFFECT_DESTINY_BOND
|
||||
const EFFECT_REVERSAL
|
||||
const EFFECT_SPITE
|
||||
const EFFECT_FALSE_SWIPE
|
||||
const EFFECT_HEAL_BELL
|
||||
const EFFECT_PRIORITY_HIT
|
||||
const EFFECT_TRIPLE_KICK
|
||||
const EFFECT_THIEF
|
||||
const EFFECT_MEAN_LOOK
|
||||
const EFFECT_NIGHTMARE
|
||||
const EFFECT_FLAME_WHEEL
|
||||
const EFFECT_CURSE
|
||||
const EFFECT_UNUSED_6E
|
||||
const EFFECT_PROTECT
|
||||
const EFFECT_SPIKES
|
||||
const EFFECT_FORESIGHT
|
||||
const EFFECT_PERISH_SONG
|
||||
const EFFECT_SANDSTORM
|
||||
const EFFECT_ENDURE
|
||||
const EFFECT_ROLLOUT
|
||||
const EFFECT_SWAGGER
|
||||
const EFFECT_FURY_CUTTER
|
||||
const EFFECT_ATTRACT
|
||||
const EFFECT_RETURN
|
||||
const EFFECT_PRESENT
|
||||
const EFFECT_FRUSTRATION
|
||||
const EFFECT_SAFEGUARD
|
||||
const EFFECT_SACRED_FIRE
|
||||
const EFFECT_MAGNITUDE
|
||||
const EFFECT_BATON_PASS
|
||||
const EFFECT_PURSUIT
|
||||
const EFFECT_RAPID_SPIN
|
||||
const EFFECT_UNUSED_82
|
||||
const EFFECT_UNUSED_83
|
||||
const EFFECT_MORNING_SUN
|
||||
const EFFECT_SYNTHESIS
|
||||
const EFFECT_MOONLIGHT
|
||||
const EFFECT_HIDDEN_POWER
|
||||
const EFFECT_RAIN_DANCE
|
||||
const EFFECT_SUNNY_DAY
|
||||
const EFFECT_DEFENSE_UP_HIT
|
||||
const EFFECT_ATTACK_UP_HIT
|
||||
const EFFECT_ALL_UP_HIT
|
||||
const EFFECT_FAKE_OUT
|
||||
const EFFECT_BELLY_DRUM
|
||||
const EFFECT_PSYCH_UP
|
||||
const EFFECT_MIRROR_COAT
|
||||
const EFFECT_SKULL_BASH
|
||||
const EFFECT_TWISTER
|
||||
const EFFECT_EARTHQUAKE
|
||||
const EFFECT_FUTURE_SIGHT
|
||||
const EFFECT_GUST
|
||||
const EFFECT_STOMP
|
||||
const EFFECT_SOLARBEAM
|
||||
const EFFECT_THUNDER
|
||||
const EFFECT_TELEPORT
|
||||
const EFFECT_BEAT_UP
|
||||
const EFFECT_FLY
|
||||
const EFFECT_DEFENSE_CURL
|
||||
|
||||
; wBattleAction
|
||||
const_def
|
||||
const BATTLEACTION_MOVE1
|
||||
|
@ -7,7 +7,7 @@ const_value = 1
|
||||
const DECO_DOLL
|
||||
const DECO_BIGDOLL
|
||||
|
||||
; DecorationNames indexes (see engine/decorations.asm)
|
||||
; DecorationNames indexes (see data/decorations/names.asm)
|
||||
const_value = 1
|
||||
const PUT_IT_AWAY
|
||||
const MAGNAPLANT
|
||||
@ -35,7 +35,7 @@ const_value = 1
|
||||
const YELLOW_CARPET
|
||||
const GREEN_CARPET
|
||||
|
||||
; DoDecorationAction2 arguments (see engine/decorations.asm)
|
||||
; DoDecorationAction2.DecoActions indexes (see engine/decorations.asm)
|
||||
const_value = 1
|
||||
const SET_UP_BED
|
||||
const PUT_AWAY_BED
|
||||
@ -59,43 +59,46 @@ deco: MACRO
|
||||
enum DECOFLAG_\1
|
||||
endm
|
||||
|
||||
; decorations (see data/decoration_attribute.asm)
|
||||
; decorations:
|
||||
; - DecorationAttributes (see data/decorations/attributes.asm)
|
||||
; - DecorationIDs (see data/decorations/decorations.asm)
|
||||
const_value = 1
|
||||
__enum__ = 0
|
||||
; FindOwnedBeds.beds values (see engine/decorations.asm)
|
||||
const BEDS
|
||||
deco FEATHERY_BED
|
||||
deco PINK_BED
|
||||
deco POLKADOT_BED
|
||||
deco PIKACHU_BED
|
||||
|
||||
; FindOwnedCarpets.carpets values (see engine/decorations.asm)
|
||||
const CARPETS
|
||||
deco RED_CARPET
|
||||
deco BLUE_CARPET
|
||||
deco YELLOW_CARPET
|
||||
deco GREEN_CARPET
|
||||
|
||||
; FindOwnedPlants.plants values (see engine/decorations.asm)
|
||||
const PLANTS
|
||||
deco MAGNAPLANT
|
||||
deco TROPICPLANT
|
||||
deco JUMBOPLANT
|
||||
|
||||
; FindOwnedPosters.posters values (see engine/decorations.asm)
|
||||
const POSTERS
|
||||
deco TOWN_MAP
|
||||
deco PIKACHU_POSTER
|
||||
deco CLEFAIRY_POSTER
|
||||
deco JIGGLYPUFF_POSTER
|
||||
|
||||
; FindOwnedConsoles.consoles values (see engine/decorations.asm)
|
||||
const CONSOLES
|
||||
deco FAMICOM
|
||||
deco SNES
|
||||
deco N64
|
||||
deco VIRTUAL_BOY
|
||||
|
||||
; FindOwnedBigDolls.big_dolls values (see engine/decorations.asm)
|
||||
const BIG_DOLLS
|
||||
deco BIG_SNORLAX_DOLL
|
||||
deco BIG_ONIX_DOLL
|
||||
deco BIG_LAPRAS_DOLL
|
||||
|
||||
; FindOwnedOrnaments.ornaments values (see engine/decorations.asm)
|
||||
const DOLLS
|
||||
deco PIKACHU_DOLL
|
||||
deco SURF_PIKACHU_DOLL
|
||||
|
@ -20,5 +20,4 @@ HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * TILE_WIDTH ; pixels
|
||||
EXP_BAR_LENGTH EQU 8 ; tiles
|
||||
EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels
|
||||
|
||||
|
||||
PALPACKET_LENGTH EQU $10
|
||||
|
@ -1,4 +1,19 @@
|
||||
; Graciously aped from http://nocash.emubase.de/pandocs.htm .
|
||||
; Graciously aped from:
|
||||
; http://nocash.emubase.de/pandocs.htm
|
||||
; http://gameboy.mongenel.com/dmg/asmmemmap.html
|
||||
|
||||
; memory map
|
||||
VRAM_Begin EQU $8000
|
||||
VRAM_End EQU $a000
|
||||
SRAM_Begin EQU $a000
|
||||
SRAM_End EQU $c000
|
||||
WRAM0_Begin EQU $c000
|
||||
WRAM0_End EQU $d000
|
||||
WRAM1_Begin EQU $d000
|
||||
WRAM1_End EQU $e000
|
||||
; hardware registers $ff00-$ff80 (see below)
|
||||
HRAM_Begin EQU $ff80
|
||||
HRAM_End EQU $ffff
|
||||
|
||||
; MBC3
|
||||
MBC3SRamEnable EQU $0000
|
||||
|
41
constants/icon_constants.asm
Normal file
41
constants/icon_constants.asm
Normal file
@ -0,0 +1,41 @@
|
||||
; IconPointers indexes (see data/icon_pointers.asm)
|
||||
const_def
|
||||
const ICON_NULL
|
||||
const ICON_POLIWAG
|
||||
const ICON_JIGGLYPUFF
|
||||
const ICON_DIGLETT
|
||||
const ICON_PIKACHU
|
||||
const ICON_STARYU
|
||||
const ICON_FISH
|
||||
const ICON_BIRD
|
||||
const ICON_MONSTER
|
||||
const ICON_CLEFAIRY
|
||||
const ICON_ODDISH
|
||||
const ICON_BUG
|
||||
const ICON_GHOST
|
||||
const ICON_LAPRAS
|
||||
const ICON_HUMANSHAPE
|
||||
const ICON_FOX
|
||||
const ICON_EQUINE
|
||||
const ICON_SHELL
|
||||
const ICON_BLOB
|
||||
const ICON_SERPENT
|
||||
const ICON_VOLTORB
|
||||
const ICON_SQUIRTLE
|
||||
const ICON_BULBASAUR
|
||||
const ICON_CHARMANDER
|
||||
const ICON_CATERPILLAR
|
||||
const ICON_UNOWN
|
||||
const ICON_GEODUDE
|
||||
const ICON_FIGHTER
|
||||
const ICON_EGG
|
||||
const ICON_JELLYFISH
|
||||
const ICON_MOTH
|
||||
const ICON_BAT
|
||||
const ICON_SNORLAX
|
||||
const ICON_HO_OH
|
||||
const ICON_LUGIA
|
||||
const ICON_GYARADOS
|
||||
const ICON_SLOWPOKE
|
||||
const ICON_SUDOWOODO
|
||||
const ICON_BIGMON
|
@ -1,9 +1,9 @@
|
||||
; item ids
|
||||
; indexes for:
|
||||
; - ItemAttributes (see data/items/item_attributes.asm)
|
||||
; - ItemDescriptions (see data/items/item_descriptions.asm)
|
||||
; - ItemNames (see data/items/names.asm)
|
||||
; - ItemDescriptions (see data/items/descriptions.asm)
|
||||
; - ItemAttributes (see data/items/attributes.asm)
|
||||
; - ItemEffects (see engine/item_effects.asm)
|
||||
; - ItemNames (see data/items/item_names.asm)
|
||||
const_def
|
||||
const NO_ITEM ; $00
|
||||
const MASTER_BALL ; $01
|
||||
@ -197,7 +197,7 @@
|
||||
const MIRAGE_MAIL ; $BD
|
||||
const ITEM_BE ; $BE
|
||||
|
||||
; see data/tmhm_moves.asm for moves
|
||||
; see data/moves/tmhm_moves.asm for moves
|
||||
add_tm DYNAMICPUNCH ; $BF
|
||||
add_tm HEADBUTT ; $C0
|
||||
add_tm CURSE ; $C1
|
||||
@ -273,189 +273,3 @@ ITEM_FROM_MEM EQU $FF
|
||||
SAFARI_BALL EQU $08 ; MOON_STONE
|
||||
MOON_STONE_RED EQU $0A ; BURN_HEAL
|
||||
FULL_HEAL_RED EQU $34 ; X_SPEED
|
||||
|
||||
; mail
|
||||
MAIL_MSG_LENGTH EQU $20
|
||||
MAILBOX_CAPACITY EQU 10
|
||||
MAIL_STRUCT_LENGTH EQU $2f ; mailmsg struct
|
||||
|
||||
; pack pockets
|
||||
ITEM EQU 1
|
||||
KEY_ITEM EQU 2
|
||||
BALL EQU 3
|
||||
TM_HM EQU 4
|
||||
|
||||
; pack pocket sizes
|
||||
MAX_ITEMS EQU 20
|
||||
MAX_KEY_ITEMS EQU 25
|
||||
MAX_BALLS EQU 12
|
||||
MAX_PC_ITEMS EQU 50
|
||||
|
||||
; item actions
|
||||
CANT_SELECT EQU 1 << 6
|
||||
CANT_TOSS EQU 1 << 7
|
||||
|
||||
|
||||
; held item effects
|
||||
const_def
|
||||
const HELD_NONE
|
||||
const HELD_BERRY
|
||||
const HELD_2
|
||||
const HELD_LEFTOVERS
|
||||
const HELD_4
|
||||
const HELD_5
|
||||
const HELD_RESTORE_PP
|
||||
const HELD_7
|
||||
const HELD_CLEANSE_TAG
|
||||
|
||||
const_value SET 10
|
||||
const HELD_HEAL_POISON
|
||||
const HELD_HEAL_FREEZE
|
||||
const HELD_HEAL_BURN
|
||||
const HELD_HEAL_SLEEP
|
||||
const HELD_HEAL_PARALYZE
|
||||
const HELD_HEAL_STATUS
|
||||
const HELD_HEAL_CONFUSION
|
||||
|
||||
const_value SET 20
|
||||
const HELD_PREVENT_POISON
|
||||
const HELD_PREVENT_BURN
|
||||
const HELD_PREVENT_FREEZE
|
||||
const HELD_PREVENT_SLEEP
|
||||
const HELD_PREVENT_PARALYZE
|
||||
const HELD_PREVENT_CONFUSE
|
||||
|
||||
const_value SET 30
|
||||
const HELD_30
|
||||
const HELD_ATTACK_UP
|
||||
const HELD_DEFENSE_UP
|
||||
const HELD_SPEED_UP
|
||||
const HELD_SP_ATTACK_UP
|
||||
const HELD_SP_DEFENSE_UP
|
||||
const HELD_ACCURACY_UP
|
||||
const HELD_EVASION_UP
|
||||
const HELD_38
|
||||
|
||||
const_value SET 40
|
||||
const HELD_40
|
||||
const HELD_41
|
||||
const HELD_METAL_POWDER
|
||||
|
||||
const_value SET 50
|
||||
const HELD_NORMAL_BOOST
|
||||
const HELD_FIGHTING_BOOST
|
||||
const HELD_FLYING_BOOST
|
||||
const HELD_POISON_BOOST
|
||||
const HELD_GROUND_BOOST
|
||||
const HELD_ROCK_BOOST
|
||||
const HELD_BUG_BOOST
|
||||
const HELD_GHOST_BOOST
|
||||
const HELD_FIRE_BOOST
|
||||
const HELD_WATER_BOOST
|
||||
const HELD_GRASS_BOOST
|
||||
const HELD_ELECTRIC_BOOST
|
||||
const HELD_PSYCHIC_BOOST
|
||||
const HELD_ICE_BOOST
|
||||
const HELD_DRAGON_BOOST
|
||||
const HELD_DARK_BOOST
|
||||
const HELD_STEEL_BOOST
|
||||
|
||||
const_value SET 70
|
||||
const HELD_CATCH_CHANCE
|
||||
const HELD_71
|
||||
const HELD_ESCAPE
|
||||
const HELD_CRITICAL_UP
|
||||
const HELD_QUICK_CLAW
|
||||
const HELD_FLINCH
|
||||
const HELD_AMULET_COIN
|
||||
const HELD_BRIGHTPOWDER
|
||||
const HELD_78
|
||||
const HELD_FOCUS_BAND
|
||||
|
||||
; item_attribute struct members (see data/items/item_attributes.asm)
|
||||
const_def
|
||||
const ITEMATTR_PRICE
|
||||
const ITEMATTR_PRICE_HI
|
||||
const ITEMATTR_EFFECT
|
||||
const ITEMATTR_PARAM
|
||||
const ITEMATTR_PERMISSIONS
|
||||
const ITEMATTR_POCKET
|
||||
const ITEMATTR_HELP
|
||||
ITEMATTR_STRUCT_LENGTH EQU const_value
|
||||
|
||||
; item menu types
|
||||
ITEMMENU_NOUSE EQU 0
|
||||
ITEMMENU_CURRENT EQU 4
|
||||
ITEMMENU_PARTY EQU 5
|
||||
ITEMMENU_CLOSE EQU 6
|
||||
|
||||
; mart types (see engine/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
|
||||
|
||||
; PartyMenuActionText values
|
||||
; GetPartyMenuTilemapPointers arguments (see engine/party_menu.asm)
|
||||
const_def
|
||||
const PARTYMENUACTION_CHOOSE_POKEMON
|
||||
const PARTYMENUACTION_HEALING_ITEM
|
||||
const PARTYMENUACTION_SWITCH
|
||||
const PARTYMENUACTION_TEACH_TMHM
|
||||
const PARTYMENUACTION_MOVE
|
||||
const PARTYMENUACTION_EVO_STONE
|
||||
const PARTYMENUACTION_GIVE_MON
|
||||
const PARTYMENUACTION_GIVE_MON_FEMALE ; unused
|
||||
const PARTYMENUACTION_GIVE_ITEM
|
||||
const PARTYMENUACTION_MOBILE ; mobile
|
||||
; PrintPartyMenuActionText arguments (see engine/party_menu.asm)
|
||||
const_value set $f0
|
||||
const PARTYMENUTEXT_HEAL_PSN
|
||||
const PARTYMENUTEXT_HEAL_BRN
|
||||
const PARTYMENUTEXT_HEAL_FRZ
|
||||
const PARTYMENUTEXT_HEAL_SLP
|
||||
const PARTYMENUTEXT_HEAL_PAR
|
||||
const PARTYMENUTEXT_HEAL_HP
|
||||
const PARTYMENUTEXT_HEAL_ALL
|
||||
const PARTYMENUTEXT_REVIVE
|
||||
const PARTYMENUTEXT_LEVEL_UP
|
||||
const PARTYMENUTEXT_HEAL_CONFUSION
|
||||
|
190
constants/item_data_constants.asm
Normal file
190
constants/item_data_constants.asm
Normal file
@ -0,0 +1,190 @@
|
||||
; item_attributes struct members (see data/items/attributes.asm)
|
||||
const_def
|
||||
const ITEMATTR_PRICE
|
||||
const ITEMATTR_PRICE_HI
|
||||
const ITEMATTR_EFFECT
|
||||
const ITEMATTR_PARAM
|
||||
const ITEMATTR_PERMISSIONS
|
||||
const ITEMATTR_POCKET
|
||||
const ITEMATTR_HELP
|
||||
ITEMATTR_STRUCT_LENGTH EQU const_value
|
||||
|
||||
|
||||
; pack pockets
|
||||
ITEM EQU 1
|
||||
KEY_ITEM EQU 2
|
||||
BALL EQU 3
|
||||
TM_HM EQU 4
|
||||
|
||||
; pack pocket sizes
|
||||
MAX_ITEMS EQU 20
|
||||
MAX_KEY_ITEMS EQU 25
|
||||
MAX_BALLS EQU 12
|
||||
MAX_PC_ITEMS EQU 50
|
||||
|
||||
|
||||
; item menu types
|
||||
ITEMMENU_NOUSE EQU 0
|
||||
ITEMMENU_CURRENT EQU 4
|
||||
ITEMMENU_PARTY EQU 5
|
||||
ITEMMENU_CLOSE EQU 6
|
||||
|
||||
; item actions
|
||||
CANT_SELECT EQU 1 << 6
|
||||
CANT_TOSS EQU 1 << 7
|
||||
|
||||
|
||||
; mail
|
||||
MAIL_MSG_LENGTH EQU $20
|
||||
MAILBOX_CAPACITY EQU 10
|
||||
MAIL_STRUCT_LENGTH EQU $2f ; mailmsg struct
|
||||
|
||||
|
||||
; held item effects
|
||||
const_def
|
||||
const HELD_NONE
|
||||
const HELD_BERRY
|
||||
const HELD_2
|
||||
const HELD_LEFTOVERS
|
||||
const HELD_4
|
||||
const HELD_5
|
||||
const HELD_RESTORE_PP
|
||||
const HELD_7
|
||||
const HELD_CLEANSE_TAG
|
||||
|
||||
const_value SET 10
|
||||
const HELD_HEAL_POISON
|
||||
const HELD_HEAL_FREEZE
|
||||
const HELD_HEAL_BURN
|
||||
const HELD_HEAL_SLEEP
|
||||
const HELD_HEAL_PARALYZE
|
||||
const HELD_HEAL_STATUS
|
||||
const HELD_HEAL_CONFUSION
|
||||
|
||||
const_value SET 20
|
||||
const HELD_PREVENT_POISON
|
||||
const HELD_PREVENT_BURN
|
||||
const HELD_PREVENT_FREEZE
|
||||
const HELD_PREVENT_SLEEP
|
||||
const HELD_PREVENT_PARALYZE
|
||||
const HELD_PREVENT_CONFUSE
|
||||
|
||||
const_value SET 30
|
||||
const HELD_30
|
||||
const HELD_ATTACK_UP
|
||||
const HELD_DEFENSE_UP
|
||||
const HELD_SPEED_UP
|
||||
const HELD_SP_ATTACK_UP
|
||||
const HELD_SP_DEFENSE_UP
|
||||
const HELD_ACCURACY_UP
|
||||
const HELD_EVASION_UP
|
||||
const HELD_38
|
||||
|
||||
const_value SET 40
|
||||
const HELD_40
|
||||
const HELD_41
|
||||
const HELD_METAL_POWDER
|
||||
|
||||
const_value SET 50
|
||||
const HELD_NORMAL_BOOST
|
||||
const HELD_FIGHTING_BOOST
|
||||
const HELD_FLYING_BOOST
|
||||
const HELD_POISON_BOOST
|
||||
const HELD_GROUND_BOOST
|
||||
const HELD_ROCK_BOOST
|
||||
const HELD_BUG_BOOST
|
||||
const HELD_GHOST_BOOST
|
||||
const HELD_FIRE_BOOST
|
||||
const HELD_WATER_BOOST
|
||||
const HELD_GRASS_BOOST
|
||||
const HELD_ELECTRIC_BOOST
|
||||
const HELD_PSYCHIC_BOOST
|
||||
const HELD_ICE_BOOST
|
||||
const HELD_DRAGON_BOOST
|
||||
const HELD_DARK_BOOST
|
||||
const HELD_STEEL_BOOST
|
||||
|
||||
const_value SET 70
|
||||
const HELD_CATCH_CHANCE
|
||||
const HELD_71
|
||||
const HELD_ESCAPE
|
||||
const HELD_CRITICAL_UP
|
||||
const HELD_QUICK_CLAW
|
||||
const HELD_FLINCH
|
||||
const HELD_AMULET_COIN
|
||||
const HELD_BRIGHTPOWDER
|
||||
const HELD_78
|
||||
const HELD_FOCUS_BAND
|
||||
|
||||
|
||||
; mart types (see engine/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
|
||||
|
||||
|
||||
; PartyMenuActionText values
|
||||
; GetPartyMenuTilemapPointers arguments (see engine/party_menu.asm)
|
||||
const_def
|
||||
const PARTYMENUACTION_CHOOSE_POKEMON
|
||||
const PARTYMENUACTION_HEALING_ITEM
|
||||
const PARTYMENUACTION_SWITCH
|
||||
const PARTYMENUACTION_TEACH_TMHM
|
||||
const PARTYMENUACTION_MOVE
|
||||
const PARTYMENUACTION_EVO_STONE
|
||||
const PARTYMENUACTION_GIVE_MON
|
||||
const PARTYMENUACTION_GIVE_MON_FEMALE ; unused
|
||||
const PARTYMENUACTION_GIVE_ITEM
|
||||
const PARTYMENUACTION_MOBILE ; mobile
|
||||
; PrintPartyMenuActionText arguments (see engine/party_menu.asm)
|
||||
const_value set $f0
|
||||
const PARTYMENUTEXT_HEAL_PSN
|
||||
const PARTYMENUTEXT_HEAL_BRN
|
||||
const PARTYMENUTEXT_HEAL_FRZ
|
||||
const PARTYMENUTEXT_HEAL_SLP
|
||||
const PARTYMENUTEXT_HEAL_PAR
|
||||
const PARTYMENUTEXT_HEAL_HP
|
||||
const PARTYMENUTEXT_HEAL_ALL
|
||||
const PARTYMENUTEXT_REVIVE
|
||||
const PARTYMENUTEXT_LEVEL_UP
|
||||
const PARTYMENUTEXT_HEAL_CONFUSION
|
File diff suppressed because it is too large
Load Diff
288
constants/map_data_constants.asm
Normal file
288
constants/map_data_constants.asm
Normal file
@ -0,0 +1,288 @@
|
||||
GROUP_N_A EQU -1
|
||||
MAP_N_A EQU -1
|
||||
GROUP_NONE EQU 0
|
||||
MAP_NONE EQU 0
|
||||
|
||||
; map header struct members (see maps/map_headers.asm)
|
||||
const_def
|
||||
const MAPHEADER_MAPHEADER2_BANK ; 0
|
||||
const MAPHEADER_TILESET ; 1
|
||||
const MAPHEADER_ENVIRONMENT ; 2
|
||||
const MAPHEADER_MAPHEADER2 ; 3
|
||||
const MAPHEADER_MAPHEADER2_HI ; 4
|
||||
const MAPHEADER_LOCATION ; 5
|
||||
const MAPHEADER_MUSIC ; 6
|
||||
const MAPHEADER_PALETTE ; 7
|
||||
const MAPHEADER_FISHGROUP ; 8
|
||||
NUM_MAPHEADER_ATTRIBUTES EQU const_value
|
||||
|
||||
; map environments (wEnvironment)
|
||||
const_value SET 1
|
||||
const TOWN
|
||||
const ROUTE
|
||||
const INDOOR
|
||||
const CAVE
|
||||
const ENVIRONMENT_5
|
||||
const GATE
|
||||
const DUNGEON
|
||||
|
||||
; map palettes (wEnvironment)
|
||||
const_def
|
||||
const PALETTE_AUTO
|
||||
const PALETTE_DAY
|
||||
const PALETTE_NITE
|
||||
const PALETTE_MORN
|
||||
const PALETTE_DARK
|
||||
|
||||
; fish groups
|
||||
const_def
|
||||
const FISHGROUP_NONE
|
||||
const FISHGROUP_SHORE
|
||||
const FISHGROUP_OCEAN
|
||||
const FISHGROUP_LAKE
|
||||
const FISHGROUP_POND
|
||||
const FISHGROUP_DRATINI
|
||||
const FISHGROUP_QWILFISH_SWARM
|
||||
const FISHGROUP_REMORAID_SWARM
|
||||
const FISHGROUP_GYARADOS
|
||||
const FISHGROUP_DRATINI_2
|
||||
const FISHGROUP_WHIRL_ISLANDS
|
||||
const FISHGROUP_QWILFISH
|
||||
const FISHGROUP_REMORAID
|
||||
const FISHGROUP_QWILFISH_NO_SWARM
|
||||
|
||||
|
||||
; connection directions
|
||||
const_def
|
||||
const EAST_F
|
||||
const WEST_F
|
||||
const SOUTH_F
|
||||
const NORTH_F
|
||||
|
||||
; MapConnections
|
||||
const_def
|
||||
shift_const EAST
|
||||
shift_const WEST
|
||||
shift_const SOUTH
|
||||
shift_const NORTH
|
||||
|
||||
|
||||
; object_struct members (see macros/wram.asm)
|
||||
const_def
|
||||
const OBJECT_SPRITE ; 00
|
||||
const OBJECT_MAP_OBJECT_INDEX ; 01
|
||||
const OBJECT_SPRITE_TILE ; 02
|
||||
const OBJECT_MOVEMENTTYPE ; 03
|
||||
const OBJECT_FLAGS1 ; 04
|
||||
const OBJECT_FLAGS2 ; 05
|
||||
const OBJECT_PALETTE ; 06
|
||||
const OBJECT_DIRECTION_WALKING ; 07
|
||||
const OBJECT_FACING ; 08
|
||||
const OBJECT_STEP_TYPE ; 09
|
||||
const OBJECT_STEP_DURATION ; 0a
|
||||
const OBJECT_ACTION ; 0b
|
||||
const OBJECT_STEP_FRAME ; 0c
|
||||
const OBJECT_FACING_STEP ; 0d
|
||||
const OBJECT_NEXT_TILE ; 0e
|
||||
const OBJECT_STANDING_TILE ; 0f
|
||||
const OBJECT_NEXT_MAP_X ; 10
|
||||
const OBJECT_NEXT_MAP_Y ; 11
|
||||
const OBJECT_MAP_X ; 12
|
||||
const OBJECT_MAP_Y ; 13
|
||||
const OBJECT_INIT_X ; 14
|
||||
const OBJECT_INIT_Y ; 15
|
||||
const OBJECT_RADIUS ; 16
|
||||
const OBJECT_SPRITE_X ; 17
|
||||
const OBJECT_SPRITE_Y ; 18
|
||||
const OBJECT_SPRITE_X_OFFSET ; 19
|
||||
const OBJECT_SPRITE_Y_OFFSET ; 1a
|
||||
const OBJECT_MOVEMENT_BYTE_INDEX ; 1b
|
||||
const OBJECT_28 ; 1c
|
||||
const OBJECT_29 ; 1d
|
||||
const OBJECT_30 ; 1e
|
||||
const OBJECT_31 ; 1f
|
||||
const OBJECT_RANGE ; 20
|
||||
; 33-39 are not used
|
||||
|
||||
; map_object struct members (see macros/wram.asm)
|
||||
const_def
|
||||
const MAPOBJECT_OBJECT_STRUCT_ID ; 0
|
||||
const MAPOBJECT_SPRITE ; 1
|
||||
const MAPOBJECT_Y_COORD ; 2
|
||||
const MAPOBJECT_X_COORD ; 3
|
||||
const MAPOBJECT_MOVEMENT ; 4
|
||||
const MAPOBJECT_RADIUS ; 5
|
||||
const MAPOBJECT_HOUR ; 6
|
||||
const MAPOBJECT_TIMEOFDAY ; 7
|
||||
const MAPOBJECT_COLOR ; 8
|
||||
const MAPOBJECT_RANGE ; 9
|
||||
const MAPOBJECT_SCRIPT_POINTER ; a
|
||||
const MAPOBJECT_POINTER_HI ; b
|
||||
const MAPOBJECT_EVENT_FLAG ; c
|
||||
const MAPOBJECT_FLAG_HI ; d
|
||||
const MAPOBJECT_E ; unused
|
||||
const MAPOBJECT_F ; unused
|
||||
OBJECT_LENGTH EQU const_value
|
||||
|
||||
MAPOBJECT_SCREEN_HEIGHT EQU 11
|
||||
MAPOBJECT_SCREEN_WIDTH EQU 12
|
||||
|
||||
; object_struct OBJECT_FACING values
|
||||
OW_DOWN EQU DOWN << 2
|
||||
OW_UP EQU UP << 2
|
||||
OW_LEFT EQU LEFT << 2
|
||||
OW_RIGHT EQU RIGHT << 2
|
||||
|
||||
; object_struct OBJECT_FLAGS1 bit flags
|
||||
INVISIBLE EQU 0
|
||||
FIXED_FACING EQU 2
|
||||
SLIDING EQU 3
|
||||
EMOTE_OBJECT EQU 7
|
||||
|
||||
|
||||
; SpawnPoints indexes (see data/maps/spawn_points.asm)
|
||||
const_value = -1
|
||||
const SPAWN_N_A
|
||||
const SPAWN_HOME
|
||||
const SPAWN_DEBUG
|
||||
; kanto
|
||||
const SPAWN_PALLET
|
||||
const SPAWN_VIRIDIAN
|
||||
const SPAWN_PEWTER
|
||||
const SPAWN_CERULEAN
|
||||
const SPAWN_ROCK_TUNNEL
|
||||
const SPAWN_VERMILION
|
||||
const SPAWN_LAVENDER
|
||||
const SPAWN_SAFFRON
|
||||
const SPAWN_CELADON
|
||||
const SPAWN_FUCHSIA
|
||||
const SPAWN_CINNABAR
|
||||
const SPAWN_INDIGO
|
||||
; johto
|
||||
const SPAWN_NEW_BARK
|
||||
const SPAWN_CHERRYGROVE
|
||||
const SPAWN_VIOLET
|
||||
const SPAWN_UNION_CAVE
|
||||
const SPAWN_AZALEA
|
||||
const SPAWN_CIANWOOD
|
||||
const SPAWN_GOLDENROD
|
||||
const SPAWN_OLIVINE
|
||||
const SPAWN_ECRUTEAK
|
||||
const SPAWN_MAHOGANY
|
||||
const SPAWN_LAKE
|
||||
const SPAWN_BLACKTHORN
|
||||
const SPAWN_MT_SILVER
|
||||
const SPAWN_FAST_SHIP
|
||||
NUM_SPAWNS EQU const_value
|
||||
|
||||
|
||||
; TryBGEvent arguments (see engine/events.asm)
|
||||
const_def
|
||||
const BGEVENT_READ
|
||||
const BGEVENT_UP
|
||||
const BGEVENT_DOWN
|
||||
const BGEVENT_RIGHT
|
||||
const BGEVENT_LEFT
|
||||
const BGEVENT_IFSET
|
||||
const BGEVENT_IFNOTSET
|
||||
const BGEVENT_ITEM
|
||||
const BGEVENT_COPY
|
||||
|
||||
; object_event types
|
||||
; TryObjectEvent arguments (see engine/events.asm)
|
||||
const_def
|
||||
const OBJECTTYPE_SCRIPT
|
||||
const OBJECTTYPE_ITEMBALL
|
||||
const OBJECTTYPE_TRAINER
|
||||
const OBJECTTYPE_3
|
||||
const OBJECTTYPE_4
|
||||
const OBJECTTYPE_5
|
||||
const OBJECTTYPE_6
|
||||
|
||||
|
||||
; Emotes indexes (see data/emotes.asm)
|
||||
const_def
|
||||
const EMOTE_SHOCK ; 0
|
||||
const EMOTE_QUESTION ; 1
|
||||
const EMOTE_HAPPY ; 2
|
||||
const EMOTE_SAD ; 3
|
||||
const EMOTE_HEART ; 4
|
||||
const EMOTE_BOLT ; 5
|
||||
const EMOTE_SLEEP ; 6
|
||||
const EMOTE_FISH ; 7
|
||||
const EMOTE_SHADOW ; 8
|
||||
const EMOTE_ROD ; 9
|
||||
const EMOTE_BOULDER_DUST ; 10
|
||||
const EMOTE_GRASS_RUSTLE ; 11
|
||||
EMOTE_MEM EQU -1
|
||||
|
||||
; FruitTreeItems indexes (see data/items/fruit_trees.asm)
|
||||
const_value SET 1
|
||||
const FRUITTREE_ROUTE_29 ; 01
|
||||
const FRUITTREE_ROUTE_30_1 ; 02
|
||||
const FRUITTREE_ROUTE_38 ; 03
|
||||
const FRUITTREE_ROUTE_46_1 ; 04
|
||||
const FRUITTREE_ROUTE_30_2 ; 05
|
||||
const FRUITTREE_ROUTE_33 ; 06
|
||||
const FRUITTREE_ROUTE_31 ; 07
|
||||
const FRUITTREE_ROUTE_43 ; 08
|
||||
const FRUITTREE_VIOLET_CITY ; 09
|
||||
const FRUITTREE_ROUTE_46_2 ; 0a
|
||||
const FRUITTREE_ROUTE_35 ; 0b
|
||||
const FRUITTREE_ROUTE_45 ; 0c
|
||||
const FRUITTREE_ROUTE_36 ; 0d
|
||||
const FRUITTREE_ROUTE_26 ; 0e
|
||||
const FRUITTREE_ROUTE_39 ; 0f
|
||||
const FRUITTREE_ROUTE_44 ; 10
|
||||
const FRUITTREE_ROUTE_37_1 ; 11
|
||||
const FRUITTREE_ROUTE_37_2 ; 12
|
||||
const FRUITTREE_ROUTE_37_3 ; 13
|
||||
const FRUITTREE_AZALEA_TOWN ; 14
|
||||
const FRUITTREE_ROUTE_42_1 ; 15
|
||||
const FRUITTREE_ROUTE_42_2 ; 16
|
||||
const FRUITTREE_ROUTE_42_3 ; 17
|
||||
const FRUITTREE_ROUTE_11 ; 18
|
||||
const FRUITTREE_ROUTE_2 ; 19
|
||||
const FRUITTREE_ROUTE_1 ; 1a
|
||||
const FRUITTREE_ROUTE_8 ; 1b
|
||||
const FRUITTREE_PEWTER_CITY_1 ; 1c
|
||||
const FRUITTREE_PEWTER_CITY_2 ; 1d
|
||||
const FRUITTREE_FUCHSIA_CITY ; 1e
|
||||
NUM_FRUIT_TREES EQU const_value +- 1
|
||||
|
||||
|
||||
; elevator floors
|
||||
; used by `elevfloor`
|
||||
const_def
|
||||
const FLOOR_B4F
|
||||
const FLOOR_B3F
|
||||
const FLOOR_B2F
|
||||
const FLOOR_B1F
|
||||
const FLOOR_1F
|
||||
const FLOOR_2F
|
||||
const FLOOR_3F
|
||||
const FLOOR_4F
|
||||
const FLOOR_5F
|
||||
const FLOOR_6F
|
||||
const FLOOR_7F
|
||||
const FLOOR_8F
|
||||
const FLOOR_9F
|
||||
const FLOOR_10F
|
||||
const FLOOR_11F
|
||||
const FLOOR_ROOF
|
||||
|
||||
; command queue members
|
||||
CMDQUEUE_TYPE EQU 0
|
||||
CMDQUEUE_ADDR EQU 1
|
||||
CMDQUEUE_03 EQU 3
|
||||
CMDQUEUE_04 EQU 4
|
||||
CMDQUEUE_05 EQU 5
|
||||
CMDQUEUE_ENTRY_SIZE EQU 6
|
||||
CMDQUEUE_CAPACITY EQU 4
|
||||
|
||||
; command queue types
|
||||
CMDQUEUE_STONETABLE EQU 2
|
||||
|
||||
; see engine/overworld.asm
|
||||
MAX_OUTDOOR_SPRITES EQU 23
|
||||
SPRITE_GFX_LIST_CAPACITY EQU $20
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user