sprite_header and emote_header

This commit is contained in:
PikalaxALT 2015-11-03 09:16:56 -05:00
parent 1c1fe276ca
commit 4a16bbe45a
10 changed files with 154 additions and 377 deletions

View File

@ -566,6 +566,7 @@ const_value SET 1
const MAPOBJECT_FLAG_HI ; d const MAPOBJECT_FLAG_HI ; d
const MAPOBJECT_E ; unused const MAPOBJECT_E ; unused
const MAPOBJECT_F ; unused const MAPOBJECT_F ; unused
OBJECT_LENGTH EQU const_value
MAPOBJECT_SCREEN_HEIGHT EQU 11 MAPOBJECT_SCREEN_HEIGHT EQU 11
MAPOBJECT_SCREEN_WIDTH EQU 12 MAPOBJECT_SCREEN_WIDTH EQU 12

View File

@ -54,7 +54,6 @@ SATURDAY EQU 6
PLAYER_OBJECT EQU 0 PLAYER_OBJECT EQU 0
NUM_OBJECTS EQU $10 NUM_OBJECTS EQU $10
OBJECT_LENGTH EQU $10
; InputType: ; c2c7 ; InputType: ; c2c7
AUTO_INPUT EQU $ff AUTO_INPUT EQU $ff

Binary file not shown.

1
gfx/misc/fishing1.2bpp Normal file
View File

@ -0,0 +1 @@
????

BIN
gfx/misc/fishing2.2bpp Normal file

Binary file not shown.

BIN
gfx/misc/fishing3.2bpp Normal file

Binary file not shown.

1
gfx/misc/fishing4.2bpp Normal file
View File

@ -0,0 +1 @@
@ 2 d 6 

View File

