Use a macro instead of manually subtracting $36 from pic banks.

This commit is contained in:
yenatch 2015-03-03 17:19:27 -05:00
parent 59434fbe4d
commit 275780271e
5 changed files with 630 additions and 626 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,68 +1,68 @@
dbw BANK(FalknerPic) - $36, FalknerPic
dbw BANK(WhitneyPic) - $36, WhitneyPic
dbw BANK(BugsyPic) - $36, BugsyPic
dbw BANK(MortyPic) - $36, MortyPic
dbw BANK(PrycePic) - $36, PrycePic
dbw BANK(JasminePic) - $36, JasminePic
dbw BANK(ChuckPic) - $36, ChuckPic
dbw BANK(ClairPic) - $36, ClairPic
dbw BANK(Rival1Pic) - $36, Rival1Pic
dbw BANK(PokemonProfPic) - $36, PokemonProfPic
dbw BANK(WillPic) - $36, WillPic
dbw BANK(CalPic) - $36, CalPic
dbw BANK(BrunoPic) - $36, BrunoPic
dbw BANK(KarenPic) - $36, KarenPic
dbw BANK(KogaPic) - $36, KogaPic
dbw BANK(ChampionPic) - $36, ChampionPic
dbw BANK(BrockPic) - $36, BrockPic
dbw BANK(MistyPic) - $36, MistyPic
dbw BANK(LtSurgePic) - $36, LtSurgePic
dbw BANK(ScientistPic) - $36, ScientistPic
dbw BANK(ErikaPic) - $36, ErikaPic
dbw BANK(YoungsterPic) - $36, YoungsterPic
dbw BANK(SchoolboyPic) - $36, SchoolboyPic
dbw BANK(BirdKeeperPic) - $36, BirdKeeperPic
dbw BANK(LassPic) - $36, LassPic
dbw BANK(JaninePic) - $36, JaninePic
dbw BANK(CooltrainermPic) - $36, CooltrainermPic
dbw BANK(CooltrainerfPic) - $36, CooltrainerfPic
dbw BANK(BeautyPic) - $36, BeautyPic
dbw BANK(PokemaniacPic) - $36, PokemaniacPic
dbw BANK(GruntmPic) - $36, GruntmPic
dbw BANK(GentlemanPic) - $36, GentlemanPic
dbw BANK(SkierPic) - $36, SkierPic
dbw BANK(TeacherPic) - $36, TeacherPic
dbw BANK(SabrinaPic) - $36, SabrinaPic
dbw BANK(BugCatcherPic) - $36, BugCatcherPic
dbw BANK(FisherPic) - $36, FisherPic
dbw BANK(SwimmermPic) - $36, SwimmermPic
dbw BANK(SwimmerfPic) - $36, SwimmerfPic
dbw BANK(SailorPic) - $36, SailorPic
dbw BANK(SuperNerdPic) - $36, SuperNerdPic
dbw BANK(Rival2Pic) - $36, Rival2Pic
dbw BANK(GuitaristPic) - $36, GuitaristPic
dbw BANK(HikerPic) - $36, HikerPic
dbw BANK(BikerPic) - $36, BikerPic
dbw BANK(BlainePic) - $36, BlainePic
dbw BANK(BurglarPic) - $36, BurglarPic
dbw BANK(FirebreatherPic) - $36, FirebreatherPic
dbw BANK(JugglerPic) - $36, JugglerPic
dbw BANK(BlackbeltTPic) - $36, BlackbeltTPic
dbw BANK(ExecutivemPic) - $36, ExecutivemPic
dbw BANK(PsychicTPic) - $36, PsychicTPic
dbw BANK(PicnickerPic) - $36, PicnickerPic
dbw BANK(CamperPic) - $36, CamperPic
dbw BANK(ExecutivefPic) - $36, ExecutivefPic
dbw BANK(SagePic) - $36, SagePic
dbw BANK(MediumPic) - $36, MediumPic
dbw BANK(BoarderPic) - $36, BoarderPic
dbw BANK(PokefanmPic) - $36, PokefanmPic
dbw BANK(KimonoGirlPic) - $36, KimonoGirlPic
dbw BANK(TwinsPic) - $36, TwinsPic
dbw BANK(PokefanfPic) - $36, PokefanfPic
dbw BANK(RedPic) - $36, RedPic
dbw BANK(BluePic) - $36, BluePic
dbw BANK(OfficerPic) - $36, OfficerPic
dbw BANK(GruntfPic) - $36, GruntfPic
dbw BANK(MysticalmanPic) - $36, MysticalmanPic
add_pic FalknerPic
add_pic WhitneyPic
add_pic BugsyPic
add_pic MortyPic
add_pic PrycePic
add_pic JasminePic
add_pic ChuckPic
add_pic ClairPic
add_pic Rival1Pic
add_pic PokemonProfPic
add_pic WillPic
add_pic CalPic
add_pic BrunoPic
add_pic KarenPic
add_pic KogaPic
add_pic ChampionPic
add_pic BrockPic
add_pic MistyPic
add_pic LtSurgePic
add_pic ScientistPic
add_pic ErikaPic
add_pic YoungsterPic
add_pic SchoolboyPic
add_pic BirdKeeperPic
add_pic LassPic
add_pic JaninePic
add_pic CooltrainermPic
add_pic CooltrainerfPic
add_pic BeautyPic
add_pic PokemaniacPic
add_pic GruntmPic
add_pic GentlemanPic
add_pic SkierPic
add_pic TeacherPic
add_pic SabrinaPic
add_pic BugCatcherPic
add_pic FisherPic
add_pic SwimmermPic
add_pic SwimmerfPic
add_pic SailorPic
add_pic SuperNerdPic
add_pic Rival2Pic
add_pic GuitaristPic
add_pic HikerPic
add_pic BikerPic
add_pic BlainePic
add_pic BurglarPic
add_pic FirebreatherPic
add_pic JugglerPic
add_pic BlackbeltTPic
add_pic ExecutivemPic
add_pic PsychicTPic
add_pic PicnickerPic
add_pic CamperPic
add_pic ExecutivefPic
add_pic SagePic
add_pic MediumPic
add_pic BoarderPic
add_pic PokefanmPic
add_pic KimonoGirlPic
add_pic TwinsPic
add_pic PokefanfPic
add_pic RedPic
add_pic BluePic
add_pic OfficerPic
add_pic GruntfPic
add_pic MysticalmanPic