@ -3,614 +3,416 @@
; Length, Bank ; Length, Bank
; Type, Palette ; Type, Palette
sprite_header: MACRO
dw \1
db \2 * $40, BANK(\1)
db \3, \4
ENDM
ChrisSprite: ; 14736 ChrisSprite: ; 14736
dw ChrisSpriteGFX sprite_header ChrisSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(ChrisSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1473c ; 1473c
ChrisBikeSprite: ; 1473c ChrisBikeSprite: ; 1473c
dw ChrisBikeSpriteGFX sprite_header ChrisBikeSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(ChrisBikeSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14742 ; 14742
GameboyKidSprite: ; 14742 GameboyKidSprite: ; 14742
dw GameboyKidSpriteGFX sprite_header GameboyKidSpriteGFX, 3, STANDING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(GameboyKidSpriteGFX)
db STANDING_SPRITE, PAL_OW_GREEN
; 14748 ; 14748
SilverSprite: ; 14748 SilverSprite: ; 14748
dw SilverSpriteGFX sprite_header SilverSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(SilverSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1474e ; 1474e
OakSprite: ; 1474e OakSprite: ; 1474e
dw OakSpriteGFX sprite_header OakSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(OakSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14754 ; 14754
RedSprite: ; 14754 RedSprite: ; 14754
dw RedSpriteGFX sprite_header RedSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(RedSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1475a ; 1475a
BlueSprite: ; 1475a BlueSprite: ; 1475a
dw BlueSpriteGFX sprite_header BlueSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(BlueSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14760 ; 14760
BillSprite: ; 14760 BillSprite: ; 14760
dw BillSpriteGFX sprite_header BillSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(BillSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14766 ; 14766
ElderSprite: ; 14766 ElderSprite: ; 14766
dw ElderSpriteGFX sprite_header ElderSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(ElderSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 1476c ; 1476c
JanineSprite: ; 1476c JanineSprite: ; 1476c
dw JanineSpriteGFX sprite_header JanineSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(JanineSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14772 ; 14772
KurtSprite: ; 14772 KurtSprite: ; 14772
dw KurtSpriteGFX sprite_header KurtSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(KurtSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14778 ; 14778
MomSprite: ; 14778 MomSprite: ; 14778
dw MomSpriteGFX sprite_header MomSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(MomSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1477e ; 1477e
BlaineSprite: ; 1477e BlaineSprite: ; 1477e
dw BlaineSpriteGFX sprite_header BlaineSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(BlaineSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14784 ; 14784
RedsMomSprite: ; 14784 RedsMomSprite: ; 14784
dw RedsMomSpriteGFX sprite_header RedsMomSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(RedsMomSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1478a ; 1478a
DaisySprite: ; 1478a DaisySprite: ; 1478a
dw DaisySpriteGFX sprite_header DaisySpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(DaisySpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14790 ; 14790
ElmSprite: ; 14790 ElmSprite: ; 14790
dw ElmSpriteGFX sprite_header ElmSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(ElmSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14796 ; 14796
WillSprite: ; 14796 WillSprite: ; 14796
dw WillSpriteGFX sprite_header WillSpriteGFX, 3, STANDING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(WillSpriteGFX)
db STANDING_SPRITE, PAL_OW_RED
; 1479c ; 1479c
FalknerSprite: ; 1479c FalknerSprite: ; 1479c
dw FalknerSpriteGFX sprite_header FalknerSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(FalknerSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 147a2 ; 147a2
WhitneySprite: ; 147a2 WhitneySprite: ; 147a2
dw WhitneySpriteGFX sprite_header WhitneySpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(WhitneySpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 147a8 ; 147a8
BugsySprite: ; 147a8 BugsySprite: ; 147a8
dw BugsySpriteGFX sprite_header BugsySpriteGFX, 3, WALKING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(BugsySpriteGFX)
db WALKING_SPRITE, PAL_OW_GREEN
; 147ae ; 147ae
MortySprite: ; 147ae MortySprite: ; 147ae
dw MortySpriteGFX sprite_header MortySpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(MortySpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 147b4 ; 147b4
ChuckSprite: ; 147b4 ChuckSprite: ; 147b4
dw ChuckSpriteGFX sprite_header ChuckSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(ChuckSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 147ba ; 147ba
JasmineSprite: ; 147ba JasmineSprite: ; 147ba
dw JasmineSpriteGFX sprite_header JasmineSpriteGFX, 3, WALKING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(JasmineSpriteGFX)
db WALKING_SPRITE, PAL_OW_GREEN
; 147c0 ; 147c0
PryceSprite: ; 147c0 PryceSprite: ; 147c0
dw PryceSpriteGFX sprite_header PryceSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(PryceSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 147c6 ; 147c6
ClairSprite: ; 147c6 ClairSprite: ; 147c6
dw ClairSpriteGFX sprite_header ClairSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(ClairSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 147cc ; 147cc
BrockSprite: ; 147cc BrockSprite: ; 147cc
dw BrockSpriteGFX sprite_header BrockSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(BrockSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 147d2 ; 147d2
KarenSprite: ; 147d2 KarenSprite: ; 147d2
dw KarenSpriteGFX sprite_header KarenSpriteGFX, 3, STANDING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(KarenSpriteGFX)
db STANDING_SPRITE, PAL_OW_BLUE
; 147d8 ; 147d8
BrunoSprite: ; 147d8 BrunoSprite: ; 147d8
dw BrunoSpriteGFX sprite_header BrunoSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(BrunoSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 147de ; 147de
MistySprite: ; 147de MistySprite: ; 147de
dw MistySpriteGFX sprite_header MistySpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(MistySpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 147e4 ; 147e4
LanceSprite: ; 147e4 LanceSprite: ; 147e4
dw LanceSpriteGFX sprite_header LanceSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(LanceSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 147ea ; 147ea
SurgeSprite: ; 147ea SurgeSprite: ; 147ea
dw SurgeSpriteGFX sprite_header SurgeSpriteGFX, 3, WALKING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(SurgeSpriteGFX)
db WALKING_SPRITE, PAL_OW_GREEN
; 147f0 ; 147f0
ErikaSprite: ; 147f0 ErikaSprite: ; 147f0
dw ErikaSpriteGFX sprite_header ErikaSpriteGFX, 3, WALKING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(ErikaSpriteGFX)
db WALKING_SPRITE, PAL_OW_GREEN
; 147f6 ; 147f6
KogaSprite: ; 147f6 KogaSprite: ; 147f6
dw KogaSpriteGFX sprite_header KogaSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(KogaSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 147fc ; 147fc
SabrinaSprite: ; 147fc SabrinaSprite: ; 147fc
dw SabrinaSpriteGFX sprite_header SabrinaSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(SabrinaSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14802 ; 14802
CooltrainerMSprite: ; 14802 CooltrainerMSprite: ; 14802
dw CooltrainerMSpriteGFX sprite_header CooltrainerMSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(CooltrainerMSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14808 ; 14808
CooltrainerFSprite: ; 14808 CooltrainerFSprite: ; 14808
dw CooltrainerFSpriteGFX sprite_header CooltrainerFSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(CooltrainerFSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 1480e ; 1480e
BugCatcherSprite: ; 1480e BugCatcherSprite: ; 1480e
dw BugCatcherSpriteGFX sprite_header BugCatcherSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(BugCatcherSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14814 ; 14814
TwinSprite: ; 14814 TwinSprite: ; 14814
dw TwinSpriteGFX sprite_header TwinSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(TwinSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1481a ; 1481a
YoungsterSprite: ; 1481a YoungsterSprite: ; 1481a
dw YoungsterSpriteGFX sprite_header YoungsterSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(YoungsterSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14820 ; 14820
LassSprite: ; 14820 LassSprite: ; 14820
dw LassSpriteGFX sprite_header LassSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(LassSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14826 ; 14826
TeacherSprite: ; 14826 TeacherSprite: ; 14826
dw TeacherSpriteGFX sprite_header TeacherSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(TeacherSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1482c ; 1482c
BuenaSprite: ; 1482c BuenaSprite: ; 1482c
dw BuenaSpriteGFX sprite_header BuenaSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(BuenaSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14832 ; 14832
SuperNerdSprite: ; 14832 SuperNerdSprite: ; 14832
dw SuperNerdSpriteGFX sprite_header SuperNerdSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(SuperNerdSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14838 ; 14838
RockerSprite: ; 14838 RockerSprite: ; 14838
dw RockerSpriteGFX sprite_header RockerSpriteGFX, 3, WALKING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(RockerSpriteGFX)
db WALKING_SPRITE, PAL_OW_GREEN
; 1483e ; 1483e
PokefanMSprite: ; 1483e PokefanMSprite: ; 1483e
dw PokefanMSpriteGFX sprite_header PokefanMSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(PokefanMSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14844 ; 14844
PokefanFSprite: ; 14844 PokefanFSprite: ; 14844
dw PokefanFSpriteGFX sprite_header PokefanFSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(PokefanFSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 1484a ; 1484a
GrampsSprite: ; 1484a GrampsSprite: ; 1484a
dw GrampsSpriteGFX sprite_header GrampsSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(GrampsSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14850 ; 14850
GrannySprite: ; 14850 GrannySprite: ; 14850
dw GrannySpriteGFX sprite_header GrannySpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(GrannySpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14856 ; 14856
SwimmerGuySprite: ; 14856 SwimmerGuySprite: ; 14856
dw SwimmerGuySpriteGFX sprite_header SwimmerGuySpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(SwimmerGuySpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 1485c ; 1485c
SwimmerGirlSprite: ; 1485c SwimmerGirlSprite: ; 1485c
dw SwimmerGirlSpriteGFX sprite_header SwimmerGirlSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(SwimmerGirlSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14862 ; 14862
BigSnorlaxSprite: ; 14862 BigSnorlaxSprite: ; 14862
dw BigSnorlaxSpriteGFX sprite_header BigSnorlaxSpriteGFX, 3, STANDING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(BigSnorlaxSpriteGFX)
db STANDING_SPRITE, PAL_OW_BLUE
; 14868 ; 14868
SurfingPikachuSprite: ; 14868 SurfingPikachuSprite: ; 14868
dw SurfingPikachuSpriteGFX sprite_header SurfingPikachuSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(SurfingPikachuSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1486e ; 1486e
RocketSprite: ; 1486e RocketSprite: ; 1486e
dw RocketSpriteGFX sprite_header RocketSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(RocketSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 14874 ; 14874
RocketGirlSprite: ; 14874 RocketGirlSprite: ; 14874
dw RocketGirlSpriteGFX sprite_header RocketGirlSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(RocketGirlSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 1487a ; 1487a
NurseSprite: ; 1487a NurseSprite: ; 1487a
dw NurseSpriteGFX sprite_header NurseSpriteGFX, 3, STANDING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(NurseSpriteGFX)
db STANDING_SPRITE, PAL_OW_RED
; 14880 ; 14880
LinkReceptionistSprite: ; 14880 LinkReceptionistSprite: ; 14880
dw LinkReceptionistSpriteGFX sprite_header LinkReceptionistSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(LinkReceptionistSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14886 ; 14886
ClerkSprite: ; 14886 ClerkSprite: ; 14886
dw ClerkSpriteGFX sprite_header ClerkSpriteGFX, 3, WALKING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(ClerkSpriteGFX)
db WALKING_SPRITE, PAL_OW_GREEN
; 1488c ; 1488c
FisherSprite: ; 1488c FisherSprite: ; 1488c
dw FisherSpriteGFX sprite_header FisherSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(FisherSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14892 ; 14892
FishingGuruSprite: ; 14892 FishingGuruSprite: ; 14892
dw FishingGuruSpriteGFX sprite_header FishingGuruSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(FishingGuruSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14898 ; 14898
ScientistSprite: ; 14898 ScientistSprite: ; 14898
dw ScientistSpriteGFX sprite_header ScientistSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(ScientistSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 1489e ; 1489e
KimonoGirlSprite: ; 1489e KimonoGirlSprite: ; 1489e
dw KimonoGirlSpriteGFX sprite_header KimonoGirlSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(KimonoGirlSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 148a4 ; 148a4
SageSprite: ; 148a4 SageSprite: ; 148a4
dw SageSpriteGFX sprite_header SageSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(SageSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 148aa ; 148aa
UnusedGuySprite: ; 148aa UnusedGuySprite: ; 148aa
dw UnusedGuySpriteGFX sprite_header UnusedGuySpriteGFX, 3, STANDING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(UnusedGuySpriteGFX)
db STANDING_SPRITE, PAL_OW_RED
; 148b0 ; 148b0
GentlemanSprite: ; 148b0 GentlemanSprite: ; 148b0
dw GentlemanSpriteGFX sprite_header GentlemanSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(GentlemanSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 148b6 ; 148b6
BlackBeltSprite: ; 148b6 BlackBeltSprite: ; 148b6
dw BlackBeltSpriteGFX sprite_header BlackBeltSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(BlackBeltSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 148bc ; 148bc
ReceptionistSprite: ; 148bc ReceptionistSprite: ; 148bc
dw ReceptionistSpriteGFX sprite_header ReceptionistSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(ReceptionistSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 148c2 ; 148c2
OfficerSprite: ; 148c2 OfficerSprite: ; 148c2
dw OfficerSpriteGFX sprite_header OfficerSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(OfficerSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 148c8 ; 148c8
CalSprite: ; 148c8 CalSprite: ; 148c8
dw CalSpriteGFX sprite_header CalSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(CalSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 148ce ; 148ce
SlowpokeSprite: ; 148ce SlowpokeSprite: ; 148ce
dw SlowpokeSpriteGFX sprite_header SlowpokeSpriteGFX, 1, STILL_SPRITE, PAL_OW_RED
db $1 * $40, BANK(SlowpokeSpriteGFX)
db STILL_SPRITE, PAL_OW_RED
; 148d4 ; 148d4
CaptainSprite: ; 148d4 CaptainSprite: ; 148d4
dw CaptainSpriteGFX sprite_header CaptainSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(CaptainSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 148da ; 148da
BigLaprasSprite: ; 148da BigLaprasSprite: ; 148da
dw BigLaprasSpriteGFX sprite_header BigLaprasSpriteGFX, 3, STANDING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(BigLaprasSpriteGFX)
db STANDING_SPRITE, PAL_OW_BLUE
; 148e0 ; 148e0
GymGuySprite: ; 148e0 GymGuySprite: ; 148e0
dw GymGuySpriteGFX sprite_header GymGuySpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(GymGuySpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 148e6 ; 148e6
SailorSprite: ; 148e6 SailorSprite: ; 148e6
dw SailorSpriteGFX sprite_header SailorSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(SailorSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 148ec ; 148ec
BikerSprite: ; 148ec BikerSprite: ; 148ec
dw BikerSpriteGFX sprite_header BikerSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(BikerSpriteGFX)
db WALKING_SPRITE, PAL_OW_BROWN
; 148f2 ; 148f2
PharmacistSprite: ; 148f2 PharmacistSprite: ; 148f2
dw PharmacistSpriteGFX sprite_header PharmacistSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(PharmacistSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 148f8 ; 148f8
MonsterSprite: ; 148f8 MonsterSprite: ; 148f8
dw MonsterSpriteGFX sprite_header MonsterSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(MonsterSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 148fe ; 148fe
FairySprite: ; 148fe FairySprite: ; 148fe
dw FairySpriteGFX sprite_header FairySpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(FairySpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14904 ; 14904
BirdSprite: ; 14904 BirdSprite: ; 14904
dw BirdSpriteGFX sprite_header BirdSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(BirdSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 1490a ; 1490a
DragonSprite: ; 1490a DragonSprite: ; 1490a
dw DragonSpriteGFX sprite_header DragonSpriteGFX, 3, WALKING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(DragonSpriteGFX)
db WALKING_SPRITE, PAL_OW_RED
; 14910 ; 14910
BigOnixSprite: ; 14910 BigOnixSprite: ; 14910
dw BigOnixSpriteGFX sprite_header BigOnixSpriteGFX, 3, STANDING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(BigOnixSpriteGFX)
db STANDING_SPRITE, PAL_OW_BROWN
; 14916 ; 14916
N64Sprite: ; 14916 N64Sprite: ; 14916
dw N64SpriteGFX sprite_header N64SpriteGFX, 1, STILL_SPRITE, PAL_OW_BROWN
db $1 * $40, BANK(N64SpriteGFX)
db STILL_SPRITE, PAL_OW_BROWN
; 1491c ; 1491c
SudowoodoSprite: ; 1491c SudowoodoSprite: ; 1491c
dw SudowoodoSpriteGFX sprite_header SudowoodoSpriteGFX, 3, STANDING_SPRITE, PAL_OW_GREEN
db $3 * $40, BANK(SudowoodoSpriteGFX)
db STANDING_SPRITE, PAL_OW_GREEN
; 14922 ; 14922
SurfSprite: ; 14922 SurfSprite: ; 14922
dw SurfSpriteGFX sprite_header SurfSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(SurfSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14928 ; 14928
PokeBallSprite: ; 14928 PokeBallSprite: ; 14928
dw PokeBallSpriteGFX sprite_header PokeBallSpriteGFX, 1, STILL_SPRITE, PAL_OW_RED
db $1 * $40, BANK(PokeBallSpriteGFX)
db STILL_SPRITE, PAL_OW_RED
; 1492e ; 1492e
PokedexSprite: ; 1492e PokedexSprite: ; 1492e
dw PokedexSpriteGFX sprite_header PokedexSpriteGFX, 1, STILL_SPRITE, PAL_OW_BROWN
db $1 * $40, BANK(PokedexSpriteGFX)
db STILL_SPRITE, PAL_OW_BROWN
; 14934 ; 14934
PaperSprite: ; 14934 PaperSprite: ; 14934
dw PaperSpriteGFX sprite_header PaperSpriteGFX, 1, STILL_SPRITE, PAL_OW_BLUE
db $1 * $40, BANK(PaperSpriteGFX)
db STILL_SPRITE, PAL_OW_BLUE
; 1493a ; 1493a
VirtualBoySprite: ; 1493a VirtualBoySprite: ; 1493a
dw VirtualBoySpriteGFX sprite_header VirtualBoySpriteGFX, 1, STILL_SPRITE, PAL_OW_RED
db $1 * $40, BANK(VirtualBoySpriteGFX)
db STILL_SPRITE, PAL_OW_RED
; 14940 ; 14940
OldLinkReceptionistSprite: ; 14940 OldLinkReceptionistSprite: ; 14940
dw OldLinkReceptionistSpriteGFX sprite_header OldLinkReceptionistSpriteGFX, 3, STANDING_SPRITE, PAL_OW_RED
db $3 * $40, BANK(OldLinkReceptionistSpriteGFX)
db STANDING_SPRITE, PAL_OW_RED
; 14946 ; 14946
RockSprite: ; 14946 RockSprite: ; 14946
dw RockSpriteGFX sprite_header RockSpriteGFX, 1, STILL_SPRITE, PAL_OW_ROCK
db $1 * $40, BANK(RockSpriteGFX)
db STILL_SPRITE, PAL_OW_ROCK
; 1494c ; 1494c
BoulderSprite: ; 1494c BoulderSprite: ; 1494c
dw BoulderSpriteGFX sprite_header BoulderSpriteGFX, 1, STILL_SPRITE, PAL_OW_ROCK
db $1 * $40, BANK(BoulderSpriteGFX)
db STILL_SPRITE, PAL_OW_ROCK
; 14952 ; 14952
SnesSprite: ; 14952 SnesSprite: ; 14952
dw SnesSpriteGFX sprite_header SnesSpriteGFX, 1, STILL_SPRITE, PAL_OW_BLUE
db $1 * $40, BANK(SnesSpriteGFX)
db STILL_SPRITE, PAL_OW_BLUE
; 14958 ; 14958
FamicomSprite: ; 14958 FamicomSprite: ; 14958
dw FamicomSpriteGFX sprite_header FamicomSpriteGFX, 1, STILL_SPRITE, PAL_OW_RED
db $1 * $40, BANK(FamicomSpriteGFX)
db STILL_SPRITE, PAL_OW_RED
; 1495e ; 1495e
FruitTreeSprite: ; 1495e FruitTreeSprite: ; 1495e
dw FruitTreeSpriteGFX sprite_header FruitTreeSpriteGFX, 1, STILL_SPRITE, PAL_OW_TREE
db $1 * $40, BANK(FruitTreeSpriteGFX)
db STILL_SPRITE, PAL_OW_TREE
; 14964 ; 14964
GoldTrophySprite: ; 14964 GoldTrophySprite: ; 14964
dw GoldTrophySpriteGFX sprite_header GoldTrophySpriteGFX, 1, STILL_SPRITE, PAL_OW_BROWN
db $1 * $40, BANK(GoldTrophySpriteGFX)
db STILL_SPRITE, PAL_OW_BROWN
; 1496a ; 1496a
SilverTrophySprite: ; 1496a SilverTrophySprite: ; 1496a
dw SilverTrophySpriteGFX sprite_header SilverTrophySpriteGFX, 1, STILL_SPRITE, PAL_OW_SILVER
db $1 * $40, BANK(SilverTrophySpriteGFX)
db STILL_SPRITE, PAL_OW_SILVER
; 14970 ; 14970
KrisSprite: ; 14970 KrisSprite: ; 14970
dw KrisSpriteGFX sprite_header KrisSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(KrisSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 14976 ; 14976
KrisBikeSprite: ; 14976 KrisBikeSprite: ; 14976
dw KrisBikeSpriteGFX sprite_header KrisBikeSpriteGFX, 3, WALKING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(KrisBikeSpriteGFX)
db WALKING_SPRITE, PAL_OW_BLUE
; 1497c ; 1497c
KurtOutsideSprite: ; 1497c KurtOutsideSprite: ; 1497c
dw KurtOutsideSpriteGFX sprite_header KurtOutsideSpriteGFX, 3, STANDING_SPRITE, PAL_OW_BROWN
db $3 * $40, BANK(KurtOutsideSpriteGFX)
db STANDING_SPRITE, PAL_OW_BROWN
; 14982 ; 14982
SuicuneSprite: ; 14982 SuicuneSprite: ; 14982
dw SuicuneSpriteGFX sprite_header SuicuneSpriteGFX, 1, STILL_SPRITE, PAL_OW_BLUE
db $1 * $40, BANK(SuicuneSpriteGFX)
db STILL_SPRITE, PAL_OW_BLUE
; 14988 ; 14988
EnteiSprite: ; 14988 EnteiSprite: ; 14988
dw EnteiSpriteGFX sprite_header EnteiSpriteGFX, 1, STILL_SPRITE, PAL_OW_RED
db $1 * $40, BANK(EnteiSpriteGFX)
db STILL_SPRITE, PAL_OW_RED
; 1498e ; 1498e
RaikouSprite: ; 1498e RaikouSprite: ; 1498e
dw RaikouSpriteGFX sprite_header RaikouSpriteGFX, 1, STILL_SPRITE, PAL_OW_RED
db $1 * $40, BANK(RaikouSpriteGFX)
db STILL_SPRITE, PAL_OW_RED
; 14994 ; 14994
StandingYoungsterSprite: ; 14994 StandingYoungsterSprite: ; 14994
dw StandingYoungsterSpriteGFX sprite_header StandingYoungsterSpriteGFX, 3, STANDING_SPRITE, PAL_OW_BLUE
db $3 * $40, BANK(StandingYoungsterSpriteGFX)
db STANDING_SPRITE, PAL_OW_BLUE
; 1499a ; 1499a

111
main.asm
View File

@ -16193,26 +16193,26 @@ Function14135:: ; 14135
; 14146 ; 14146
Function14146: ; 14146 Function14146: ; 14146
ld hl, wd13e ld hl, wSpriteFlags
ld a, [hl] ld a, [hl]
push af push af
res 7, [hl] res 7, [hl]
set 6, [hl] set 6, [hl]
call RunCallback_04 call RunCallback_04
pop af pop af
ld [wd13e], a ld [wSpriteFlags], a
ret ret
; 14157 ; 14157
Function14157: ; 14157 Function14157: ; 14157
ld hl, wd13e ld hl, wSpriteFlags
ld a, [hl] ld a, [hl]
push af push af
set 7, [hl] set 7, [hl]
res 6, [hl] res 6, [hl]
call RunCallback_04 call RunCallback_04
pop af pop af
ld [wd13e], a ld [wSpriteFlags], a
ret ret
; 14168 ; 14168
@ -16225,7 +16225,7 @@ Function14168:: ; 14168
Function1416f: ; 1416f Function1416f: ; 1416f
xor a xor a
ld bc, $0040 ld bc, UsedSpritesEnd - UsedSprites
ld hl, UsedSprites ld hl, UsedSprites
call ByteFill call ByteFill
call GetPlayerSprite call GetPlayerSprite
@ -16254,7 +16254,7 @@ GetPlayerSprite: ; 14183
.loop .loop
ld a, [hli] ld a, [hli]
cp c cp c
jr z, .asm_141ac jr z, .good
inc hl inc hl
cp $ff cp $ff
jr nz, .loop jr nz, .loop
@ -16263,15 +16263,15 @@ GetPlayerSprite: ; 14183
xor a ; ld a, PLAYER_NORMAL xor a ; ld a, PLAYER_NORMAL
ld [PlayerState], a ld [PlayerState], a
ld a, SPRITE_CHRIS ld a, SPRITE_CHRIS
jr .asm_141ad jr .finish
.asm_141ac .good
ld a, [hl] ld a, [hl]
.asm_141ad .finish
ld [UsedSprites + 0], a ld [UsedSprites + 0], a
ld [PlayerStruct + 0], a ld [PlayerSprite], a
ld [MapObjects + OBJECT_LENGTH * 0 + 1], a ld [MapObjects + OBJECT_LENGTH * PLAYER_OBJECT + MAPOBJECT_SPRITE], a
ret ret
.Chris .Chris
@ -16303,7 +16303,7 @@ AddMapSprites: ; 141c9
AddIndoorSprites: ; 141d9 AddIndoorSprites: ; 141d9
ld hl, MapObjects + 1 * OBJECT_LENGTH + 1 ; sprite ld hl, MapObjects + 1 * OBJECT_LENGTH + MAPOBJECT_SPRITE ; sprite
ld a, 1 ld a, 1
.loop .loop
push af push af
@ -16352,7 +16352,7 @@ RunCallback_04: ; 14209
; 14215 ; 14215
Function14215: ; 14215 Function14215: ; 14215
ld a, [wd13e] ld a, [wSpriteFlags]
bit 6, a bit 6, a
ret nz ret nz
ld c, $8 ld c, $8
@ -16755,9 +16755,9 @@ Function1439b: ; 1439b
ld hl, UsedSprites ld hl, UsedSprites
ld c, SPRITE_GFX_LIST_CAPACITY ld c, SPRITE_GFX_LIST_CAPACITY
.loop .loop
ld a, [wd13e] ld a, [wSpriteFlags]
res 5, a res 5, a
ld [wd13e], a ld [wSpriteFlags], a
ld a, [hli] ld a, [hli]
and a and a
jr z, .done jr z, .done
@ -16766,9 +16766,9 @@ Function1439b: ; 1439b
ld [hUsedSpriteTile], a ld [hUsedSpriteTile], a
bit 7, a bit 7, a
jr z, .dont_set jr z, .dont_set
ld a, [wd13e] ld a, [wSpriteFlags]
set 5, a set 5, a
ld [wd13e], a ld [wSpriteFlags], a
.dont_set .dont_set
push bc push bc
@ -16791,7 +16791,7 @@ Function143c8: ; 143c8
push hl push hl
push de push de
push bc push bc
ld a, [wd13e] ld a, [wSpriteFlags]
bit 7, a bit 7, a
jr nz, .asm_143df jr nz, .asm_143df
call Function14418 call Function14418
@ -16808,7 +16808,7 @@ endr
ld d, h ld d, h
ld e, l ld e, l
pop hl pop hl
ld a, [wd13e] ld a, [wSpriteFlags]
bit 5, a bit 5, a
jr nz, .asm_14405 jr nz, .asm_14405
bit 6, a bit 6, a
@ -16845,7 +16845,7 @@ endr
Function14418: ; 14418 Function14418: ; 14418
ld a, [rVBK] ld a, [rVBK]
push af push af
ld a, [wd13e] ld a, [wSpriteFlags]
bit 5, a bit 5, a
ld a, $1 ld a, $1
jr z, .asm_14426 jr z, .asm_14426
@ -16889,59 +16889,29 @@ LoadEmote:: ; 1442f
ret ret
; 1444d ; 1444d
emote_header: MACRO
dw \1
db \2 * $10, BANK(\1)
dw \3
ENDM
EmotesPointers: ; 144d EmotesPointers: ; 144d
; dw source address ; dw source address
; db length, bank ; db length, bank
; dw dest address ; dw dest address
dw ShockEmote emote_header ShockEmote, 4, VTiles1 tile $78
db 4 * $10, BANK(ShockEmote) emote_header QuestionEmote, 4, VTiles1 tile $78
dw VTiles1 tile $78 emote_header HappyEmote, 4, VTiles1 tile $78
emote_header SadEmote, 4, VTiles1 tile $78
dw QuestionEmote emote_header HeartEmote, 4, VTiles1 tile $78
db 4 * $10, BANK(QuestionEmote) emote_header BoltEmote, 4, VTiles1 tile $78
dw VTiles1 tile $78 emote_header SleepEmote, 4, VTiles1 tile $78
emote_header FishEmote, 4, VTiles1 tile $78
dw HappyEmote emote_header FishingRodGFX1, 1, VTiles1 tile $7c
db 4 * $10, BANK(HappyEmote) emote_header FishingRodGFX2, 2, VTiles1 tile $7c
dw VTiles1 tile $78 emote_header FishingRodGFX3, 2, VTiles1 tile $7e
emote_header FishingRodGFX4, 1, VTiles1 tile $7e
dw SadEmote
db 4 * $10, BANK(SadEmote)
dw VTiles1 tile $78
dw HeartEmote
db 4 * $10, BANK(HeartEmote)
dw VTiles1 tile $78
dw BoltEmote
db 4 * $10, BANK(BoltEmote)
dw VTiles1 tile $78
dw SleepEmote
db 4 * $10, BANK(SleepEmote)
dw VTiles1 tile $78
dw FishEmote
db 4 * $10, BANK(FishEmote)
dw VTiles1 tile $78
dw FishingRodGFX + $00
db 1 * $10, BANK(FishingRodGFX)
dw VTiles1 tile $7c
dw FishingRodGFX + $10
db 2 * $10, BANK(FishingRodGFX)
dw VTiles1 tile $7c
dw FishingRodGFX + $30
db 2 * $10, BANK(FishingRodGFX)
dw VTiles1 tile $7e
dw FishingRodGFX + $50
db 1 * $10, BANK(FishingRodGFX)
dw VTiles1 tile $7e
; 14495 ; 14495
@ -78058,7 +78028,10 @@ HeartEmote: INCBIN "gfx/emotes/heart.2bpp"
BoltEmote: INCBIN "gfx/emotes/bolt.2bpp" BoltEmote: INCBIN "gfx/emotes/bolt.2bpp"
SleepEmote: INCBIN "gfx/emotes/sleep.2bpp" SleepEmote: INCBIN "gfx/emotes/sleep.2bpp"
FishEmote: INCBIN "gfx/emotes/fish.2bpp" FishEmote: INCBIN "gfx/emotes/fish.2bpp"
FishingRodGFX: INCBIN "gfx/misc/fishing.2bpp" FishingRodGFX1: INCBIN "gfx/misc/fishing1.2bpp"
FishingRodGFX2: INCBIN "gfx/misc/fishing2.2bpp"
FishingRodGFX3: INCBIN "gfx/misc/fishing3.2bpp"
FishingRodGFX4: INCBIN "gfx/misc/fishing4.2bpp"
RunCallback_05_03: ; 1045b0 RunCallback_05_03: ; 1045b0

View File

@ -1568,7 +1568,7 @@ wd10e::
TempMon:: TempMon::
party_struct TempMon party_struct TempMon
wd13e:: ds 1 wSpriteFlags:: ds 1
wd13f:: ds 2 wd13f:: ds 2