View File

@ -1,53 +1,53 @@
dbw BANK(UnownAFrontpic) - $36, UnownAFrontpic
dbw BANK(UnownABackpic) - $36, UnownABackpic
dbw BANK(UnownBFrontpic) - $36, UnownBFrontpic
dbw BANK(UnownBBackpic) - $36, UnownBBackpic
dbw BANK(UnownCFrontpic) - $36, UnownCFrontpic
dbw BANK(UnownCBackpic) - $36, UnownCBackpic
dbw BANK(UnownDFrontpic) - $36, UnownDFrontpic
dbw BANK(UnownDBackpic) - $36, UnownDBackpic
dbw BANK(UnownEFrontpic) - $36, UnownEFrontpic
dbw BANK(UnownEBackpic) - $36, UnownEBackpic
dbw BANK(UnownFFrontpic) - $36, UnownFFrontpic
dbw BANK(UnownFBackpic) - $36, UnownFBackpic
dbw BANK(UnownGFrontpic) - $36, UnownGFrontpic
dbw BANK(UnownGBackpic) - $36, UnownGBackpic
dbw BANK(UnownHFrontpic) - $36, UnownHFrontpic
dbw BANK(UnownHBackpic) - $36, UnownHBackpic
dbw BANK(UnownIFrontpic) - $36, UnownIFrontpic
dbw BANK(UnownIBackpic) - $36, UnownIBackpic
dbw BANK(UnownJFrontpic) - $36, UnownJFrontpic
dbw BANK(UnownJBackpic) - $36, UnownJBackpic
dbw BANK(UnownKFrontpic) - $36, UnownKFrontpic
dbw BANK(UnownKBackpic) - $36, UnownKBackpic
dbw BANK(UnownLFrontpic) - $36, UnownLFrontpic
dbw BANK(UnownLBackpic) - $36, UnownLBackpic
dbw BANK(UnownMFrontpic) - $36, UnownMFrontpic
dbw BANK(UnownMBackpic) - $36, UnownMBackpic
dbw BANK(UnownNFrontpic) - $36, UnownNFrontpic
dbw BANK(UnownNBackpic) - $36, UnownNBackpic
dbw BANK(UnownOFrontpic) - $36, UnownOFrontpic
dbw BANK(UnownOBackpic) - $36, UnownOBackpic
dbw BANK(UnownPFrontpic) - $36, UnownPFrontpic
dbw BANK(UnownPBackpic) - $36, UnownPBackpic
dbw BANK(UnownQFrontpic) - $36, UnownQFrontpic
dbw BANK(UnownQBackpic) - $36, UnownQBackpic
dbw BANK(UnownRFrontpic) - $36, UnownRFrontpic
dbw BANK(UnownRBackpic) - $36, UnownRBackpic
dbw BANK(UnownSFrontpic) - $36, UnownSFrontpic
dbw BANK(UnownSBackpic) - $36, UnownSBackpic
dbw BANK(UnownTFrontpic) - $36, UnownTFrontpic
dbw BANK(UnownTBackpic) - $36, UnownTBackpic
dbw BANK(UnownUFrontpic) - $36, UnownUFrontpic
dbw BANK(UnownUBackpic) - $36, UnownUBackpic
dbw BANK(UnownVFrontpic) - $36, UnownVFrontpic
dbw BANK(UnownVBackpic) - $36, UnownVBackpic
dbw BANK(UnownWFrontpic) - $36, UnownWFrontpic
dbw BANK(UnownWBackpic) - $36, UnownWBackpic
dbw BANK(UnownXFrontpic) - $36, UnownXFrontpic
dbw BANK(UnownXBackpic) - $36, UnownXBackpic
dbw BANK(UnownYFrontpic) - $36, UnownYFrontpic
dbw BANK(UnownYBackpic) - $36, UnownYBackpic
dbw BANK(UnownZFrontpic) - $36, UnownZFrontpic
dbw BANK(UnownZBackpic) - $36, UnownZBackpic
add_pic UnownAFrontpic
add_pic UnownABackpic
add_pic UnownBFrontpic
add_pic UnownBBackpic
add_pic UnownCFrontpic
add_pic UnownCBackpic
add_pic UnownDFrontpic
add_pic UnownDBackpic
add_pic UnownEFrontpic
add_pic UnownEBackpic
add_pic UnownFFrontpic
add_pic UnownFBackpic
add_pic UnownGFrontpic
add_pic UnownGBackpic
add_pic UnownHFrontpic
add_pic UnownHBackpic
add_pic UnownIFrontpic
add_pic UnownIBackpic
add_pic UnownJFrontpic
add_pic UnownJBackpic
add_pic UnownKFrontpic
add_pic UnownKBackpic
add_pic UnownLFrontpic
add_pic UnownLBackpic
add_pic UnownMFrontpic
add_pic UnownMBackpic
add_pic UnownNFrontpic
add_pic UnownNBackpic
add_pic UnownOFrontpic
add_pic UnownOBackpic
add_pic UnownPFrontpic
add_pic UnownPBackpic
add_pic UnownQFrontpic
add_pic UnownQBackpic
add_pic UnownRFrontpic
add_pic UnownRBackpic
add_pic UnownSFrontpic
add_pic UnownSBackpic
add_pic UnownTFrontpic
add_pic UnownTBackpic
add_pic UnownUFrontpic
add_pic UnownUBackpic
add_pic UnownVFrontpic
add_pic UnownVBackpic
add_pic UnownWFrontpic
add_pic UnownWBackpic
add_pic UnownXFrontpic
add_pic UnownXBackpic
add_pic UnownYFrontpic
add_pic UnownYBackpic
add_pic UnownZFrontpic
add_pic UnownZBackpic

View File

@ -6,6 +6,7 @@ INCLUDE "macros/move_effect.asm"
INCLUDE "macros/move_anim.asm"
INCLUDE "macros/movement.asm"
INCLUDE "macros/map.asm"
INCLUDE "macros/pic.asm"
INCLUDE "macros/predef.asm"
INCLUDE "macros/rst.asm"
INCLUDE "macros/mobile.asm"

4
macros/pic.asm Normal file
View File

@ -0,0 +1,4 @@
add_pic: MACRO
db BANK(\1) - $36
dw \1
ENDM