2013-10-10 07:24:02 +00:00
|
|
|
INCLUDE "includes.asm"
|
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
flag_array: MACRO
|
|
|
|
ds ((\1) + 7) / 8
|
|
|
|
ENDM
|
2013-10-10 07:24:02 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
box_struct: MACRO
|
|
|
|
\1Species:: db
|
|
|
|
\1Item:: db
|
|
|
|
\1Moves:: ds NUM_MOVES
|
|
|
|
\1ID:: dw
|
|
|
|
\1Exp:: ds 3
|
2014-02-23 05:37:09 +00:00
|
|
|
\1StatExp::
|
2014-06-13 01:32:42 +00:00
|
|
|
\1HPExp:: dw
|
|
|
|
\1AtkExp:: dw
|
|
|
|
\1DefExp:: dw
|
|
|
|
\1SpdExp:: dw
|
|
|
|
\1SpcExp:: dw
|
|
|
|
\1DVs:: ds 2
|
|
|
|
\1PP:: ds NUM_MOVES
|
|
|
|
\1Happiness:: db
|
|
|
|
\1PokerusStatus:: db
|
2014-02-23 02:57:28 +00:00
|
|
|
\1CaughtData::
|
|
|
|
\1CaughtTime::
|
|
|
|
\1CaughtLevel:: db
|
|
|
|
\1CaughtGender::
|
|
|
|
\1CaughtLocation:: db
|
2014-06-13 01:32:42 +00:00
|
|
|
\1Level:: db
|
|
|
|
\1End::
|
|
|
|
ENDM
|
2014-02-23 02:57:28 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
party_struct: MACRO
|
|
|
|
box_struct \1
|
|
|
|
\1Status:: db
|
|
|
|
\1Unused:: db
|
|
|
|
\1HP:: dw
|
|
|
|
\1MaxHP:: dw
|
|
|
|
\1Stats:: ; big endian
|
|
|
|
\1Attack:: dw
|
|
|
|
\1Defense:: dw
|
|
|
|
\1Speed:: dw
|
|
|
|
\1SpclAtk:: dw
|
|
|
|
\1SpclDef:: dw
|
|
|
|
\1StatsEnd::
|
|
|
|
ENDM
|
2014-02-23 02:57:28 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
battle_struct: MACRO
|
|
|
|
\1Species:: db
|
|
|
|
\1Item:: db
|
|
|
|
\1Moves:: ds NUM_MOVES
|
|
|
|
\1MovesEnd::
|
|
|
|
\1DVs:: ds 2
|
|
|
|
\1PP:: ds NUM_MOVES
|
|
|
|
\1Happiness:: db
|
|
|
|
\1Level:: db
|
|
|
|
\1Status:: ds 2
|
|
|
|
\1HP:: dw
|
|
|
|
\1MaxHP:: dw
|
|
|
|
\1Stats:: ; big endian
|
|
|
|
\1Attack:: dw
|
|
|
|
\1Defense:: dw
|
|
|
|
\1Speed:: dw
|
|
|
|
\1SpclAtk:: dw
|
|
|
|
\1SpclDef:: dw
|
|
|
|
\1StatsEnd::
|
|
|
|
\1Type::
|
|
|
|
\1Type1:: db
|
|
|
|
\1Type2:: db
|
2015-11-07 03:36:06 +00:00
|
|
|
\1StructEnd::
|
2014-02-23 02:57:28 +00:00
|
|
|
ENDM
|
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
box: MACRO
|
|
|
|
\1::
|
|
|
|
\1Count:: ds 1
|
|
|
|
\1Species:: ds MONS_PER_BOX + 1
|
|
|
|
\1Mons::
|
|
|
|
\1Mon1:: box_struct \1Mon1
|
2015-11-04 16:19:58 +00:00
|
|
|
\1Mon2:: ds BOXMON_STRUCT_LENGTH * (MONS_PER_BOX +- 1)
|
2015-08-20 04:14:15 +00:00
|
|
|
\1MonOT:: ds NAME_LENGTH * MONS_PER_BOX
|
|
|
|
\1MonNicknames:: ds PKMN_NAME_LENGTH * MONS_PER_BOX
|
|
|
|
\1MonNicknamesEnd::
|
|
|
|
\1End:: ds 2 ; padding
|
|
|
|
ENDM
|
|
|
|
|
2014-02-23 02:57:28 +00:00
|
|
|
|
2014-03-05 02:41:30 +00:00
|
|
|
channel_struct: MACRO
|
2014-06-13 02:32:58 +00:00
|
|
|
; Addreses are Channel1 (c101).
|
|
|
|
\1MusicID:: dw
|
|
|
|
\1MusicBank:: db
|
2015-12-07 16:28:58 +00:00
|
|
|
\1Flags:: db ; 0:on/off 1:subroutine 3:sfx 4:noise 5:rest
|
2015-12-07 23:33:04 +00:00
|
|
|
\1Flags2:: db ; 0:vibrato on/off 2:duty 4:cry pitch
|
2014-06-13 02:32:58 +00:00
|
|
|
\1Flags3:: db ; 0:vibrato up/down
|
|
|
|
\1MusicAddress:: dw
|
|
|
|
\1LastMusicAddress:: dw
|
|
|
|
dw
|
|
|
|
\1NoteFlags:: db ; 5:rest
|
|
|
|
\1Condition:: db ; conditional jumps
|
|
|
|
\1DutyCycle:: db ; bits 6-7 (0:12.5% 1:25% 2:50% 3:75%)
|
|
|
|
\1Intensity:: db ; hi:pressure lo:velocity
|
|
|
|
\1Frequency:: ; 11 bits
|
|
|
|
\1FrequencyLo:: db
|
|
|
|
\1FrequencyHi:: db
|
|
|
|
\1Pitch:: db ; 0:rest 1-c:note
|
|
|
|
\1Octave:: db ; 7-0 (0 is highest)
|
|
|
|
\1StartingOctave:: db ; raises existing octaves (to repeat phrases)
|
|
|
|
\1NoteDuration:: db ; frames remaining for the current note
|
2015-12-07 03:36:09 +00:00
|
|
|
\1Field0x16:: ds 1 ; c117
|
2014-06-13 02:32:58 +00:00
|
|
|
ds 1 ; c118
|
|
|
|
\1LoopCount:: db
|
|
|
|
\1Tempo:: dw
|
|
|
|
\1Tracks:: db ; hi:left lo:right
|
2015-12-07 03:36:09 +00:00
|
|
|
\1Field0x1c:: ds 1 ; c11d
|
2014-06-13 02:32:58 +00:00
|
|
|
\1VibratoDelayCount:: db ; initialized by \1VibratoDelay
|
|
|
|
\1VibratoDelay:: db ; number of frames a note plays until vibrato starts
|
|
|
|
\1VibratoExtent:: db
|
|
|
|
\1VibratoRate:: db ; hi:frames for each alt lo:frames to the next alt
|
2015-12-07 03:36:09 +00:00
|
|
|
\1Field0x21:: ds 1 ; c122
|
|
|
|
\1Field0x22:: ds 1 ; c123
|
|
|
|
\1Field0x23:: ds 1 ; c124
|
|
|
|
\1Field0x24:: ds 1 ; c125
|
|
|
|
\1Field0x25:: ds 1 ; c126
|
2014-06-13 02:32:58 +00:00
|
|
|
ds 1 ; c127
|
2014-07-18 16:50:31 +00:00
|
|
|
\1CryPitch:: dw
|
2015-12-07 03:36:09 +00:00
|
|
|
\1Field0x29:: ds 1
|
|
|
|
\1Field0x2a:: ds 2
|
|
|
|
\1Field0x2c:: ds 1
|
2014-06-13 02:32:58 +00:00
|
|
|
\1NoteLength:: db ; frames per 16th note
|
2015-12-07 03:36:09 +00:00
|
|
|
\1Field0x2e:: ds 1 ; c12f
|
|
|
|
\1Field0x2f:: ds 1 ; c130
|
|
|
|
\1Field0x30:: ds 1 ; c131
|
2014-06-13 02:32:58 +00:00
|
|
|
ds 1 ; c132
|
2014-03-05 02:41:30 +00:00
|
|
|
ENDM
|
|
|
|
|
2015-11-07 19:38:52 +00:00
|
|
|
battle_tower_struct: MACRO
|
|
|
|
\1Name:: ds NAME_LENGTH +- 1
|
|
|
|
\1TrainerClass:: ds 1
|
|
|
|
\1Pkmn1:: party_struct \1Pkmn1
|
|
|
|
\1Pkmn1Name:: ds PKMN_NAME_LENGTH
|
|
|
|
\1Pkmn1NameEnd::
|
|
|
|
\1Pkmn2:: party_struct \1Pkmn2
|
|
|
|
\1Pkmn2Name:: ds PKMN_NAME_LENGTH
|
|
|
|
\1Pkmn2NameEnd::
|
|
|
|
\1Pkmn3:: party_struct \1Pkmn3
|
|
|
|
\1Pkmn3Name:: ds PKMN_NAME_LENGTH
|
|
|
|
\1Pkmn3NameEnd::
|
|
|
|
\1TrainerData:: ds BATTLETOWER_TRAINERDATALENGTH
|
|
|
|
\1TrainerEnd::
|
|
|
|
endm
|
|
|
|
|
2015-11-18 18:29:30 +00:00
|
|
|
mailmsg: MACRO
|
|
|
|
\1Message:: ds MAIL_MSG_LENGTH
|
|
|
|
\1MessageEnd:: ds 1
|
2015-11-22 17:01:58 +00:00
|
|
|
\1Author:: ds PLAYER_NAME_LENGTH
|
|
|
|
\1AuthorNationality:: ds 2
|
2015-11-18 18:29:30 +00:00
|
|
|
\1AuthorID:: ds 2
|
|
|
|
\1Species:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
\1Type:: ds 1
|
|
|
|
\1End::
|
2015-11-18 18:29:30 +00:00
|
|
|
endm
|
|
|
|
|
2015-11-27 02:05:32 +00:00
|
|
|
hof_mon: MACRO
|
|
|
|
\1Species:: ds 1
|
|
|
|
\1ID:: ds 2
|
|
|
|
\1DVs:: ds 2
|
|
|
|
\1Level:: ds 1
|
|
|
|
\1Nickname:: ds PKMN_NAME_LENGTH +- 1
|
|
|
|
\1End::
|
|
|
|
endm
|
|
|
|
|
|
|
|
hall_of_fame: MACRO
|
2015-12-05 13:08:01 +00:00
|
|
|
\1::
|
2015-11-27 02:05:32 +00:00
|
|
|
\1WinCount:: ds 1
|
|
|
|
\1Mon1:: hof_mon \1Mon1
|
|
|
|
\1Mon2:: hof_mon \1Mon2
|
|
|
|
\1Mon3:: hof_mon \1Mon3
|
|
|
|
\1Mon4:: hof_mon \1Mon4
|
|
|
|
\1Mon5:: hof_mon \1Mon5
|
|
|
|
\1Mon6:: hof_mon \1Mon6
|
|
|
|
\1End:: ds 1
|
|
|
|
ENDM
|
2015-11-23 05:21:21 +00:00
|
|
|
|
2015-10-17 16:58:26 +00:00
|
|
|
INCLUDE "vram.asm"
|
2014-03-05 02:41:30 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
SECTION "Stack", WRAM0
|
2015-02-08 08:03:32 +00:00
|
|
|
wc000::
|
2015-10-16 17:35:43 +00:00
|
|
|
StackBottom::
|
2015-10-19 20:49:29 +00:00
|
|
|
ds $100 - 1
|
2014-09-19 19:44:48 +00:00
|
|
|
Stack::
|
2015-10-16 17:35:43 +00:00
|
|
|
StackTop::
|
2014-09-19 19:44:48 +00:00
|
|
|
ds 1
|
2014-03-05 02:41:30 +00:00
|
|
|
|
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
SECTION "Audio", WRAM0
|
2014-03-05 02:41:30 +00:00
|
|
|
|
|
|
|
MusicPlaying:: ; c100
|
|
|
|
; nonzero if playing
|
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-03-05 02:41:30 +00:00
|
|
|
Channels::
|
2014-06-13 02:32:58 +00:00
|
|
|
Channel1:: channel_struct Channel1 ; c101
|
|
|
|
Channel2:: channel_struct Channel2 ; c133
|
|
|
|
Channel3:: channel_struct Channel3 ; c165
|
|
|
|
Channel4:: channel_struct Channel4 ; c197
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
SFXChannels::
|
2014-06-13 02:32:58 +00:00
|
|
|
Channel5:: channel_struct Channel5 ; c1c9
|
|
|
|
Channel6:: channel_struct Channel6 ; c1fb
|
|
|
|
Channel7:: channel_struct Channel7 ; c22d
|
|
|
|
Channel8:: channel_struct Channel8 ; c25f
|
|
|
|
|
|
|
|
ds 1 ; c291
|
2015-12-07 16:28:58 +00:00
|
|
|
wCurTrackDuty:: ds 1
|
|
|
|
wCurTrackIntensity:: ds 1
|
|
|
|
wCurTrackFrequency:: dw
|
|
|
|
wc296:: ds 1 ; used only in an unused function
|
2015-12-08 21:06:13 +00:00
|
|
|
wc297:: ds 1 ; used in MusicE0 and LoadNote
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurMusicByte:: ; c298
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurChannel:: ; c299
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Volume:: ; c29a
|
2012-10-09 06:32:05 +00:00
|
|
|
; corresponds to $ff24
|
|
|
|
; Channel control / ON-OFF / Volume (R/W)
|
|
|
|
; bit 7 - Vin->SO2 ON/OFF
|
|
|
|
; bit 6-4 - SO2 output level (volume) (# 0-7)
|
|
|
|
; bit 3 - Vin->SO1 ON/OFF
|
|
|
|
; bit 2-0 - SO1 output level (volume) (# 0-7)
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SoundOutput:: ; c29b
|
2012-11-02 22:43:05 +00:00
|
|
|
; corresponds to $ff25
|
|
|
|
; bit 4-7: ch1-4 so2 on/off
|
|
|
|
; bit 0-3: ch1-4 so1 on/off
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SoundInput:: ; c29c
|
2012-11-02 22:43:05 +00:00
|
|
|
; corresponds to $ff26
|
|
|
|
; bit 7: global on/off
|
|
|
|
; bit 0: ch1 on/off
|
|
|
|
; bit 1: ch2 on/off
|
|
|
|
; bit 2: ch3 on/off
|
|
|
|
; bit 3: ch4 on/off
|
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicID::
|
|
|
|
MusicIDLo:: ; c29d
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicIDHi:: ; c29e
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicBank:: ; c29f
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NoiseSampleAddress::
|
|
|
|
NoiseSampleAddressLo:: ; c2a0
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NoiseSampleAddressHi:: ; c2a1
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2015-12-07 16:28:58 +00:00
|
|
|
wNoiseSampleDelay:: ; noise delay? ; c2a2
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
|
|
|
; c2a3
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicNoiseSampleSet:: ; c2a4
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SFXNoiseSampleSet:: ; c2a5
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Danger:: ; c2a6
|
2012-12-14 08:00:10 +00:00
|
|
|
; bit 7: on/off
|
|
|
|
; bit 4: pitch
|
|
|
|
; bit 0-3: counter
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicFade:: ; c2a7
|
2012-11-02 22:43:05 +00:00
|
|
|
; fades volume over x frames
|
|
|
|
; bit 7: fade in/out
|
|
|
|
; bit 0-5: number of frames for each volume level
|
|
|
|
; $00 = none (default)
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicFadeCount:: ; c2a8
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicFadeID::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2a9::
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicFadeIDLo:: ; c2a9
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2aa::
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicFadeIDHi:: ; c2aa
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2013-02-23 21:47:39 +00:00
|
|
|
ds 5
|
2014-02-02 01:26:39 +00:00
|
|
|
CryPitch:: ; c2b0
|
2014-07-18 16:50:31 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
CryLength:: ; c2b2
|
2013-02-23 21:47:39 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
LastVolume:: ; c2b4
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2b5:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SFXPriority:: ; c2b6
|
2012-11-02 22:43:05 +00:00
|
|
|
; if nonzero, turn off music when playing sfx
|
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2015-12-07 23:33:04 +00:00
|
|
|
Channel1JumpCondition:: ds 1
|
|
|
|
Channel2JumpCondition:: ds 1
|
|
|
|
Channel3JumpCondition:: ds 1
|
|
|
|
Channel4JumpCondition:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2bc:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CryTracks:: ; c2bd
|
2012-11-02 22:43:05 +00:00
|
|
|
; plays only in left or right track depending on what side the monster is on
|
|
|
|
; both tracks active outside of battle
|
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2be:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurSFX:: ; c2bf
|
2012-10-12 00:35:22 +00:00
|
|
|
; id of sfx currently playing
|
|
|
|
ds 1
|
2015-12-08 21:06:13 +00:00
|
|
|
|
2014-05-21 20:21:46 +00:00
|
|
|
wMapMusic:: ; c2c0
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2c1:: ds 1
|
2014-07-18 12:33:27 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
SECTION "WRAM", WRAM0
|
|
|
|
|
2014-07-18 12:33:27 +00:00
|
|
|
wLZAddress:: dw ; c2c2
|
|
|
|
wLZBank:: db ; c2c4
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2014-07-18 12:33:27 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2c6:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
InputType:: ; c2c7
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
AutoInputAddress:: ; c2c8
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
AutoInputBank:: ; c2ca
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
AutoInputLength:: ; c2cb
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2cc:: ds 1
|
|
|
|
wc2cd:: ds 1
|
2015-11-25 15:16:29 +00:00
|
|
|
wSpriteUpdatesEnabled:: ds 1
|
2015-02-10 23:14:21 +00:00
|
|
|
wc2cf:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2d0:: ds 4
|
|
|
|
wc2d4:: ds 1
|
|
|
|
wc2d5:: ds 1
|
2015-11-30 02:34:59 +00:00
|
|
|
wLastDexEntry:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2d7:: ds 1
|
2015-11-10 16:05:26 +00:00
|
|
|
wPreviousLandmark:: ds 1
|
|
|
|
wCurrentLandmark:: ds 1
|
|
|
|
wLandmarkSignTimer:: ds 2
|
2015-10-19 14:23:58 +00:00
|
|
|
wLinkMode:: ; c2dc
|
2012-12-23 08:21:19 +00:00
|
|
|
; 0 not in link battle
|
|
|
|
; 1 link battle
|
|
|
|
; 4 mobile battle
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptVar:: ; c2dd
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
2012-09-11 03:36:50 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2de:: ds 1
|
2015-11-13 23:59:49 +00:00
|
|
|
wc2df:: ds 1
|
|
|
|
ds 2
|
2015-11-02 16:15:32 +00:00
|
|
|
wMovementPerson:: ds 1
|
2015-11-12 04:38:57 +00:00
|
|
|
wMovementDataPointer:: ds 3 ; dba
|
2015-02-08 08:03:32 +00:00
|
|
|
wc2e6:: ds 4
|
|
|
|
wc2ea:: ds 1
|
2015-11-16 02:28:15 +00:00
|
|
|
wc2eb::
|
2015-11-12 04:38:57 +00:00
|
|
|
wMovementPointer:: ds 2 ; c2eb
|
2015-11-02 16:15:32 +00:00
|
|
|
ds 3
|
2015-11-14 19:41:47 +00:00
|
|
|
|
|
|
|
wTempObjectCopyMapObjectIndex:: ds 1 ; c2f0
|
|
|
|
wTempObjectCopySprite:: ds 1 ; c2f1
|
|
|
|
wTempObjectCopySpriteVTile:: ds 1 ; c2f2
|
|
|
|
wTempObjectCopyPalette:: ds 1 ; c2f3
|
|
|
|
wTempObjectCopyMovement:: ds 1 ; c2f4
|
|
|
|
wTempObjectCopyRange:: ds 1 ; c2f5
|
|
|
|
wTempObjectCopyX:: ds 1 ; c2f6
|
|
|
|
wTempObjectCopyY:: ds 1 ; c2f7
|
|
|
|
wTempObjectCopyRadius:: ds 1 ; c2f8
|
|
|
|
|
2015-11-12 04:38:57 +00:00
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TileDown:: ; c2fa
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TileUp:: ; c2fb
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TileLeft:: ; c2fc
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TileRight:: ; c2fd
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TilePermissions:: ; c2fe
|
2012-11-24 02:19:02 +00:00
|
|
|
; set if tile behavior prevents
|
|
|
|
; you from walking in that direction
|
|
|
|
; bit 3: down
|
|
|
|
; bit 2: up
|
|
|
|
; bit 1: left
|
|
|
|
; bit 0: right
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
|
2015-12-04 13:46:11 +00:00
|
|
|
SECTION "wSpriteAnims", WRAM0 [$c300]
|
2015-11-11 19:12:46 +00:00
|
|
|
; wc300 - wc313 is a 10x2 dictionary.
|
2015-12-05 20:38:25 +00:00
|
|
|
; keys: taken from third column of SpriteAnimSeqData
|
2015-12-04 13:46:11 +00:00
|
|
|
; values: VTiles
|
2015-11-19 23:07:20 +00:00
|
|
|
wSpriteAnimDict:: ds 10 * 2
|
|
|
|
ds wSpriteAnimDict - @
|
2015-02-08 08:03:32 +00:00
|
|
|
wc300:: ds 1
|
|
|
|
wc301:: ds 1
|
|
|
|
wc302:: ds 1
|
|
|
|
wc303:: ds 2
|
|
|
|
wc305:: ds 1
|
|
|
|
wc306:: ds 1
|
|
|
|
wc307:: ds 1
|
|
|
|
wc308:: ds 1
|
|
|
|
wc309:: ds 1
|
|
|
|
wc30a:: ds 1
|
|
|
|
wc30b:: ds 1
|
|
|
|
wc30c:: ds 1
|
|
|
|
wc30d:: ds 1
|
|
|
|
wc30e:: ds 1
|
|
|
|
wc30f:: ds 1
|
|
|
|
wc310:: ds 1
|
|
|
|
wc311:: ds 1
|
|
|
|
wc312:: ds 1
|
|
|
|
wc313:: ds 1
|
2015-11-13 15:48:49 +00:00
|
|
|
wSpriteAnimationStructs::
|
|
|
|
|
|
|
|
sprite_anim_struct: MACRO
|
2015-12-11 03:26:31 +00:00
|
|
|
\1Index:: ds 1 ; 0
|
|
|
|
\1FramesetID:: ds 1 ; 1
|
|
|
|
\1AnimSeqID:: ds 1 ; 2
|
|
|
|
\1TileID:: ds 1 ; 3
|
|
|
|
\1XCoord:: ds 1 ; 4
|
|
|
|
\1YCoord:: ds 1 ; 5
|
|
|
|
\1XOffset:: ds 1 ; 6
|
|
|
|
\1YOffset:: ds 1 ; 7
|
|
|
|
\1Duration:: ds 1 ; 8
|
|
|
|
\1DurationOffset:: ds 1 ; 9
|
|
|
|
\1FrameIndex:: ds 1 ; a
|
2015-11-18 18:01:55 +00:00
|
|
|
\1Sprite0b:: ds 1
|
|
|
|
\1Sprite0c:: ds 1
|
|
|
|
\1Sprite0d:: ds 1
|
|
|
|
\1Sprite0e:: ds 1
|
|
|
|
\1Sprite0f:: ds 1
|
2015-11-13 15:48:49 +00:00
|
|
|
ENDM
|
|
|
|
|
2015-11-11 19:12:46 +00:00
|
|
|
; Field 0: Index
|
2015-12-05 20:38:25 +00:00
|
|
|
; Fields 1-3: Loaded from SpriteAnimSeqData
|
2015-11-13 15:48:49 +00:00
|
|
|
wc314::
|
|
|
|
SpriteAnim1:: sprite_anim_struct SpriteAnim1
|
|
|
|
wc324::
|
|
|
|
SpriteAnim2:: sprite_anim_struct SpriteAnim2
|
|
|
|
wc334::
|
|
|
|
SpriteAnim3:: sprite_anim_struct SpriteAnim3
|
|
|
|
wc344::
|
|
|
|
SpriteAnim4:: sprite_anim_struct SpriteAnim4
|
|
|
|
wc354::
|
|
|
|
SpriteAnim5:: sprite_anim_struct SpriteAnim5
|
|
|
|
wc364::
|
|
|
|
SpriteAnim6:: sprite_anim_struct SpriteAnim6
|
|
|
|
wc374::
|
|
|
|
SpriteAnim7:: sprite_anim_struct SpriteAnim7
|
|
|
|
wc384::
|
|
|
|
SpriteAnim8:: sprite_anim_struct SpriteAnim8
|
|
|
|
wc394::
|
|
|
|
SpriteAnim9:: sprite_anim_struct SpriteAnim9
|
|
|
|
wc3a4::
|
|
|
|
SpriteAnim10:: sprite_anim_struct SpriteAnim10
|
|
|
|
wSpriteAnimationStructsEnd::
|
2015-11-13 05:49:27 +00:00
|
|
|
ds -8
|
|
|
|
wc3ac:: ds 8 ; c3ac
|
2015-12-11 03:26:31 +00:00
|
|
|
wSpriteAnimCount:: ds 1
|
2015-12-05 20:38:25 +00:00
|
|
|
wCurrSpriteOAMAddr:: ds 1
|
2013-02-04 09:27:56 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurIcon:: ; c3b6
|
2013-02-04 09:27:56 +00:00
|
|
|
ds 1
|
2012-06-06 04:26:18 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-12-04 13:46:11 +00:00
|
|
|
wCurIconTile:: ds 1
|
|
|
|
wSpriteAnimAddrBackup::
|
|
|
|
wSpriteAnimIDBuffer::
|
|
|
|
wCurrSpriteAddSubFlags::
|
|
|
|
ds 2
|
2015-12-02 18:24:18 +00:00
|
|
|
wCurrAnimVTile:: ds 1
|
|
|
|
wCurrAnimXCoord:: ds 1
|
|
|
|
wCurrAnimYCoord:: ds 1
|
|
|
|
wCurrAnimXOffset:: ds 1
|
|
|
|
wCurrAnimYOffset:: ds 1
|
2015-12-02 22:59:05 +00:00
|
|
|
wGlobalAnimYOffset:: ds 1
|
|
|
|
wGlobalAnimXOffset:: ds 1
|
2015-11-19 23:07:20 +00:00
|
|
|
wSpriteAnimsEnd::
|
2015-11-13 05:49:27 +00:00
|
|
|
|
2015-10-21 14:43:42 +00:00
|
|
|
wc3c1:: ds 11
|
2015-02-08 08:03:32 +00:00
|
|
|
wc3cc:: ds 1
|
|
|
|
wc3cd:: ds 31
|
|
|
|
wc3ec:: ds 1
|
|
|
|
wc3ed:: ds 1
|
|
|
|
wc3ee:: ds 1
|
|
|
|
wc3ef:: ds 1
|
|
|
|
wc3f0:: ds 1
|
|
|
|
wc3f1:: ds 1
|
|
|
|
wc3f2:: ds 1
|
|
|
|
wc3f3:: ds 1
|
|
|
|
wc3f4:: ds 1
|
|
|
|
wc3f5:: ds 1
|
|
|
|
wc3f6:: ds 1
|
|
|
|
wc3f7:: ds 1
|
|
|
|
wc3f8:: ds 1
|
|
|
|
wc3f9:: ds 1
|
|
|
|
wc3fa:: ds 1
|
|
|
|
wc3fb:: ds 1
|
|
|
|
wc3fc:: ds 4
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
|
|
|
|
SECTION "Sprites", WRAM0 [$c400]
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Sprites:: ; c400
|
2012-12-14 08:00:10 +00:00
|
|
|
; 4 bytes per sprite
|
|
|
|
; 40 sprites
|
|
|
|
; struct:
|
2014-09-19 19:44:48 +00:00
|
|
|
; y (px)
|
|
|
|
; x (px)
|
2012-12-14 08:00:10 +00:00
|
|
|
; tile id
|
|
|
|
; attributes:
|
|
|
|
; bit 7: priority
|
|
|
|
; bit 6: y flip
|
|
|
|
; bit 5: x flip
|
|
|
|
; bit 4: pal # (non-cgb)
|
|
|
|
; bit 3: vram bank (cgb only)
|
|
|
|
; bit 2-0: pal # (cgb only)
|
2014-06-13 01:32:42 +00:00
|
|
|
ds 4 * 40
|
2014-02-02 01:26:39 +00:00
|
|
|
SpritesEnd::
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
SECTION "Tilemap", WRAM0
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TileMap:: ; c4a0
|
2012-12-14 08:00:10 +00:00
|
|
|
; 20x18 grid of 8x8 tiles
|
2014-06-13 01:32:42 +00:00
|
|
|
ds SCREEN_WIDTH * SCREEN_HEIGHT
|
2014-02-02 01:26:39 +00:00
|
|
|
TileMapEnd::
|
2012-12-14 08:00:10 +00:00
|
|
|
|
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
SECTION "Battle", WRAM0
|
2015-11-25 15:16:29 +00:00
|
|
|
wOddEgg:: party_struct OddEgg
|
2015-11-01 23:13:31 +00:00
|
|
|
wOddEggName:: ds PKMN_NAME_LENGTH
|
|
|
|
wOddEggOTName:: ds PKMN_NAME_LENGTH
|
2015-11-25 15:16:29 +00:00
|
|
|
ds wOddEgg - @
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-11-07 19:38:52 +00:00
|
|
|
wBT_OTTemp:: battle_tower_struct wBT_OTTemp
|
2015-11-09 00:09:36 +00:00
|
|
|
ds wBT_OTTemp - @
|
2015-11-07 19:38:52 +00:00
|
|
|
|
2015-12-05 13:08:01 +00:00
|
|
|
hall_of_fame wHallOfFameTemp
|
2015-11-27 02:05:32 +00:00
|
|
|
ds wHallOfFameTemp - @
|
|
|
|
|
2015-11-25 15:16:29 +00:00
|
|
|
wMisc:: ; ds $28 * 6
|
2014-06-13 01:32:42 +00:00
|
|
|
wBattle::
|
2015-11-01 23:13:31 +00:00
|
|
|
wc608::
|
2012-06-06 04:26:18 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wEnemyMoveStruct:: ds MOVE_LENGTH ; c608
|
2015-02-08 08:03:32 +00:00
|
|
|
wc60f::
|
2014-06-13 01:32:42 +00:00
|
|
|
wPlayerMoveStruct:: ds MOVE_LENGTH ; c60f
|
2015-02-08 08:03:32 +00:00
|
|
|
wc616::
|
2014-06-13 02:32:58 +00:00
|
|
|
EnemyMonNick:: ds PKMN_NAME_LENGTH ; c616
|
2015-10-19 20:49:29 +00:00
|
|
|
ds -5
|
|
|
|
wInitHourBuffer:: ds 5
|
2014-06-13 02:32:58 +00:00
|
|
|
BattleMonNick:: ds PKMN_NAME_LENGTH ; c621
|
2015-12-09 16:38:40 +00:00
|
|
|
ds -6
|
|
|
|
wc626:: ds 6
|
2013-03-26 09:22:22 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
BattleMon:: battle_struct BattleMon ; c62c
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-12-07 16:28:58 +00:00
|
|
|
ds 2
|
2013-09-08 02:47:58 +00:00
|
|
|
|
2015-12-07 16:28:58 +00:00
|
|
|
wWildMon:: ds 1
|
2015-11-06 19:45:10 +00:00
|
|
|
ds 1
|
2015-11-06 00:13:09 +00:00
|
|
|
wEnemyTrainerItem1:: ds 1
|
|
|
|
wEnemyTrainerItem2:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wEnemyTrainerBaseReward:: ds 1
|
|
|
|
wEnemyTrainerAIFlags:: ds 3
|
2015-02-08 08:03:32 +00:00
|
|
|
wc656::
|
2014-09-19 19:44:48 +00:00
|
|
|
OTName:: ds NAME_LENGTH ; c656
|
2014-06-13 02:32:58 +00:00
|
|
|
|
|
|
|
ds 2
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc663::
|
2014-02-02 01:26:39 +00:00
|
|
|
CurOTMon:: ; c663
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-11-08 02:04:54 +00:00
|
|
|
wBattleParticipantsNotFainted::
|
|
|
|
; Bit array. Bits 0 - 5 correspond to party members 1 - 6.
|
|
|
|
; Bit set if the mon appears in battle.
|
|
|
|
; Bit cleared if the mon faints.
|
|
|
|
; Backed up if the enemy switches.
|
|
|
|
; All bits cleared if the enemy faints.
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TypeModifier:: ; c665
|
2013-03-26 09:22:22 +00:00
|
|
|
; >10: super-effective
|
|
|
|
; 10: normal
|
|
|
|
; <10: not very effective
|
2013-04-19 07:50:13 +00:00
|
|
|
; bit 7: stab
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CriticalHit:: ; c666
|
2013-03-26 09:22:22 +00:00
|
|
|
; nonzero for a critical hit
|
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
AttackMissed:: ; c667
|
2013-03-26 09:22:22 +00:00
|
|
|
; nonzero for a miss
|
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc668::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSubStatus1:: ; c668
|
2012-12-14 08:00:10 +00:00
|
|
|
; bit
|
|
|
|
; 7 attract
|
|
|
|
; 6 encore
|
|
|
|
; 5 endure
|
|
|
|
; 4 perish song
|
2013-05-03 05:29:57 +00:00
|
|
|
; 3 identified
|
2012-12-14 08:00:10 +00:00
|
|
|
; 2 protect
|
|
|
|
; 1 curse
|
|
|
|
; 0 nightmare
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSubStatus2:: ; c669
|
2013-03-26 09:22:22 +00:00
|
|
|
; bit
|
|
|
|
; 7
|
|
|
|
; 6
|
|
|
|
; 5
|
|
|
|
; 4
|
|
|
|
; 3
|
|
|
|
; 2
|
|
|
|
; 1
|
2013-03-27 05:52:04 +00:00
|
|
|
; 0 curled
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSubStatus3:: ; c66a
|
2012-12-14 08:00:10 +00:00
|
|
|
; bit
|
2013-05-03 05:29:57 +00:00
|
|
|
; 7 confused
|
2013-03-26 09:22:22 +00:00
|
|
|
; 6 flying
|
|
|
|
; 5 underground
|
2012-12-14 08:00:10 +00:00
|
|
|
; 4 charged
|
2013-03-26 09:22:22 +00:00
|
|
|
; 3 flinch
|
2012-12-14 08:00:10 +00:00
|
|
|
; 2
|
|
|
|
; 1 rollout
|
|
|
|
; 0 bide
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSubStatus4:: ; c66b
|
2012-12-14 08:00:10 +00:00
|
|
|
; bit
|
|
|
|
; 7 leech seed
|
2013-03-27 05:52:04 +00:00
|
|
|
; 6 rage
|
2012-12-14 08:00:10 +00:00
|
|
|
; 5 recharge
|
|
|
|
; 4 substitute
|
|
|
|
; 3
|
2013-03-26 09:22:22 +00:00
|
|
|
; 2 focus energy
|
2013-05-03 05:29:57 +00:00
|
|
|
; 1 mist
|
2013-03-26 09:22:22 +00:00
|
|
|
; 0 bide: unleashed energy
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSubStatus5:: ; c66c
|
2013-03-26 09:22:22 +00:00
|
|
|
; bit
|
2013-05-03 06:42:25 +00:00
|
|
|
; 7 cant run
|
2013-03-27 05:52:04 +00:00
|
|
|
; 6 destiny bond
|
2013-03-26 09:22:22 +00:00
|
|
|
; 5 lock-on
|
2015-11-08 15:59:28 +00:00
|
|
|
; 4 encore
|
|
|
|
; 3 transformed
|
2013-03-26 09:22:22 +00:00
|
|
|
; 2
|
|
|
|
; 1
|
2013-05-03 05:29:57 +00:00
|
|
|
; 0 toxic
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySubStatus1:: ; c66d
|
2012-12-14 08:00:10 +00:00
|
|
|
; see PlayerSubStatus1
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySubStatus2:: ; c66e
|
2012-12-14 08:00:10 +00:00
|
|
|
; see PlayerSubStatus2
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySubStatus3:: ; c66f
|
2012-12-14 08:00:10 +00:00
|
|
|
; see PlayerSubStatus3
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySubStatus4:: ; c670
|
2012-12-14 08:00:10 +00:00
|
|
|
; see PlayerSubStatus4
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySubStatus5:: ; c671
|
2012-12-14 08:00:10 +00:00
|
|
|
; see PlayerSubStatus5
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerRolloutCount:: ; c672
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerConfuseCount:: ; c673
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-06-17 19:52:32 +00:00
|
|
|
PlayerToxicCount:: ; c674
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerDisableCount:: ; c675
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerEncoreCount:: ; c676
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerPerishCount:: ; c677
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerFuryCutterCount:: ; c678
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerProtectCount:: ; c679
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyRolloutCount:: ; c67a
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyConfuseCount:: ; c67b
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2014-06-17 19:52:32 +00:00
|
|
|
EnemyToxicCount:: ; c67c
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyDisableCount:: ; c67d
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc67e::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyEncoreCount:: ; c67e
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyPerishCount:: ; c67f
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyFuryCutterCount:: ; c680
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyProtectCount:: ; c681
|
2013-05-03 05:29:57 +00:00
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerDamageTaken:: ; c682
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyDamageTaken:: ; c684
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 2
|
|
|
|
|
2015-11-23 05:21:21 +00:00
|
|
|
wBattleReward:: ds 3
|
2015-11-07 03:36:06 +00:00
|
|
|
wKickCounter::
|
|
|
|
wPresentPower:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc68a::
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleScriptBuffer:: ; c68a
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 40
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleScriptBufferLoc:: ; c6b2
|
2013-03-22 08:08:47 +00:00
|
|
|
ds 2
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-11-09 21:41:09 +00:00
|
|
|
wTurnEnded:: ds 1
|
|
|
|
ds 1
|
2013-06-13 20:10:39 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerStats:: ; c6b6
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 10
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyStats:: ; c6c1
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 10
|
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerStatLevels:: ; c6cc
|
2012-12-14 08:00:10 +00:00
|
|
|
; 07 neutral
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerAtkLevel:: ; c6cc
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerDefLevel:: ; c6cd
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSpdLevel:: ; c6ce
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSAtkLevel:: ; c6cf
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
|
|
|
|
trademon: MACRO
|
|
|
|
\1Species:: ds 1 ; wc6d0 | wc702
|
|
|
|
\1SpeciesName:: ds PKMN_NAME_LENGTH ; wc6d1 | wc703
|
|
|
|
\1Nickname:: ds PKMN_NAME_LENGTH ; wc6dc | wc70e
|
|
|
|
\1SenderName:: ds NAME_LENGTH ; wc6e7 | wc719
|
|
|
|
\1OTName:: ds NAME_LENGTH ; wc6f2 | wc724
|
|
|
|
\1DVs:: ds 2 ; wc6fd | wc72f
|
|
|
|
\1ID:: ds 2 ; wc6ff | wc731
|
|
|
|
\1CaughtData:: ds 1 ; wc701 | wc733
|
|
|
|
\1End::
|
|
|
|
ENDM
|
2015-12-11 03:26:31 +00:00
|
|
|
wTrademons::
|
2015-11-23 05:21:21 +00:00
|
|
|
wPlayerTrademon:: trademon wPlayerTrademon
|
|
|
|
wOTTrademon:: trademon wOTTrademon
|
2015-12-11 03:26:31 +00:00
|
|
|
wTrademonsEnd::
|
|
|
|
ds wTrademons - @
|
|
|
|
|
|
|
|
; Slot Machine
|
|
|
|
wSlots::
|
|
|
|
slot_reel: MACRO
|
|
|
|
\1ReelAction:: db
|
|
|
|
\1TilemapAddr:: dw
|
|
|
|
\1Position:: db
|
|
|
|
\1SpinDistance:: db
|
|
|
|
\1SpinRate:: db
|
|
|
|
\1OAMAddr:: dw
|
|
|
|
\1XCoord:: db
|
|
|
|
\1Slot09:: ds 1
|
|
|
|
\1Slot0a:: ds 1
|
|
|
|
\1Slot0b:: ds 1
|
|
|
|
\1Slot0c:: ds 1
|
|
|
|
\1Slot0d:: ds 1
|
|
|
|
\1Slot0e:: ds 1
|
|
|
|
\1Slot0f:: ds 1
|
|
|
|
endm
|
|
|
|
; c6d0
|
|
|
|
wReel1:: slot_reel wReel1
|
|
|
|
wReel2:: slot_reel wReel2
|
|
|
|
wReel3:: slot_reel wReel3
|
|
|
|
; c700
|
|
|
|
wReel1Stopped:: ds 3
|
|
|
|
wReel2Stopped:: ds 3
|
|
|
|
wReel3Stopped:: ds 3
|
|
|
|
wSlotBias:: ds 1
|
|
|
|
wSlotBet:: ds 1
|
|
|
|
wFirstTwoReelsMatching:: ds 1
|
|
|
|
wFirstTwoReelsMatchingSevens:: ds 1
|
|
|
|
wSlotMatched:: ds 1
|
|
|
|
wCurrReelStopped:: ds 3
|
|
|
|
wPayout:: ds 2
|
|
|
|
wCurrReelXCoord:: ds 1
|
|
|
|
wCurrReelYCoord:: ds 1
|
|
|
|
ds 2
|
|
|
|
wSlotBuildingMatch:: ds 1
|
|
|
|
wSlotsDataEnd::
|
|
|
|
ds 28
|
|
|
|
wSlotsEnd::
|
|
|
|
ds wSlots - @
|
2015-11-23 05:21:21 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d0::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSDefLevel:: ; c6d0
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d1::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerAccLevel:: ; c6d1
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d2::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerEvaLevel:: ; c6d2
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
; c6d3
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d3:: ds 1
|
|
|
|
wc6d4::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerStatLevelsEnd::
|
2013-03-26 09:22:22 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyStatLevels:: ; c6d4
|
2012-12-14 08:00:10 +00:00
|
|
|
; 07 neutral
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyAtkLevel:: ; c6d4
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d5::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyDefLevel:: ; c6d5
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d6::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySpdLevel:: ; c6d6
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d7::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySAtkLevel:: ; c6d7
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d8::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySDefLevel:: ; c6d8
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6d9::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyAccLevel:: ; c6d9
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6da::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyEvaLevel:: ; c6da
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6db:: ds 1
|
|
|
|
wc6dc::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyTurnsTaken:: ; c6dc
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerTurnsTaken:: ; c6dd
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-06-11 06:08:07 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
PlayerSubstituteHP:: ; c6df
|
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6e0::
|
2014-06-11 06:08:07 +00:00
|
|
|
EnemySubstituteHP:: ; c6e0
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6e1:: ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
CurPlayerMove:: ; c6e3
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurEnemyMove:: ; c6e4
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LinkBattleRNCount:: ; c6e5
|
2012-12-14 08:00:10 +00:00
|
|
|
; how far through the prng stream
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6e6:: ds 1
|
|
|
|
wc6e7:: ds 1
|
|
|
|
wc6e8:: ds 1
|
|
|
|
wc6e9::
|
2014-02-02 01:26:39 +00:00
|
|
|
CurEnemyMoveNum:: ; c6e9
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-10 21:53:37 +00:00
|
|
|
wEnemyHPAtTimeOfPlayerSwitch::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6ea:: ds 1
|
|
|
|
wc6eb:: ds 1
|
2014-06-14 04:18:14 +00:00
|
|
|
wPayDayMoney:: ds 3 ; c6ec
|
|
|
|
|
2015-11-10 21:53:37 +00:00
|
|
|
wSafariMonAngerCount:: ds 1
|
|
|
|
wSafariMonEating::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6f0:: ds 2
|
2015-11-07 03:36:06 +00:00
|
|
|
wEnemyBackupDVs:: ; used when enemy is transformed
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6f2:: ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
AlreadyDisobeyed:: ; c6f4
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
DisabledMove:: ; c6f5
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyDisabledMove:: ; c6f6
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6f7:: ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
|
|
|
; exists so you can't counter on switch
|
2014-02-02 01:26:39 +00:00
|
|
|
LastEnemyCounterMove:: ; c6f8
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6f9::
|
2014-02-02 01:26:39 +00:00
|
|
|
LastPlayerCounterMove:: ; c6f9
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-10 21:53:37 +00:00
|
|
|
wEnemyMinimized:: ds 1 ; c6fa
|
2013-03-27 22:50:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
AlreadyFailed:: ; c6fb
|
2013-03-27 22:50:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6fc:: ds 1
|
|
|
|
wc6fd:: ds 1
|
2015-11-11 04:23:28 +00:00
|
|
|
wc6fe::
|
2015-11-10 21:53:37 +00:00
|
|
|
wPlayerMinimized:: ds 1 ; c6fe
|
2015-02-08 08:03:32 +00:00
|
|
|
wc6ff::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerScreens:: ; c6ff
|
2013-05-03 05:29:57 +00:00
|
|
|
; bit
|
|
|
|
; 4 reflect
|
|
|
|
; 3 light screen
|
2013-05-06 15:41:12 +00:00
|
|
|
; 2 safeguard
|
2013-05-03 05:29:57 +00:00
|
|
|
; 0 spikes
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2013-04-20 06:57:11 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc700::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyScreens:: ; c700
|
2013-05-03 05:29:57 +00:00
|
|
|
; see PlayerScreens
|
2013-04-20 06:57:11 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc701::
|
2014-06-11 06:08:07 +00:00
|
|
|
PlayerSafeguardCount:: ; c701
|
2013-04-20 06:57:11 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc702::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerLightScreenCount:: ; c702
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc703::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerReflectCount:: ; c703
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc704:: ds 1
|
|
|
|
wc705::
|
2014-06-11 06:08:07 +00:00
|
|
|
EnemySafeguardCount:: ; c705
|
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc706::
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyLightScreenCount:: ; c706
|
2013-04-27 21:12:23 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyReflectCount:: ; c707
|
2013-04-27 21:12:23 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc708:: ds 1
|
|
|
|
wc709:: ds 1
|
|
|
|
wc70a::
|
2014-02-02 01:26:39 +00:00
|
|
|
Weather:: ; c70a
|
2012-12-14 08:00:10 +00:00
|
|
|
; 00 normal
|
|
|
|
; 01 rain
|
|
|
|
; 02 sun
|
|
|
|
; 03 sandstorm
|
|
|
|
; 04 rain stopped
|
|
|
|
; 05 sunliight faded
|
|
|
|
; 06 sandstorm subsided
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc70b::
|
2014-02-02 01:26:39 +00:00
|
|
|
WeatherCount:: ; c70b
|
2012-12-14 08:00:10 +00:00
|
|
|
; # turns remaining
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc70c::
|
2014-02-02 01:26:39 +00:00
|
|
|
LoweredStat:: ; c70c
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc70d::
|
2014-02-02 01:26:39 +00:00
|
|
|
EffectFailed:: ; c70d
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc70e::
|
2014-02-02 01:26:39 +00:00
|
|
|
FailedMessage:: ; c70e
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 1
|
2015-12-11 03:26:31 +00:00
|
|
|
wc70f::
|
|
|
|
wEnemyGoesFirst::
|
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc710::
|
2014-06-13 01:32:42 +00:00
|
|
|
wPlayerIsSwitching:: ds 1 ; c710
|
2015-02-08 08:03:32 +00:00
|
|
|
wc711::
|
2014-06-13 01:32:42 +00:00
|
|
|
wEnemyIsSwitching:: ds 1 ; c711
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc712::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerUsedMoves:: ; c712
|
2012-12-14 08:00:10 +00:00
|
|
|
; add a move that has been used once by the player
|
|
|
|
; added in order of use
|
2015-02-11 22:17:45 +00:00
|
|
|
ds NUM_MOVES
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wc716:: ds 1
|
2015-11-09 00:09:36 +00:00
|
|
|
wEnemySwitchMonParam::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc717:: ds 1
|
2015-12-11 03:26:31 +00:00
|
|
|
wc718::
|
2015-11-09 00:09:36 +00:00
|
|
|
wEnemySwitchMonIndex:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc719:: ds 1
|
2015-09-06 21:38:01 +00:00
|
|
|
LastPlayerMon:: ; c71a
|
2015-02-08 08:03:32 +00:00
|
|
|
wc71a:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
LastPlayerMove:: ; c71b
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
LastEnemyMove:: ; c71c
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-08 18:27:26 +00:00
|
|
|
wPlayerFutureSightCount:: ds 1
|
|
|
|
wEnemyFutureSightCount:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc71f:: ds 1
|
2015-09-09 23:27:07 +00:00
|
|
|
wc720:: ds 4 ; copy from/to EnemyMonBaseStats, length=7
|
2015-02-08 08:03:32 +00:00
|
|
|
wc724:: ds 3
|
|
|
|
wc727:: ds 2
|
|
|
|
wc729:: ds 2
|
2015-11-06 00:13:09 +00:00
|
|
|
wPlayerRageCounter:: ds 1
|
|
|
|
wEnemyRageCounter:: ds 1
|
2015-09-09 23:27:07 +00:00
|
|
|
wc72d:: ds 1 ; if 0 then PrintButItFailed
|
2015-11-23 05:21:21 +00:00
|
|
|
wc72e::
|
2015-11-08 18:27:26 +00:00
|
|
|
wPlayerTrappingMove:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wc72f::
|
2015-11-08 18:27:26 +00:00
|
|
|
wEnemyTrappingMove:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wc730::
|
2015-11-08 18:27:26 +00:00
|
|
|
wPlayerWrapCount:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wc731::
|
2015-11-08 18:27:26 +00:00
|
|
|
wEnemyWrapCount:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wc732::
|
2015-11-08 02:04:54 +00:00
|
|
|
wPlayerCharging:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wEnemyCharging::
|
|
|
|
wc733:: ds 1
|
|
|
|
wTradeAnimPointer::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc734::
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleEnded:: ; c734
|
2013-06-17 22:19:45 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-09 21:41:09 +00:00
|
|
|
wWildMonMoves::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc735:: ds 1
|
2015-11-23 07:08:08 +00:00
|
|
|
wLinkPlayer1Name:: ds NAME_LENGTH
|
|
|
|
wLinkPlayer2Name:: ds NAME_LENGTH
|
|
|
|
ds wLinkPlayer1Name - @
|
2015-02-08 08:03:32 +00:00
|
|
|
wc736:: ds 3
|
2015-11-09 21:41:09 +00:00
|
|
|
wWildMonPP::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc739:: ds 4
|
2015-11-23 05:21:21 +00:00
|
|
|
wAmuletCoin:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc73e:: ds 1
|
2015-11-10 21:53:37 +00:00
|
|
|
wPlayerJustGotFrozen:: ds 1
|
|
|
|
wEnemyJustGotFrozen:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc741::
|
2014-06-13 01:32:42 +00:00
|
|
|
wBattleEnd::
|
|
|
|
; c741
|
2013-06-17 22:19:45 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 11
|
|
|
|
wc74c:: ds 1
|
|
|
|
wc74d:: ds 1
|
|
|
|
wc74e:: ds 107
|
|
|
|
wc7b9:: ds 1
|
|
|
|
wc7ba:: ds 1
|
2015-12-04 13:46:11 +00:00
|
|
|
wc7bb:: ds 2
|
|
|
|
wc7bd::
|
|
|
|
ds wc6d0 - @
|
2015-11-30 02:34:59 +00:00
|
|
|
|
|
|
|
wPokedexDataStart::
|
|
|
|
wPokedexOrder:: ds NUM_POKEMON +- 1
|
|
|
|
wPokedexOrderEnd:: ds 6
|
|
|
|
wPokedexMetadata::
|
|
|
|
wDexListingPage::
|
|
|
|
wc7d0:: ds 1 ; Dex list page
|
|
|
|
wDexListingCursor::
|
|
|
|
wc7d1:: ds 1 ; Dex cursor
|
|
|
|
wDexListingEnd::
|
|
|
|
wc7d2:: ds 1 ; Last mon to display
|
|
|
|
wc7d3:: ds 1 ; Number of mons visible per dex list page
|
|
|
|
wCurrentDexMode:: ; Pokedex Mode
|
2015-11-13 05:49:27 +00:00
|
|
|
wc7d4:: ds 1 ; Index of the topmost visible item in a scrolling menu
|
|
|
|
wc7d5:: ds 1 ; Which row the cursor is at in a scrolling menu (0-6)
|
2015-02-08 08:03:32 +00:00
|
|
|
wc7d6:: ds 1
|
|
|
|
wc7d7:: ds 1
|
|
|
|
wc7d8:: ds 1
|
|
|
|
wc7d9:: ds 1
|
|
|
|
wc7da:: ds 1
|
2015-11-28 20:13:40 +00:00
|
|
|
wDexSearchSlowpokeFrame:: ds 1
|
2015-11-30 02:34:59 +00:00
|
|
|
wUnlockedUnownMode:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc7dd:: ds 1
|
|
|
|
wc7de:: ds 1
|
|
|
|
wc7df:: ds 1
|
|
|
|
wc7e0:: ds 1
|
|
|
|
wc7e1:: ds 1
|
2015-11-30 02:34:59 +00:00
|
|
|
wBackupDexListingCursor::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc7e2:: ds 1
|
2015-11-30 02:34:59 +00:00
|
|
|
wBackupDexListingPage::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc7e3:: ds 1
|
2015-11-30 02:34:59 +00:00
|
|
|
wDexCurrentLocation::
|
2015-02-14 08:51:34 +00:00
|
|
|
wc7e4:: ds 1
|
|
|
|
IF DEF(CRYSTAL11)
|
|
|
|
wPokedexStatus::
|
2015-11-13 05:49:27 +00:00
|
|
|
ELSE
|
|
|
|
wPokedexDataEnd::
|
2015-02-14 08:51:34 +00:00
|
|
|
ENDC
|
2015-11-13 05:49:27 +00:00
|
|
|
ds 1
|
|
|
|
IF DEF(CRYSTAL11)
|
|
|
|
wPokedexDataEnd::
|
|
|
|
ENDC
|
|
|
|
ds 2
|
2015-08-20 04:14:15 +00:00
|
|
|
|
|
|
|
wMiscEnd::
|
|
|
|
|
2015-02-10 23:14:41 +00:00
|
|
|
wc7e8:: ds 24
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
SECTION "Overworld Map", WRAM0 [$c800]
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OverworldMap:: ; c800
|
2015-11-15 20:53:49 +00:00
|
|
|
ds 1300
|
|
|
|
OverworldMapEnd::
|
|
|
|
ds OverworldMap - @
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-11-15 20:53:49 +00:00
|
|
|
wc800:: ds 1
|
2015-12-07 03:36:09 +00:00
|
|
|
wMysteryGiftPlayerID::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc801:: ds 1
|
|
|
|
wc802:: ds 1
|
2015-12-07 03:36:09 +00:00
|
|
|
wMysteryGiftPlayerName::
|
2015-02-08 08:03:32 +00:00
|
|
|
wc803:: ds 4
|
2015-12-07 03:36:09 +00:00
|
|
|
wc807:: ds 7
|
|
|
|
wMysteryGiftPlayerDexCaught:: ds 1
|
|
|
|
wc80f:: ds 1
|
|
|
|
wc810:: ds 1
|
|
|
|
wc811:: ds 1
|
|
|
|
wMysteryGiftPlayerBackupItem::
|
|
|
|
wc812:: ds 1
|
|
|
|
wc813:: ds 1
|
|
|
|
wc814:: ds 4
|
2015-02-08 08:03:32 +00:00
|
|
|
wc818:: ds 8
|
|
|
|
wc820:: ds 1
|
|
|
|
wc821:: ds 15
|
|
|
|
wc830:: ds 16
|
|
|
|
wc840:: ds 16
|
2015-11-23 05:21:21 +00:00
|
|
|
wMysteryGiftTrainerData:: ds (1 + 1 + NUM_MOVES) * PARTY_LENGTH + 2
|
2015-12-07 03:36:09 +00:00
|
|
|
wMysteryGiftTrainerDataEnd::
|
2015-11-23 05:21:21 +00:00
|
|
|
ds wMysteryGiftTrainerData - @
|
2015-02-08 08:03:32 +00:00
|
|
|
wc850:: ds 16
|
|
|
|
wc860:: ds 16
|
|
|
|
wc870:: ds 16
|
|
|
|
wc880:: ds 16
|
|
|
|
wc890:: ds 16
|
|
|
|
wc8a0:: ds 16
|
|
|
|
wc8b0:: ds 16
|
|
|
|
wc8c0:: ds 16
|
|
|
|
wc8d0:: ds 16
|
|
|
|
wc8e0:: ds 16
|
|
|
|
wc8f0:: ds 16
|
|
|
|
wc900:: ds 1
|
2015-11-23 05:21:21 +00:00
|
|
|
wMysteryGiftPartnerID:: ds 2
|
|
|
|
wMysteryGiftPartnerName:: ds NAME_LENGTH
|
|
|
|
wc90e:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wc90f:: ds 1
|
|
|
|
wc910:: ds 1
|
|
|
|
wc911:: ds 1
|
|
|
|
wc912:: ds 14
|
|
|
|
wc920:: ds 16
|
|
|
|
wc930:: ds 16
|
|
|
|
wc940:: ds 16
|
|
|
|
wc950:: ds 16
|
|
|
|
wc960:: ds 2
|
2015-12-07 03:36:09 +00:00
|
|
|
wc962:: ds 2
|
|
|
|
wc964:: ds 12
|
2015-02-08 08:03:32 +00:00
|
|
|
wc970:: ds 16
|
|
|
|
wc980:: ds 16
|
|
|
|
wc990:: ds 16
|
|
|
|
wc9a0:: ds 16
|
|
|
|
wc9b0:: ds 16
|
|
|
|
wc9c0:: ds 16
|
|
|
|
wc9d0:: ds 16
|
|
|
|
wc9e0:: ds 16
|
|
|
|
wc9f0:: ds 4
|
|
|
|
wc9f4:: ds 5
|
|
|
|
wc9f9:: ds 7
|
|
|
|
wca00:: ds 1
|
|
|
|
wca01:: ds 1
|
|
|
|
wca02:: ds 14
|
|
|
|
wca10:: ds 16
|
|
|
|
wca20:: ds 16
|
|
|
|
wca30:: ds 16
|
|
|
|
wca40:: ds 16
|
|
|
|
wca50:: ds 16
|
|
|
|
wca60:: ds 16
|
|
|
|
wca70:: ds 16
|
|
|
|
wca80:: ds 1
|
|
|
|
wca81:: ds 1
|
|
|
|
wca82:: ds 1
|
|
|
|
wca83:: ds 1
|
|
|
|
wca84:: ds 1
|
|
|
|
wca85:: ds 1
|
|
|
|
wca86:: ds 1
|
|
|
|
wca87:: ds 1
|
2015-11-05 19:06:03 +00:00
|
|
|
|
|
|
|
; Gameboy Printer
|
2015-02-08 08:03:32 +00:00
|
|
|
wca88:: ds 1
|
2015-11-05 19:06:03 +00:00
|
|
|
wca89::
|
|
|
|
; bit 7: set if error 1
|
|
|
|
; bit 6: set if error 4
|
|
|
|
; bit 5: set if error 3
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wca8a:: ds 1
|
|
|
|
wca8b:: ds 1
|
|
|
|
wca8c:: ds 1
|
|
|
|
wca8d:: ds 1
|
|
|
|
wca8e:: ds 1
|
|
|
|
wca8f:: ds 1
|
2015-11-05 19:06:03 +00:00
|
|
|
|
|
|
|
; tilemap backup?
|
2015-02-08 08:03:32 +00:00
|
|
|
wca90:: ds 16
|
|
|
|
wcaa0:: ds 3
|
|
|
|
wcaa3:: ds 2
|
|
|
|
wcaa5:: ds 11
|
|
|
|
wcab0:: ds 5
|
|
|
|
wcab5:: ds 10
|
|
|
|
wcabf:: ds 1
|
|
|
|
wcac0:: ds 9
|
|
|
|
wcac9:: ds 7
|
|
|
|
wcad0:: ds 16
|
|
|
|
wcae0:: ds 16
|
|
|
|
wcaf0:: ds 16
|
|
|
|
wcb00:: ds 8
|
|
|
|
wcb08:: ds 6
|
|
|
|
wcb0e:: ds 5
|
|
|
|
wcb13:: ds 9
|
|
|
|
wcb1c:: ds 14
|
|
|
|
wcb2a:: ds 1
|
|
|
|
wcb2b:: ds 1
|
|
|
|
wcb2c:: ds 1
|
|
|
|
wcb2d:: ds 1
|
|
|
|
wcb2e:: ds 1
|
|
|
|
wcb2f:: ds 1
|
|
|
|
wcb30:: ds 1
|
|
|
|
wcb31:: ds 1
|
|
|
|
wcb32:: ds 19
|
|
|
|
wcb45:: ds 20
|
|
|
|
wcb59:: ds 20
|
|
|
|
wcb6d:: ds 1
|
|
|
|
wcb6e:: ds 22
|
|
|
|
wcb84:: ds 100
|
|
|
|
wcbe8:: ds 1
|
|
|
|
wcbe9:: ds 1
|
|
|
|
wcbea:: ds 14
|
2015-11-05 19:06:03 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wcbf8:: ds 2
|
|
|
|
wcbfa:: ds 1
|
|
|
|
wcbfb:: ds 79
|
|
|
|
wcc4a:: ds 22
|
|
|
|
wcc60:: ds 1
|
|
|
|
wcc61:: ds 1
|
|
|
|
wcc62:: ds 2
|
|
|
|
wcc64:: ds 1
|
|
|
|
wcc65:: ds 57
|
|
|
|
wcc9e:: ds 22
|
|
|
|
wccb4:: ds 1
|
|
|
|
wccb5:: ds 3
|
|
|
|
wccb8:: ds 1
|
|
|
|
wccb9:: ds 1
|
2015-11-15 20:53:49 +00:00
|
|
|
wccba:: ds 102
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-11 02:25:48 +00:00
|
|
|
SECTION "Video", WRAM0
|
2014-02-02 01:26:39 +00:00
|
|
|
CreditsPos::
|
|
|
|
BGMapBuffer:: ; cd20
|
2015-11-01 23:13:31 +00:00
|
|
|
wcd20:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wcd21:: ds 1
|
|
|
|
wcd22::
|
2014-02-02 01:26:39 +00:00
|
|
|
CreditsTimer:: ; cd22
|
2013-02-26 05:47:46 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
|
|
|
|
wcd23:: ds 1
|
|
|
|
wcd24:: ds 1
|
|
|
|
wcd25:: ds 1
|
|
|
|
wcd26:: ds 1
|
|
|
|
wcd27:: ds 1
|
|
|
|
wcd28:: ds 1
|
|
|
|
wcd29:: ds 1
|
|
|
|
wcd2a:: ds 1
|
|
|
|
wcd2b:: ds 1
|
|
|
|
wcd2c:: ds 1
|
|
|
|
wcd2d:: ds 1
|
|
|
|
wcd2e:: ds 1
|
|
|
|
wcd2f:: ds 1
|
|
|
|
wcd30:: ds 1
|
|
|
|
wcd31:: ds 1
|
|
|
|
wcd32:: ds 1
|
|
|
|
wcd33:: ds 1
|
|
|
|
wcd34:: ds 1
|
|
|
|
wcd35:: ds 1
|
|
|
|
wcd36:: ds 2
|
|
|
|
wcd38:: ds 1
|
|
|
|
wcd39:: ds 1
|
|
|
|
wcd3a:: ds 1
|
|
|
|
wcd3b:: ds 1
|
|
|
|
wcd3c:: ds 1
|
|
|
|
wcd3d:: ds 1
|
|
|
|
wcd3e:: ds 1
|
|
|
|
wcd3f:: ds 1
|
|
|
|
wcd40:: ds 1
|
|
|
|
wcd41:: ds 1
|
|
|
|
wcd42:: ds 1
|
|
|
|
wcd43:: ds 1
|
|
|
|
wcd44:: ds 1
|
|
|
|
wcd45:: ds 1
|
|
|
|
wcd46:: ds 1
|
|
|
|
wcd47:: ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BGMapPalBuffer:: ; cd48
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1 ; 40
|
|
|
|
|
2015-12-08 21:06:13 +00:00
|
|
|
wBTTempOTSprite::
|
2015-02-08 08:03:32 +00:00
|
|
|
wcd49:: ds 1
|
|
|
|
wcd4a:: ds 1
|
|
|
|
wcd4b:: ds 1
|
|
|
|
wcd4c:: ds 1
|
|
|
|
wcd4d:: ds 1
|
|
|
|
wcd4e:: ds 1
|
|
|
|
wcd4f:: ds 1
|
|
|
|
wcd50:: ds 1
|
|
|
|
wcd51:: ds 1
|
|
|
|
wcd52:: ds 1
|
|
|
|
wcd53:: ds 1
|
|
|
|
wcd54:: ds 1
|
|
|
|
wcd55:: ds 1
|
|
|
|
wcd56:: ds 1
|
|
|
|
wcd57:: ds 1
|
|
|
|
wcd58:: ds 1
|
|
|
|
wcd59:: ds 1
|
|
|
|
wcd5a:: ds 1
|
|
|
|
wcd5b:: ds 1
|
|
|
|
wcd5c:: ds 1
|
|
|
|
wcd5d:: ds 1
|
|
|
|
wcd5e:: ds 1
|
|
|
|
wcd5f:: ds 1
|
|
|
|
wcd60:: ds 2
|
|
|
|
wcd62:: ds 1
|
|
|
|
wcd63:: ds 1
|
|
|
|
wcd64:: ds 1
|
|
|
|
wcd65:: ds 1
|
|
|
|
wcd66:: ds 1
|
|
|
|
wcd67:: ds 1
|
|
|
|
wcd68:: ds 1
|
|
|
|
wcd69:: ds 1
|
|
|
|
wcd6a:: ds 1
|
|
|
|
wcd6b:: ds 1
|
|
|
|
wcd6c:: ds 1
|
|
|
|
wcd6d:: ds 1
|
|
|
|
wcd6e:: ds 1
|
|
|
|
wcd6f:: ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BGMapBufferPtrs:: ; cd70
|
2012-12-14 08:00:10 +00:00
|
|
|
; 20 bg map addresses (16x8 tiles)
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1 ; 40
|
|
|
|
|
|
|
|
wcd71:: ds 1
|
|
|
|
wcd72:: ds 1
|
|
|
|
wcd73:: ds 1
|
|
|
|
wcd74:: ds 1
|
|
|
|
wcd75:: ds 2
|
|
|
|
wcd77:: ds 1
|
|
|
|
wcd78:: ds 1
|
|
|
|
wcd79:: ds 1
|
|
|
|
wcd7a:: ds 2
|
|
|
|
wcd7c:: ds 3
|
|
|
|
wcd7f:: ds 1
|
|
|
|
wcd80:: ds 1
|
|
|
|
wcd81:: ds 1
|
|
|
|
wcd82:: ds 1
|
|
|
|
wcd83:: ds 1
|
|
|
|
wcd84:: ds 1
|
|
|
|
wcd85:: ds 4
|
|
|
|
wcd89:: ds 1
|
|
|
|
wcd8a:: ds 1
|
|
|
|
wcd8b:: ds 1
|
|
|
|
wcd8c:: ds 1
|
|
|
|
wcd8d:: ds 11
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
SGBPredef:: ; cd98
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerHPPal:: ; cd99
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyHPPal:: ; cd9a
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wcd9b:: ds 6
|
|
|
|
wcda1:: ds 8
|
|
|
|
wcda9:: ds 48
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
AttrMap:: ; cdd9
|
2012-12-14 08:00:10 +00:00
|
|
|
; 20x18 grid of palettes for 8x8 tiles
|
|
|
|
; read horizontally from the top row
|
|
|
|
; bit 3: vram bank
|
|
|
|
; bit 0-2: palette id
|
2014-06-13 01:32:42 +00:00
|
|
|
ds SCREEN_WIDTH * SCREEN_HEIGHT
|
2014-06-17 05:52:59 +00:00
|
|
|
AttrMapEnd::
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-10 22:16:31 +00:00
|
|
|
wcf41:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf42:: ds 2
|
|
|
|
wcf44:: ds 1
|
|
|
|
wcf45:: ds 12
|
2015-11-23 21:04:53 +00:00
|
|
|
; addresses dealing with serial comms
|
|
|
|
wOtherPlayerLinkMode:: ds 1
|
|
|
|
wOtherPlayerLinkAction:: ds 4
|
|
|
|
wPlayerLinkAction:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf57:: ds 4
|
|
|
|
wcf5b:: ds 1
|
|
|
|
wcf5c:: ds 1
|
|
|
|
wcf5d:: ds 2
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MonType:: ; cf5f
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurSpecies:: ; cf60
|
2015-11-05 19:06:03 +00:00
|
|
|
CurMove::
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-10-19 20:49:29 +00:00
|
|
|
wNamedObjectTypeBuffer:: ds 1
|
|
|
|
ds 1
|
2015-11-07 19:38:52 +00:00
|
|
|
wJumptableIndex::
|
2015-12-08 21:06:13 +00:00
|
|
|
wBattleTowerBattleEnded::
|
2015-11-07 19:38:52 +00:00
|
|
|
wcf63:: ds 1
|
2015-09-01 04:26:31 +00:00
|
|
|
wNrOfBeatenBattleTowerTrainers::
|
2015-10-11 16:15:03 +00:00
|
|
|
wMomBankDigitCursorPosition::
|
2015-10-17 16:58:26 +00:00
|
|
|
wIntroSceneFrameCounter::
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf64:: ds 1
|
2015-02-14 08:51:34 +00:00
|
|
|
IF !DEF(CRYSTAL11)
|
2015-02-14 08:40:38 +00:00
|
|
|
wPokedexStatus::
|
2015-02-14 08:51:34 +00:00
|
|
|
ENDC
|
2015-10-17 16:58:26 +00:00
|
|
|
wTitleScreenTimerLo::
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf65:: ds 1
|
2015-10-17 16:58:26 +00:00
|
|
|
wTitleScreenTimerHi::
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf66:: ds 1
|
2013-09-01 19:24:07 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested2bpp:: ; cf67
|
2015-12-02 22:59:05 +00:00
|
|
|
Requested2bppSize::
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested2bppSource:: ; cf68
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested2bppDest:: ; cf6a
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested1bpp:: ; cf6c
|
2015-12-02 22:59:05 +00:00
|
|
|
Requested1bppSize::
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested1bppSource:: ; cf6d
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested1bppDest:: ; cf6f
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 2
|
|
|
|
|
2015-11-10 21:53:37 +00:00
|
|
|
; something to do with menu
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf71:: ds 1
|
|
|
|
wcf72:: ds 1
|
|
|
|
wcf73:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MenuSelection:: ; cf74
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf75:: ds 1
|
|
|
|
wcf76:: ds 1
|
|
|
|
wcf77:: ds 1
|
|
|
|
wcf78:: ds 9
|
2015-10-24 14:34:19 +00:00
|
|
|
|
2015-11-10 21:53:37 +00:00
|
|
|
; menu data header
|
|
|
|
wMenuDataHeader:: ; cf81
|
|
|
|
wMenuFlags:: ds 1
|
2015-10-24 14:34:19 +00:00
|
|
|
wMenuBorderTopCoord:: ds 1
|
|
|
|
wMenuBorderLeftCoord:: ds 1
|
|
|
|
wMenuBorderBottomCoord:: ds 1
|
|
|
|
wMenuBorderRightCoord:: ds 1
|
2015-11-10 21:53:37 +00:00
|
|
|
wMenuData2Pointer:: ds 2
|
2015-11-01 17:44:30 +00:00
|
|
|
wMenuCursorBuffer:: ds 2
|
2015-11-10 21:53:37 +00:00
|
|
|
; end menu data header
|
|
|
|
wMenuDataBank:: ds 1 ; menu data bank?
|
|
|
|
ds 6
|
|
|
|
wMenuDataHeaderEnd::
|
|
|
|
|
|
|
|
wMenuData2::
|
|
|
|
wMenuData2Flags:: ds 1 ; cf91
|
|
|
|
; bit 7: When set, start printing text one tile to the right of the border
|
|
|
|
; bit 6: When set, start printing text one tile below the border
|
|
|
|
; bit 5: ????
|
|
|
|
; bit 4: ????
|
|
|
|
; bit 3: ????
|
|
|
|
; bit 2: ????
|
|
|
|
; bit 1: ????
|
|
|
|
; bit 0: ????
|
2015-10-24 14:34:19 +00:00
|
|
|
|
2015-11-04 19:02:11 +00:00
|
|
|
wMenuData2Items:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf93:: ds 1
|
|
|
|
wcf94:: ds 1
|
2015-10-24 14:34:19 +00:00
|
|
|
wcf95:: ds 1 ; bank
|
|
|
|
wcf96:: ds 1 ; addr lo
|
|
|
|
wcf97:: ds 1 ; addr hi
|
2015-02-08 08:03:32 +00:00
|
|
|
wcf98:: ds 3
|
|
|
|
wcf9b:: ds 3
|
|
|
|
wcf9e:: ds 3
|
2015-11-10 21:53:37 +00:00
|
|
|
wMenuData2End::
|
2015-11-19 04:16:25 +00:00
|
|
|
wMenuData3::
|
2015-02-08 08:03:32 +00:00
|
|
|
wcfa1:: ds 1
|
|
|
|
wcfa2:: ds 1
|
|
|
|
wcfa3:: ds 1
|
|
|
|
wcfa4:: ds 1
|
2015-11-10 21:53:37 +00:00
|
|
|
wcfa5:: ds 1 ; dynamic menu flags?
|
|
|
|
wcfa6:: ds 1 ; dynamic menu flags?
|
2015-02-08 08:03:32 +00:00
|
|
|
wcfa7:: ds 1
|
|
|
|
wcfa8:: ds 1
|
2015-11-19 04:16:25 +00:00
|
|
|
wMenuData3End::
|
2015-11-04 19:02:11 +00:00
|
|
|
MenuSelection2:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wcfaa:: ds 1
|
|
|
|
wcfab:: ds 1
|
|
|
|
wcfac:: ds 1
|
|
|
|
wcfad:: ds 4
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OverworldDelay:: ; cfb1
|
2013-07-20 05:25:20 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TextDelayFrames:: ; cfb2
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
VBlankOccurred:: ; cfb3
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PredefID:: ; cfb4
|
2013-09-04 08:04:11 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PredefTemp:: ; cfb5
|
2013-09-04 08:04:11 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
PredefAddress:: ; cfb7
|
2013-09-04 08:04:11 +00:00
|
|
|
ds 2
|
2015-11-04 03:35:36 +00:00
|
|
|
wFarCallBCBuffer:: ; cfb9
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 2
|
2012-12-23 08:21:19 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wcfbb:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
GameTimerPause:: ; cfbc
|
2012-12-23 08:21:19 +00:00
|
|
|
; bit 0
|
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
wcfbe:: ds 2
|
2015-09-04 20:30:40 +00:00
|
|
|
|
|
|
|
InBattleTowerBattle:: ; cfc0
|
|
|
|
; 0 not in BattleTower-Battle
|
|
|
|
; 1 BattleTower-Battle
|
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
FXAnimID::
|
|
|
|
FXAnimIDLo:: ; cfc2
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
FXAnimIDHi:: ; cfc3
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wcfc4:: ds 1
|
|
|
|
wcfc5:: ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TileAnimationTimer:: ; cfc6
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wcfc7:: ds 1
|
|
|
|
wcfc8:: ds 1
|
|
|
|
wcfc9:: ds 1
|
|
|
|
wcfca:: ds 2
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Options:: ; cfcc
|
2012-10-09 06:32:05 +00:00
|
|
|
; bit 0-2: number of frames to delay when printing text
|
|
|
|
; fast 1; mid 3; slow 5
|
2012-12-23 08:21:19 +00:00
|
|
|
; bit 3: ?
|
|
|
|
; bit 4: no text delay
|
2012-10-09 06:32:05 +00:00
|
|
|
; bit 5: stereo off/on
|
|
|
|
; bit 6: battle style shift/set
|
|
|
|
; bit 7: battle scene off/on
|
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-11-18 04:29:14 +00:00
|
|
|
wSaveFileExists:: ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TextBoxFrame:: ; cfce
|
2012-10-09 06:32:05 +00:00
|
|
|
; bits 0-2: textbox frame 0-7
|
|
|
|
ds 1
|
2015-11-28 20:13:40 +00:00
|
|
|
TextBoxFlags::
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
GBPrinter:: ; cfd0
|
2012-10-09 06:32:05 +00:00
|
|
|
; bit 0-6: brightness
|
|
|
|
; lightest: $00
|
|
|
|
; lighter: $20
|
|
|
|
; normal: $40 (default)
|
|
|
|
; darker: $60
|
|
|
|
; darkest: $7F
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Options2:: ; cfd1
|
2012-10-09 06:32:05 +00:00
|
|
|
; bit 1: menu account off/on
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 2
|
2015-07-20 07:51:52 +00:00
|
|
|
OptionsEnd::
|
2015-08-20 04:14:15 +00:00
|
|
|
|
2015-10-24 14:34:19 +00:00
|
|
|
; Time buffer, for counting the amount of time since
|
|
|
|
; an event began.
|
|
|
|
|
|
|
|
wSecondsSince:: ds 1
|
|
|
|
wMinutesSince:: ds 1
|
|
|
|
wHoursSince:: ds 1
|
|
|
|
wDaysSince:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
|
|
|
|
ds 40
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
SECTION "WRAM 1", WRAMX, BANK [1]
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd000:: ds 1
|
2015-11-10 21:53:37 +00:00
|
|
|
DefaultSpawnpoint::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd001:: ds 1
|
2015-11-18 18:29:30 +00:00
|
|
|
|
|
|
|
wTempMail:: mailmsg wTempMail
|
|
|
|
ds wTempMail - @
|
|
|
|
|
2015-11-23 21:04:53 +00:00
|
|
|
wSeerAction:: ds 1
|
|
|
|
wSeerNickname:: ds PKMN_NAME_LENGTH
|
|
|
|
wSeerCaughtLocation:: ds 17
|
|
|
|
wSeerTimeOfDay:: ds NAME_LENGTH
|
|
|
|
wSeerOTName:: ds NAME_LENGTH
|
|
|
|
wSeerOTNameGrammar:: ds 1
|
|
|
|
wSeerCaughtLevelString:: ds 4
|
|
|
|
wSeerCaughtLevel:: ds 1
|
|
|
|
wSeerCaughtData:: ds 1
|
|
|
|
wSeerCaughtGender:: ds 1
|
|
|
|
ds wSeerAction - @
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd002::
|
2015-07-15 19:48:44 +00:00
|
|
|
PhoneScriptBank::
|
2015-10-10 21:03:04 +00:00
|
|
|
LuckyNumberDigit1Buffer::
|
2015-11-10 04:01:45 +00:00
|
|
|
wCurrentRadioLine::
|
|
|
|
wMovementBufferCount::
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem1BCD::
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestFirstPlacePersonID::
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 1
|
2015-07-15 19:48:44 +00:00
|
|
|
wd003::
|
2015-10-10 21:03:04 +00:00
|
|
|
LuckyNumberDigit2Buffer::
|
2015-07-15 19:48:44 +00:00
|
|
|
PhoneCallerLo::
|
2015-11-10 04:01:45 +00:00
|
|
|
wNextRadioLine::
|
|
|
|
wMovementBufferPerson::
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestFirstPlaceMon::
|
2015-07-15 19:48:44 +00:00
|
|
|
ds 1
|
|
|
|
wd004::
|
2015-10-10 21:03:04 +00:00
|
|
|
LuckyNumberDigit3Buffer::
|
2015-07-15 19:48:44 +00:00
|
|
|
PhoneCallerHi::
|
2015-11-10 04:01:45 +00:00
|
|
|
wRadioTextDelay::
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestFirstPlaceScore::
|
2015-07-15 19:48:44 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd005::
|
2015-10-10 21:03:04 +00:00
|
|
|
LuckyNumberDigit4Buffer::
|
2014-02-02 01:26:39 +00:00
|
|
|
StartFlypoint:: ; d005
|
2015-11-10 04:01:45 +00:00
|
|
|
wNumRadioLinesPrinted::
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem2BCD::
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd006::
|
2015-11-24 02:19:53 +00:00
|
|
|
wMobileParticipant1Nickname::
|
2015-10-10 21:03:04 +00:00
|
|
|
LuckyNumberDigit5Buffer::
|
2014-02-02 01:26:39 +00:00
|
|
|
EndFlypoint:: ; d006
|
2015-11-10 04:01:45 +00:00
|
|
|
wOaksPkmnTalkSegmentCounter::
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestSecondPlacePersonID::
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 1
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd007::
|
2014-02-02 01:26:39 +00:00
|
|
|
MovementBuffer:: ; d007
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestSecondPlaceMon::
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem3BCD::
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestSecondPlaceScore::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd008:: ds 2
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestThirdPlacePersonID::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd00a:: ds 1
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestThirdPlaceMon::
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem4BCD::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd00b:: ds 1
|
2015-11-10 04:01:45 +00:00
|
|
|
|
|
|
|
wRadioText:: ds 2 * SCREEN_WIDTH
|
|
|
|
wRadioTextEnd::
|
|
|
|
ds wRadioText - @
|
|
|
|
|
2015-11-24 02:19:53 +00:00
|
|
|
wMobileParticipant2Nickname::
|
|
|
|
wBugContestThirdPlaceScore::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd00c:: ds 1
|
|
|
|
wd00d:: ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem5BCD::
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestTempPersonID::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd00e:: ds 1
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestTempMon::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd00f:: ds 1
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestTempScore::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd010:: ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem6BCD::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd011:: ds 1
|
2015-11-24 02:19:53 +00:00
|
|
|
wMobileParticipant3Nickname::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd012:: ds 1
|
|
|
|
wd013:: ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem7BCD::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd014:: ds 2
|
2015-11-24 02:19:53 +00:00
|
|
|
wBugContestWinnerName::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd016:: ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem8BCD::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd017:: ds 1
|
2015-11-12 04:38:57 +00:00
|
|
|
|
2015-11-20 04:38:16 +00:00
|
|
|
ds wd00d - @
|
|
|
|
wd00d_MonOT:: ds NAME_LENGTH
|
2015-11-12 04:38:57 +00:00
|
|
|
wd018_Mon:: party_struct wd018_Mon
|
|
|
|
ds wd018_Mon - @
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd018:: ds 1
|
|
|
|
wd019:: ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItem9BCD::
|
|
|
|
wd01a:: ds 3
|
|
|
|
wMartItem10BCD:: ds 2
|
2015-02-10 22:16:31 +00:00
|
|
|
wd01f:: ds 1
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItemBCDEnd::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd020:: ds 3
|
|
|
|
wd023:: ds 5
|
|
|
|
wd028:: ds 2
|
|
|
|
wd02a:: ds 3
|
|
|
|
wd02d:: ds 1
|
|
|
|
wd02e:: ds 1
|
|
|
|
wd02f:: ds 1
|
|
|
|
wd030:: ds 1
|
|
|
|
wd031:: ds 1
|
|
|
|
wd032:: ds 1
|
|
|
|
wd033:: ds 1
|
|
|
|
wd034:: ds 2
|
|
|
|
wd036:: ds 2
|
2015-02-10 23:14:21 +00:00
|
|
|
wd038:: ds 3
|
|
|
|
wd03b:: ds 3
|
2013-05-03 19:40:45 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MenuItemsList::
|
|
|
|
CurFruitTree::
|
|
|
|
CurInput::
|
|
|
|
EngineBuffer1:: ; d03e
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 1
|
2015-11-12 04:38:57 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd03f::
|
2015-11-11 21:11:08 +00:00
|
|
|
wJumpStdScriptBuffer::
|
2014-02-02 01:26:39 +00:00
|
|
|
CurFruit:: ; d03f
|
2015-07-17 21:17:10 +00:00
|
|
|
MartPointerBank::
|
2015-10-24 14:34:19 +00:00
|
|
|
EngineBuffer2::
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd040::
|
2014-02-02 01:26:39 +00:00
|
|
|
MartPointer:: ; d040
|
2015-10-24 14:34:19 +00:00
|
|
|
EngineBuffer3::
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2015-10-24 14:34:19 +00:00
|
|
|
wd041::
|
|
|
|
EngineBuffer4::
|
2015-11-15 19:59:38 +00:00
|
|
|
wTempTrainerHeader::
|
2015-11-10 04:01:45 +00:00
|
|
|
wTempTrainerEventFlagLo::
|
2015-10-24 14:34:19 +00:00
|
|
|
ds 1
|
2015-11-10 04:01:45 +00:00
|
|
|
|
|
|
|
wTempTrainerEventFlagHi::
|
2014-02-02 01:26:39 +00:00
|
|
|
MovementAnimation:: ; d042
|
2015-11-13 23:59:49 +00:00
|
|
|
EngineBuffer5::
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2015-11-10 04:01:45 +00:00
|
|
|
wTempTrainerClass::
|
2014-02-02 01:26:39 +00:00
|
|
|
WalkingDirection:: ; d043
|
2015-11-11 19:12:46 +00:00
|
|
|
wBargainShopFlags::
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2015-11-10 04:01:45 +00:00
|
|
|
wTempTrainerID::
|
2014-02-02 01:26:39 +00:00
|
|
|
FacingDirection:: ; d044
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2015-11-10 04:01:45 +00:00
|
|
|
wSeenTextPointer::
|
2015-11-11 19:12:46 +00:00
|
|
|
WalkingX::
|
|
|
|
wd045:: ; d045
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WalkingY:: ; d046
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2015-11-10 04:01:45 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
WalkingTile:: ; d047
|
2015-07-19 03:45:39 +00:00
|
|
|
wWinTextPointer::
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-07-19 03:45:39 +00:00
|
|
|
wd048:: ds 1
|
|
|
|
wLossTextPointer:: ds 2
|
2015-11-10 04:01:45 +00:00
|
|
|
wScriptAfterPointer::
|
2015-02-10 23:14:21 +00:00
|
|
|
wd04b:: ds 2
|
2015-11-25 15:16:29 +00:00
|
|
|
wRunningTrainerBattleScript:: ds 1
|
2015-10-16 17:35:43 +00:00
|
|
|
MenuItemsListEnd::
|
2015-11-15 19:59:38 +00:00
|
|
|
wTempTrainerHeaderEnd::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd04e:: ds 2
|
2015-11-10 04:01:45 +00:00
|
|
|
wOaksPkmnTalkPkmnNameBuffer::
|
2015-11-20 04:38:16 +00:00
|
|
|
wd050_MonNick::
|
2015-11-10 04:01:45 +00:00
|
|
|
wd050:: ds PKMN_NAME_LENGTH +- 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd05a:: ds 12
|
|
|
|
wd066:: ds 10
|
|
|
|
wd070:: ds 3
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer1:: ; d073
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 19
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer2:: ; d086
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 19
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer3:: ; d099
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 19
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer4:: ; d0ac
|
2013-05-21 23:03:31 +00:00
|
|
|
ds 19
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2014-02-25 02:35:29 +00:00
|
|
|
StringBuffer5:: ; d0bf
|
|
|
|
ds 19
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0d2:: ds 2
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurBattleMon:: ; d0d4
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurMoveNum:: ; d0d5
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-23 21:04:53 +00:00
|
|
|
wLastPocket:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0d7:: ds 1
|
2015-11-19 04:16:25 +00:00
|
|
|
wPartyMenuCursor::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0d8:: ds 1
|
2015-10-24 23:49:19 +00:00
|
|
|
wItemsPocketCursor:: ds 1
|
|
|
|
wKeyItemsPocketCursor:: ds 1
|
|
|
|
wBallsPocketCursor:: ds 1
|
|
|
|
wTMHMPocketCursor:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0dd:: ds 2
|
2015-11-23 21:04:53 +00:00
|
|
|
wItemsPocketScrollPosition:: ds 1
|
|
|
|
wKeyItemsPocketScrollPosition:: ds 1
|
|
|
|
wBallsPocketScrollPosition:: ds 1
|
|
|
|
wTMHMPocketScrollPosition:: ds 1
|
2015-11-05 19:06:03 +00:00
|
|
|
wMoveSwapBuffer::
|
2015-11-19 04:16:25 +00:00
|
|
|
wSwitchMon::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0e3:: ds 1
|
2015-11-23 21:04:53 +00:00
|
|
|
wMenuScrollPosition:: ds 4
|
2015-11-01 17:44:30 +00:00
|
|
|
wQueuedScriptBank:: ds 1
|
|
|
|
wQueuedScriptAddr:: ds 2
|
2015-12-04 13:46:11 +00:00
|
|
|
wNumMoves::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0eb:: ds 1
|
2015-11-18 23:35:44 +00:00
|
|
|
wFieldMoveSucceeded::
|
2015-11-23 21:04:53 +00:00
|
|
|
wPlayerAction::
|
|
|
|
; 0 - use move
|
|
|
|
; 1 - use item
|
|
|
|
; 2 - switch
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0ec:: ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
VramState:: ; d0ed
|
2012-10-09 06:32:05 +00:00
|
|
|
; bit 0: overworld sprite updating on/off
|
|
|
|
; bit 6: something to do with text
|
|
|
|
; bit 7: on when surf initiates
|
|
|
|
; flickers when climbing waterfall
|
|
|
|
ds 1
|
|
|
|
|
2015-10-24 14:34:19 +00:00
|
|
|
wBattleResult:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd0ef:: ds 1
|
2015-11-18 18:01:55 +00:00
|
|
|
CurMart:: ds 16
|
|
|
|
ds CurMart - @
|
|
|
|
wd0f0:: ds 1
|
|
|
|
wd0f1::
|
|
|
|
wCurMessageIndex:: ds 1
|
|
|
|
wd0f2::
|
|
|
|
wMailboxCount:: ds 1
|
|
|
|
wMailboxItems:: ds MAILBOX_CAPACITY
|
|
|
|
wMailboxEnd:: ds 1 ; d1fe
|
|
|
|
ds 2
|
2015-11-11 19:12:46 +00:00
|
|
|
CurMartEnd::
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-11-18 18:01:55 +00:00
|
|
|
wd100:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd101:: ds 1
|
|
|
|
wd102:: ds 1
|
|
|
|
wd103:: ds 1
|
|
|
|
wd104:: ds 1
|
|
|
|
wd105:: ds 1
|
2013-04-30 01:19:42 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurItem:: ; d106
|
2013-04-30 01:19:42 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-10-16 17:35:43 +00:00
|
|
|
ItemCountBuffer:: ; d107
|
2015-11-11 19:12:46 +00:00
|
|
|
wMartItemID::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd107:: ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurPartySpecies:: ; d108
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurPartyMon:: ; d109
|
2012-11-24 02:19:02 +00:00
|
|
|
; contains which monster in a party
|
2012-10-09 06:32:05 +00:00
|
|
|
; is being dealt with at the moment
|
|
|
|
; 0-5
|
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd10a:: ds 1
|
2015-11-08 15:59:28 +00:00
|
|
|
wPokemonWithdrawDepositParameter::
|
|
|
|
; 0: Take from PC
|
|
|
|
; 1: Put into PC
|
|
|
|
; 2: Take from Daycare
|
|
|
|
; 3: Put into Daycare
|
2015-02-08 08:03:32 +00:00
|
|
|
wd10b:: ds 1
|
2015-11-01 23:13:31 +00:00
|
|
|
wItemQuantityChangeBuffer:: ds 1
|
|
|
|
wItemQuantityBuffer:: ds 1
|
2013-04-12 21:21:22 +00:00
|
|
|
|
2015-02-10 22:16:31 +00:00
|
|
|
wd10e::
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMon::
|
2014-06-11 06:08:07 +00:00
|
|
|
party_struct TempMon
|
2013-04-12 21:21:22 +00:00
|
|
|
|
2015-11-03 14:16:56 +00:00
|
|
|
wSpriteFlags:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
|
|
|
|
wd13f:: ds 2
|
2013-01-14 08:40:27 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMenuActionText:: ; d141
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-12-02 18:24:18 +00:00
|
|
|
wItemAttributeParamBuffer:: ; d142
|
2015-10-24 14:34:19 +00:00
|
|
|
ds 1
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurPartyLevel:: ; d143
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd144:: ds 2
|
2015-11-12 16:10:19 +00:00
|
|
|
|
|
|
|
; used when following a map warp
|
2015-11-30 02:34:59 +00:00
|
|
|
; d146
|
|
|
|
wNextWarp:: ds 1
|
|
|
|
wNextMapGroup:: ds 1
|
|
|
|
wNextMapNumber:: ds 1
|
|
|
|
wPrevWarp:: ds 1
|
|
|
|
wPrevMapGroup:: ds 1
|
|
|
|
wPrevMapNumber:: ds 1
|
|
|
|
; d14c
|
2015-11-12 16:10:19 +00:00
|
|
|
|
2015-11-08 18:27:26 +00:00
|
|
|
wd14c:: ds 1 ; used in FollowNotExact
|
|
|
|
wd14d:: ds 1 ; used in FollowNotExact
|
2015-11-15 04:02:38 +00:00
|
|
|
|
2015-11-13 05:49:27 +00:00
|
|
|
; Player movement
|
2015-11-15 04:02:38 +00:00
|
|
|
wPlayerStepVectorX:: ds 1
|
|
|
|
wPlayerStepVectorY:: ds 1
|
|
|
|
wPlayerStepFlags:: ds 1
|
|
|
|
wPlayerStepDirection:: ds 1
|
|
|
|
|
|
|
|
wBGMapAnchor:: ds 2
|
2013-05-13 19:37:14 +00:00
|
|
|
|
2015-11-14 19:41:47 +00:00
|
|
|
UsedSprites:: ds 64 ; d154
|
2015-11-09 21:41:09 +00:00
|
|
|
UsedSpritesEnd::
|
|
|
|
ds UsedSprites - @
|
|
|
|
|
|
|
|
wd154:: ; d154
|
2015-02-10 22:16:31 +00:00
|
|
|
ds 31 ; 64
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-02-10 22:16:31 +00:00
|
|
|
wd173:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 13
|
|
|
|
wd181:: ds 1
|
|
|
|
wd182:: ds 1
|
|
|
|
ds 14
|
2013-07-08 05:35:41 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd191:: ds 1
|
|
|
|
wd192:: ds 1
|
|
|
|
wd193:: ds 1
|
2015-11-09 21:41:09 +00:00
|
|
|
wd194:: dw
|
2015-12-01 20:35:28 +00:00
|
|
|
wMetatileStandingY::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd196:: ds 1
|
2015-12-01 20:35:28 +00:00
|
|
|
wMetatileStandingX::
|
2015-11-12 16:10:19 +00:00
|
|
|
wd197:: ds 1
|
|
|
|
wSecondMapHeaderBank:: ds 1
|
|
|
|
wTileset:: ds 1
|
2015-10-17 21:18:52 +00:00
|
|
|
wPermission:: ds 1
|
2015-11-12 16:10:19 +00:00
|
|
|
wSecondMapHeaderAddr:: dw
|
2013-07-20 05:25:20 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
; width/height are in blocks (2x2 walkable tiles, 4x4 graphics tiles)
|
2014-02-02 01:26:39 +00:00
|
|
|
MapHeader:: ; d19d
|
|
|
|
MapBorderBlock:: ; d19d
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapHeight:: ; d19e
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapWidth:: ; d19f
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapBlockDataBank:: ; d1a0
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapBlockDataPointer:: ; d1a1
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
MapScriptHeaderBank:: ; d1a3
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapScriptHeaderPointer:: ; d1a4
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
MapEventHeaderPointer:: ; d1a6
|
2013-10-05 02:03:34 +00:00
|
|
|
ds 2
|
|
|
|
; bit set
|
2014-02-02 01:26:39 +00:00
|
|
|
MapConnections:: ; d1a8
|
2013-07-20 05:25:20 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthMapConnection:: ; d1a9
|
|
|
|
NorthConnectedMapGroup:: ; d1a9
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectedMapNumber:: ; d1aa
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectionStripPointer:: ; d1ab
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectionStripLocation:: ; d1ad
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 2
|
2015-11-02 17:54:27 +00:00
|
|
|
NorthConnectionStripLength:: ; d1af
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2015-11-02 17:54:27 +00:00
|
|
|
NorthConnectedMapWidth:: ; d1b0
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectionStripYOffset:: ; d1b1
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectionStripXOffset:: ; d1b2
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectionWindow:: ; d1b3
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthMapConnection:: ; d1b5
|
|
|
|
SouthConnectedMapGroup:: ; d1b5
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectedMapNumber:: ; d1b6
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectionStripPointer:: ; d1b7
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectionStripLocation:: ; d1b9
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2015-11-02 17:54:27 +00:00
|
|
|
SouthConnectionStripLength:: ; d1bb
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2015-11-02 17:54:27 +00:00
|
|
|
SouthConnectedMapWidth:: ; d1bc
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectionStripYOffset:: ; d1bd
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectionStripXOffset:: ; d1be
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectionWindow:: ; d1bf
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
WestMapConnection:: ; d1c1
|
|
|
|
WestConnectedMapGroup:: ; d1c1
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectedMapNumber:: ; d1c2
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectionStripPointer:: ; d1c3
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectionStripLocation:: ; d1c5
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectionStripLength:: ; d1c7
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectedMapWidth:: ; d1c8
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectionStripYOffset:: ; d1c9
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectionStripXOffset:: ; d1ca
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
WestConnectionWindow:: ; d1cb
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EastMapConnection:: ; d1cd
|
|
|
|
EastConnectedMapGroup:: ; d1cd
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectedMapNumber:: ; d1ce
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectionStripPointer:: ; d1cf
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectionStripLocation:: ; d1d1
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectionStripLength:: ; d1d3
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectedMapWidth:: ; d1d4
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectionStripYOffset:: ; d1d5
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectionStripXOffset:: ; d1d6
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EastConnectionWindow:: ; d1d7
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 2
|
2013-05-13 19:37:14 +00:00
|
|
|
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetHeader::
|
|
|
|
TilesetBank:: ; d1d9
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetAddress:: ; d1da
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetBlocksBank:: ; d1dc
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetBlocksAddress:: ; d1dd
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetCollisionBank:: ; d1df
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetCollisionAddress:: ; d1e0
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetAnim:: ; d1e2
|
2012-12-14 08:00:10 +00:00
|
|
|
; bank 3f
|
|
|
|
ds 2
|
|
|
|
; unused ; d1e4
|
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TilesetPalettes:: ; d1e6
|
2012-12-14 08:00:10 +00:00
|
|
|
; bank 3f
|
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EvolvableFlags:: ; d1e8
|
2014-06-13 01:32:42 +00:00
|
|
|
flag_array PARTY_LENGTH
|
2013-04-19 07:48:07 +00:00
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
wForceEvolution:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MagikarpLength::
|
|
|
|
Buffer1:: ; d1ea
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MovementType::
|
|
|
|
Buffer2:: ; d1eb
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-10-10 21:03:04 +00:00
|
|
|
Buffer3::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd1ec:: ds 1
|
2015-10-10 21:03:04 +00:00
|
|
|
Buffer4::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd1ed:: ds 1
|
2015-10-10 21:03:04 +00:00
|
|
|
Buffer5::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd1ee:: ds 1
|
2015-11-07 13:05:57 +00:00
|
|
|
Buffer6::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd1ef:: ds 1
|
|
|
|
wd1f0:: ds 1
|
|
|
|
wd1f1:: ds 1
|
|
|
|
wd1f2:: ds 1
|
|
|
|
wd1f3:: ds 1
|
|
|
|
wd1f4:: ds 1
|
|
|
|
wd1f5:: ds 1
|
|
|
|
wd1f6:: ds 4
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LinkBattleRNs:: ; d1fa
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 10
|
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
TempEnemyMonSpecies:: ds 1 ; d204
|
|
|
|
TempBattleMonSpecies:: ds 1 ; d205
|
2013-04-29 19:42:31 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
EnemyMon:: battle_struct EnemyMon ; d206
|
|
|
|
EnemyMonBaseStats:: ds 5 ; d226
|
|
|
|
EnemyMonCatchRate:: db ; d22b
|
|
|
|
EnemyMonBaseExp:: db ; d22c
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonEnd::
|
2013-03-26 09:22:22 +00:00
|
|
|
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2015-10-19 14:23:58 +00:00
|
|
|
wBattleMode:: ; d22d
|
2012-12-14 08:00:10 +00:00
|
|
|
; 0: overworld
|
|
|
|
; 1: wild battle
|
2012-11-24 02:19:02 +00:00
|
|
|
; 2: trainer battle
|
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-07-23 07:41:52 +00:00
|
|
|
TempWildMonSpecies:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
OtherTrainerClass:: ; d22f
|
2012-09-11 03:20:58 +00:00
|
|
|
; class (Youngster, Bug Catcher, etc.) of opposing trainer
|
|
|
|
; 0 if opponent is a wild Pokémon, not a trainer
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleType:: ; d230
|
2012-11-24 02:19:02 +00:00
|
|
|
; $00 normal
|
2015-09-09 23:27:07 +00:00
|
|
|
; $01 can lose
|
|
|
|
; $02 debug
|
|
|
|
; $03 dude/tutorial
|
2012-11-24 02:19:02 +00:00
|
|
|
; $04 fishing
|
|
|
|
; $05 roaming
|
2015-09-09 23:27:07 +00:00
|
|
|
; $06 contest
|
2012-11-24 02:19:02 +00:00
|
|
|
; $07 shiny
|
|
|
|
; $08 headbutt/rock smash
|
2015-09-09 23:27:07 +00:00
|
|
|
; $09 trap
|
2012-11-24 02:19:02 +00:00
|
|
|
; $0a force Item1
|
2015-09-09 23:27:07 +00:00
|
|
|
; $0b celebi
|
2012-11-24 02:19:02 +00:00
|
|
|
; $0c suicune
|
2012-09-11 03:20:58 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OtherTrainerID:: ; d231
|
2012-09-11 03:20:58 +00:00
|
|
|
; which trainer of the class that you're fighting
|
|
|
|
; (Joey, Mikey, Albert, etc.)
|
|
|
|
ds 1
|
|
|
|
|
2015-11-09 00:09:36 +00:00
|
|
|
wForcedSwitch:: ds 1
|
2013-05-04 06:14:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TrainerClass:: ; d233
|
2013-05-04 06:14:02 +00:00
|
|
|
ds 1
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
UnownLetter:: ; d234
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-23 21:04:53 +00:00
|
|
|
wMoveSelectionMenuType:: ds 1
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurBaseData:: ; d236
|
|
|
|
BaseDexNo:: ; d236
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseStats:: ; d237
|
|
|
|
BaseHP:: ; d237
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseAttack:: ; d238
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseDefense:: ; d239
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseSpeed:: ; d23a
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseSpecialAttack:: ; d23b
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseSpecialDefense:: ; d23c
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseType:: ; d23d
|
|
|
|
BaseType1:: ; d23d
|
2013-04-29 19:42:31 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseType2:: ; d23e
|
2013-04-29 19:42:31 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseCatchRate:: ; d23f
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseExp:: ; d240
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseItems:: ; d241
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseGender:: ; d243
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseUnknown1:: ; d244
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseEggSteps:: ; d245
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseUnknown2:: ; d246
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BasePicSize:: ; d247
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BasePadding:: ; d248
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 4
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseGrowthRate:: ; d24c
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseEggGroups:: ; d24d
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BaseTMHM:: ; d24e
|
2013-04-29 18:04:25 +00:00
|
|
|
ds 8
|
|
|
|
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurDamage:: ; d256
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 2
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 2
|
2015-12-09 16:38:40 +00:00
|
|
|
wMornEncounterRate:: ds 1
|
|
|
|
wDayEncounterRate:: ds 1
|
|
|
|
wNiteEncounterRate:: ds 1
|
|
|
|
wWaterEncounterRate:: ds 1
|
2015-10-17 21:18:52 +00:00
|
|
|
wListMoves_MoveIndicesBuffer:: ds 4
|
2015-12-02 18:24:18 +00:00
|
|
|
wPutativeTMHMMove:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd263:: ds 1
|
|
|
|
wd264:: ds 1
|
2015-10-10 21:03:04 +00:00
|
|
|
wFoundMatchingIDInParty::
|
2015-10-07 17:19:41 +00:00
|
|
|
wNamedObjectIndexBuffer::
|
2015-10-12 16:33:24 +00:00
|
|
|
wCurTMHM::
|
2015-11-07 01:55:16 +00:00
|
|
|
wTypeMatchup::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd265:: ds 1
|
2015-11-23 21:04:53 +00:00
|
|
|
wFailedToFlee:: ds 1
|
|
|
|
wNumFleeAttempts:: ds 1
|
|
|
|
wMonTriedToEvolve:: ds 1
|
2012-09-11 03:20:58 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TimeOfDay:: ; d269
|
2012-09-11 03:20:58 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2015-12-02 22:59:05 +00:00
|
|
|
|
|
|
|
SECTION "Enemy Party", WRAMX, BANK [1]
|
2015-11-10 04:01:45 +00:00
|
|
|
wPokedexShowPointerAddr::
|
2015-02-08 08:03:32 +00:00
|
|
|
wd26b:: ds 1
|
|
|
|
wd26c:: ds 1
|
2015-11-10 04:01:45 +00:00
|
|
|
wPokedexShowPointerBank::
|
|
|
|
wd26d:: ds 1
|
|
|
|
ds 3
|
2015-02-08 08:03:32 +00:00
|
|
|
wd271:: ds 5
|
|
|
|
wd276:: ds 10
|
2015-11-28 20:13:40 +00:00
|
|
|
ds wd26b - @
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2015-12-02 22:59:05 +00:00
|
|
|
|
|
|
|
; SECTION "Enemy Party", WRAMX, BANK [1]
|
2015-11-28 20:13:40 +00:00
|
|
|
OTPlayerName:: ds NAME_LENGTH
|
|
|
|
OTPlayerID:: ds 2
|
|
|
|
ds 8
|
2014-06-13 01:32:42 +00:00
|
|
|
OTPartyCount:: ds 1 ; d280
|
2014-06-13 02:32:58 +00:00
|
|
|
OTPartySpecies:: ds PARTY_LENGTH ; d281
|
2014-06-13 01:32:42 +00:00
|
|
|
OTPartyEnd:: ds 1
|
|
|
|
|
2014-06-15 05:33:23 +00:00
|
|
|
OTPartyMons::
|
2014-06-13 01:32:42 +00:00
|
|
|
OTPartyMon1:: party_struct OTPartyMon1 ; d288
|
|
|
|
OTPartyMon2:: party_struct OTPartyMon2 ; d2b8
|
|
|
|
OTPartyMon3:: party_struct OTPartyMon3 ; d2e8
|
|
|
|
OTPartyMon4:: party_struct OTPartyMon4 ; d318
|
|
|
|
OTPartyMon5:: party_struct OTPartyMon5 ; d348
|
|
|
|
OTPartyMon6:: party_struct OTPartyMon6 ; d378
|
2014-06-15 05:33:23 +00:00
|
|
|
OTPartyMonsEnd::
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2014-06-13 02:32:58 +00:00
|
|
|
OTPartyMonOT:: ds NAME_LENGTH * PARTY_LENGTH ; d3a8
|
|
|
|
OTPartyMonNicknames:: ds PKMN_NAME_LENGTH * PARTY_LENGTH ; d3ea
|
2012-06-06 03:28:55 +00:00
|
|
|
|
2014-06-14 04:18:14 +00:00
|
|
|
ds 4
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd430::
|
2014-06-14 04:18:14 +00:00
|
|
|
wBattleAction:: ds 1 ; d430
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd431:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapStatus:: ; d432
|
2013-12-27 10:56:23 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapEventStatus:: ; d433
|
2015-11-02 17:54:27 +00:00
|
|
|
; 0: do map events
|
|
|
|
; 1: do background events
|
2013-12-27 10:56:23 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptFlags:: ; d434
|
2015-11-28 20:13:40 +00:00
|
|
|
; bit 3: priority jump
|
2013-07-04 09:37:20 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptFlags2:: ; d435
|
2013-07-20 05:25:20 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptFlags3:: ; d436
|
2015-11-13 23:59:49 +00:00
|
|
|
; bit 0: count steps
|
|
|
|
; bit 1: xy triggers
|
|
|
|
; bit 2: warps and connections
|
|
|
|
; bit 4: wild encounters
|
|
|
|
; bit 5: unknown
|
2013-07-20 05:25:20 +00:00
|
|
|
ds 1
|
2013-02-28 21:45:34 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptMode:: ; d437
|
2013-07-04 09:37:20 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptRunning:: ; d438
|
2013-07-04 08:11:28 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptBank:: ; d439
|
2013-02-28 21:45:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptPos:: ; d43a
|
2013-02-28 21:45:34 +00:00
|
|
|
ds 2
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2015-11-16 16:53:26 +00:00
|
|
|
wScriptStackSize:: ds 1
|
2015-12-02 02:54:11 +00:00
|
|
|
wScriptStack:: ds 3 * 5
|
2015-11-16 16:53:26 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptDelay:: ; d44d
|
2013-07-04 09:37:20 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
wPriorityScriptBank::
|
|
|
|
wScriptTextBank::
|
2015-02-10 23:14:21 +00:00
|
|
|
wd44e:: ds 1
|
2015-11-28 20:13:40 +00:00
|
|
|
wPriorityScriptAddr::
|
|
|
|
wScriptTextAddr::
|
2015-02-10 23:14:21 +00:00
|
|
|
wd44f:: ds 1
|
|
|
|
wd450:: ds 1
|
|
|
|
wd451:: ds 1
|
2015-10-08 01:27:32 +00:00
|
|
|
wWildEncounterCooldown:: ds 1
|
2015-02-10 22:16:31 +00:00
|
|
|
wd453:: ds 1
|
|
|
|
wd454:: ds 1
|
|
|
|
ds 4
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-11-25 15:16:29 +00:00
|
|
|
wBattleScriptFlags:: ds 2
|
2015-10-24 14:34:19 +00:00
|
|
|
wPlayerSpriteSetupFlags:: ds 1
|
|
|
|
wMapReentryScriptQueueFlag:: ds 1 ; MemScriptFlag
|
|
|
|
wMapReentryScriptBank:: ds 1 ; MemScriptBank
|
|
|
|
wMapReentryScriptAddress:: ds 2 ; MemScriptAddr
|
|
|
|
ds 4 ; ?????????????
|
|
|
|
wTimeCyclesSinceLastCall:: ds 1
|
|
|
|
wReceiveCallDelay_MinsRemaining:: ds 1
|
|
|
|
wReceiveCallDelay_StartTime:: ds 3
|
|
|
|
ds 3
|
|
|
|
wBugContestMinsRemaining:: ds 1
|
|
|
|
wBugContestSecsRemaining:: ds 1
|
|
|
|
ds 4
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
wCrystalData::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerGender:: ; d472
|
2013-02-04 05:22:53 +00:00
|
|
|
; bit 0:
|
|
|
|
; 0 male
|
|
|
|
; 1 female
|
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd473:: ds 1
|
|
|
|
wd474:: ds 1
|
|
|
|
wd475:: ds 1
|
|
|
|
wd476:: ds 1
|
|
|
|
wd477:: ds 1
|
|
|
|
wd478:: ds 1
|
2015-08-20 04:14:15 +00:00
|
|
|
wCrystalDataEnd::
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wd479:: ds 2
|
|
|
|
|
2015-10-13 18:29:34 +00:00
|
|
|
wGameData::
|
2015-08-20 04:14:15 +00:00
|
|
|
wPlayerData::
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerID:: ; d47b
|
2012-07-05 03:42:39 +00:00
|
|
|
ds 2
|
2013-07-21 09:53:04 +00:00
|
|
|
|
2014-06-13 02:32:58 +00:00
|
|
|
PlayerName:: ds NAME_LENGTH ; d47d
|
|
|
|
MomsName:: ds NAME_LENGTH ; d488
|
|
|
|
RivalName:: ds NAME_LENGTH ; d493
|
|
|
|
RedsName:: ds NAME_LENGTH ; d49e
|
|
|
|
GreensName:: ds NAME_LENGTH ; d4a9
|
2013-05-13 00:36:40 +00:00
|
|
|
|
2015-10-16 17:35:43 +00:00
|
|
|
wSavedAtLeastOnce:: ds 1
|
2015-10-07 17:19:41 +00:00
|
|
|
wSpawnAfterChampion:: ds 1
|
2012-07-05 03:42:39 +00:00
|
|
|
|
2012-11-24 02:19:02 +00:00
|
|
|
; init time set at newgame
|
2014-02-02 01:26:39 +00:00
|
|
|
StartDay:: ; d4b6
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StartHour:: ; d4b7
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StartMinute:: ; d4b8
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StartSecond:: ; d4b9
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-07-24 17:45:30 +00:00
|
|
|
wRTC:: ; d4ba
|
|
|
|
ds 8
|
|
|
|
wDST:: ; d4c2
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
GameTimeCap:: ; d4c3
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
GameTimeHours:: ; d4c4
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
GameTimeMinutes:: ; d4c6
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
GameTimeSeconds:: ; d4c7
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
GameTimeFrames:: ; d4c8
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 2
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurDay:: ; d4cb
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2015-11-02 16:15:32 +00:00
|
|
|
wObjectFollow_Leader:: ds 1
|
|
|
|
wObjectFollow_Follower:: ds 1
|
2015-11-16 16:53:26 +00:00
|
|
|
wCenteredObject:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd4d0:: ds 1
|
2015-11-02 16:15:32 +00:00
|
|
|
wd4d1:: ds 1
|
|
|
|
ds 4
|
2013-07-22 07:00:07 +00:00
|
|
|
|
2015-11-13 23:59:49 +00:00
|
|
|
ObjectStructs:: ; d4d6
|
2015-11-02 16:15:32 +00:00
|
|
|
object_struct: MACRO
|
|
|
|
\1Struct::
|
|
|
|
\1Sprite:: ds 1
|
|
|
|
\1MapObjectIndex:: ds 1
|
|
|
|
\1SpriteTile:: ds 1
|
|
|
|
\1MovementType:: ds 1
|
|
|
|
\1Flags:: ds 2
|
|
|
|
\1Palette:: ds 1
|
|
|
|
\1Walking:: ds 1
|
|
|
|
\1Direction:: ds 1
|
2015-11-15 04:02:38 +00:00
|
|
|
\1StepType:: ds 1
|
2015-11-02 16:15:32 +00:00
|
|
|
\1StepDuration:: ds 1
|
|
|
|
\1Action:: ds 1
|
2015-11-16 02:28:15 +00:00
|
|
|
\1ObjectStepFrame:: ds 1
|
2015-11-02 16:15:32 +00:00
|
|
|
\1Facing:: ds 1
|
2015-11-15 19:59:38 +00:00
|
|
|
\1NextTile:: ds 1 ; collision
|
|
|
|
\1StandingTile:: ds 1 ; collision
|
2015-11-02 16:15:32 +00:00
|
|
|
\1NextMapX:: ds 1
|
|
|
|
\1NextMapY:: ds 1
|
2015-11-14 19:41:47 +00:00
|
|
|
\1MapX:: ds 1
|
|
|
|
\1MapY:: ds 1
|
2015-11-15 19:59:38 +00:00
|
|
|
\1ObjectInitX:: ds 1
|
|
|
|
\1ObjectInitY:: ds 1
|
|
|
|
\1Radius:: ds 1
|
2015-11-02 16:15:32 +00:00
|
|
|
\1SpriteX:: ds 1
|
|
|
|
\1SpriteY:: ds 1
|
|
|
|
\1SpriteXOffset:: ds 1
|
|
|
|
\1SpriteYOffset:: ds 1
|
2015-11-15 19:59:38 +00:00
|
|
|
\1MovementByteIndex:: ds 1
|
|
|
|
\1Object28:: ds 1
|
|
|
|
\1Object29:: ds 1
|
|
|
|
\1Object30:: ds 1
|
|
|
|
\1Object31:: ds 1
|
|
|
|
\1Range:: ds 1
|
2015-11-02 16:15:32 +00:00
|
|
|
ds 7
|
2015-11-15 19:59:38 +00:00
|
|
|
\1StructEnd::
|
2015-11-02 16:15:32 +00:00
|
|
|
ENDM
|
|
|
|
|
|
|
|
object_struct Player
|
|
|
|
object_struct Object1
|
|
|
|
object_struct Object2
|
|
|
|
object_struct Object3
|
|
|
|
object_struct Object4
|
|
|
|
object_struct Object5
|
|
|
|
object_struct Object6
|
|
|
|
object_struct Object7
|
|
|
|
object_struct Object8
|
|
|
|
object_struct Object9
|
|
|
|
object_struct Object10
|
|
|
|
object_struct Object11
|
|
|
|
object_struct Object12
|
2015-11-19 04:16:25 +00:00
|
|
|
ObjectStructsEnd:: ; d6de
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
wCmdQueue:: ds CMDQUEUE_CAPACITY * CMDQUEUE_ENTRY_SIZE
|
|
|
|
ds $28
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-11-15 19:59:38 +00:00
|
|
|
MapObjects:: ; d71e
|
2015-11-05 01:20:14 +00:00
|
|
|
map_object: MACRO
|
|
|
|
\1Object::
|
|
|
|
\1ObjectStructID:: ds 1
|
|
|
|
\1ObjectSprite:: ds 1
|
|
|
|
\1ObjectYCoord:: ds 1
|
|
|
|
\1ObjectXCoord:: ds 1
|
|
|
|
\1ObjectMovement:: ds 1
|
|
|
|
\1ObjectRadius:: ds 1
|
|
|
|
\1ObjectHour:: ds 1
|
|
|
|
\1ObjectTimeOfDay:: ds 1
|
|
|
|
\1ObjectColor:: ds 1
|
|
|
|
\1ObjectRange:: ds 1
|
|
|
|
\1ObjectScript:: ds 2
|
|
|
|
\1ObjectEventFlag:: ds 2
|
|
|
|
ds 2
|
|
|
|
endm
|
|
|
|
|
|
|
|
map_object Player
|
|
|
|
map_object Map1
|
|
|
|
map_object Map2
|
|
|
|
map_object Map3
|
|
|
|
map_object Map4
|
|
|
|
map_object Map5
|
|
|
|
map_object Map6
|
|
|
|
map_object Map7
|
|
|
|
map_object Map8
|
|
|
|
map_object Map9
|
|
|
|
map_object Map10
|
|
|
|
map_object Map11
|
|
|
|
map_object Map12
|
|
|
|
map_object Map13
|
|
|
|
map_object Map14
|
|
|
|
map_object Map15
|
2015-11-15 19:59:38 +00:00
|
|
|
MapObjectsEnd::
|
2013-07-04 08:11:28 +00:00
|
|
|
|
2015-11-02 02:17:46 +00:00
|
|
|
wObjectMasks:: ds NUM_OBJECTS ; d81e
|
2013-07-04 08:11:28 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
VariableSprites:: ; d82e
|
2013-07-08 05:35:41 +00:00
|
|
|
ds $10
|
|
|
|
|
2015-11-10 16:05:26 +00:00
|
|
|
wEnteredMapFromContinue:: ds 1 ; d83e
|
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TimeOfDayPal:: ; d841
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
|
|
|
ds 4
|
|
|
|
; d846
|
2015-02-08 08:03:32 +00:00
|
|
|
wd846:: ds 1
|
|
|
|
wd847:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurTimeOfDay:: ; d848
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2013-07-02 02:55:13 +00:00
|
|
|
|
2015-10-16 17:35:43 +00:00
|
|
|
wSecretID:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wd84b:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StatusFlags:: ; d84c
|
2015-11-13 05:49:27 +00:00
|
|
|
; 0 - pokedex
|
|
|
|
; 1 - unown dex
|
|
|
|
; 2 -
|
|
|
|
; 3 - pokerus
|
|
|
|
; 4 - rocket signal
|
|
|
|
; 5 - wild encounters on/off
|
|
|
|
; 6 - hall of fame
|
|
|
|
; 7 - bug contest on
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 1
|
2015-11-15 19:59:38 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StatusFlags2:: ; d84d
|
2015-11-13 05:49:27 +00:00
|
|
|
; 0 - rockets
|
|
|
|
; 1 -
|
|
|
|
; 2 - bug contest timer
|
|
|
|
; 3 -
|
|
|
|
; 4 - bike shop call
|
|
|
|
; 5 - pokerus
|
|
|
|
; 6 - berry juice?
|
|
|
|
; 7 - rockets in mahogany
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 1
|
2012-12-23 08:21:19 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Money:: ; d84e
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 3
|
|
|
|
|
2014-06-11 06:08:07 +00:00
|
|
|
wMomsMoney:: ; d851
|
|
|
|
ds 3
|
|
|
|
wMomSavingMoney:: ; d854
|
|
|
|
ds 1
|
2013-08-30 21:48:59 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Coins:: ; d855
|
2013-08-30 21:48:59 +00:00
|
|
|
ds 2
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Badges::
|
|
|
|
JohtoBadges:: ; d857
|
2014-06-14 05:53:20 +00:00
|
|
|
flag_array 8
|
2014-02-02 01:26:39 +00:00
|
|
|
KantoBadges:: ; d858
|
2014-06-14 05:53:20 +00:00
|
|
|
flag_array 8
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TMsHMs:: ; d859
|
2014-09-19 19:44:48 +00:00
|
|
|
ds NUM_TMS + NUM_HMS
|
2014-02-02 01:26:39 +00:00
|
|
|
TMsHMsEnd::
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
NumItems:: ; d892
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Items:: ; d893
|
2014-09-19 19:44:48 +00:00
|
|
|
ds MAX_ITEMS * 2 + 1
|
2014-02-02 01:26:39 +00:00
|
|
|
ItemsEnd::
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
NumKeyItems:: ; d8bc
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
KeyItems:: ; d8bd
|
2014-09-19 19:44:48 +00:00
|
|
|
ds MAX_KEY_ITEMS + 1
|
2014-02-02 01:26:39 +00:00
|
|
|
KeyItemsEnd::
|
2013-07-03 03:01:34 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
NumBalls:: ; d8d7
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Balls:: ; d8d8
|
2014-09-19 19:44:48 +00:00
|
|
|
ds MAX_BALLS * 2 + 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BallsEnd::
|
2013-08-30 04:07:51 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PCItems:: ; d8f1
|
2014-09-19 19:44:48 +00:00
|
|
|
ds MAX_PC_ITEMS * 2 + 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PCItemsEnd::
|
2013-08-30 04:07:51 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2013-08-30 04:07:51 +00:00
|
|
|
|
2015-05-18 09:15:45 +00:00
|
|
|
wPokegearFlags:: ds 1
|
2015-10-10 03:09:03 +00:00
|
|
|
wRadioTuningKnob:: ds 1
|
2015-11-30 02:34:59 +00:00
|
|
|
wLastDexMode:: ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
WhichRegisteredItem:: ; d95b
|
2013-07-03 03:01:34 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RegisteredItem:: ; d95c
|
2013-07-03 03:01:34 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerState:: ; d95d
|
2012-09-23 16:50:44 +00:00
|
|
|
ds 1
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2015-11-17 02:46:36 +00:00
|
|
|
wHallOfFameCount:: ds 2
|
2015-11-23 05:21:21 +00:00
|
|
|
wTradeFlags:: ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
MooMooBerries:: ; d962
|
2012-07-05 06:19:52 +00:00
|
|
|
ds 1 ; how many berries fed to MooMoo
|
2014-02-02 01:26:39 +00:00
|
|
|
UndergroundSwitchPositions:: ; d963
|
2012-07-05 06:19:52 +00:00
|
|
|
ds 1 ; which positions the switches are in
|
2014-02-02 01:26:39 +00:00
|
|
|
FarfetchdPosition:: ; d964
|
2012-07-05 06:19:52 +00:00
|
|
|
ds 1 ; which position the ilex farfetch'd is in
|
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
ds 13
|
|
|
|
|
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
;SECTION "Map Triggers", WRAMX, BANK [1]
|
2014-03-04 03:46:04 +00:00
|
|
|
|
|
|
|
wPokecenter2FTrigger:: ds 1 ; d972
|
|
|
|
wTradeCenterTrigger:: ds 1 ; d973
|
|
|
|
wColosseumTrigger:: ds 1 ; d974
|
|
|
|
wTimeCapsuleTrigger:: ds 1 ; d975
|
|
|
|
wPowerPlantTrigger:: ds 1 ; d976
|
|
|
|
wCeruleanGymTrigger:: ds 1 ; d977
|
|
|
|
wRoute25Trigger:: ds 1 ; d978
|
|
|
|
wTrainerHouseB1FTrigger:: ds 1 ; d979
|
|
|
|
wVictoryRoadGateTrigger:: ds 1 ; d97a
|
|
|
|
wSaffronTrainStationTrigger:: ds 1 ; d97b
|
|
|
|
wRoute16GateTrigger:: ds 1 ; d97c
|
|
|
|
wRoute1718GateTrigger:: ds 1 ; d97d
|
|
|
|
wIndigoPlateauPokecenter1FTrigger:: ds 1 ; d97e
|
|
|
|
wWillsRoomTrigger:: ds 1 ; d97f
|
|
|
|
wKogasRoomTrigger:: ds 1 ; d980
|
|
|
|
wBrunosRoomTrigger:: ds 1 ; d981
|
|
|
|
wKarensRoomTrigger:: ds 1 ; d982
|
|
|
|
wLancesRoomTrigger:: ds 1 ; d983
|
|
|
|
wHallOfFameTrigger:: ds 1 ; d984
|
|
|
|
wRoute27Trigger:: ds 1 ; d985
|
|
|
|
wNewBarkTownTrigger:: ds 1 ; d986
|
|
|
|
wElmsLabTrigger:: ds 1 ; d987
|
|
|
|
wKrissHouse1FTrigger:: ds 1 ; d988
|
|
|
|
wRoute29Trigger:: ds 1 ; d989
|
|
|
|
wCherrygroveCityTrigger:: ds 1 ; d98a
|
|
|
|
wMrPokemonsHouseTrigger:: ds 1 ; d98b
|
|
|
|
wRoute32Trigger:: ds 1 ; d98c
|
|
|
|
wRoute35NationalParkGateTrigger:: ds 1 ; d98d
|
|
|
|
wRoute36Trigger:: ds 1 ; d98e
|
|
|
|
wRoute36NationalParkGateTrigger:: ds 1 ; d98f
|
|
|
|
wAzaleaTownTrigger:: ds 1 ; d990
|
|
|
|
wGoldenrodGymTrigger:: ds 1 ; d991
|
|
|
|
wGoldenrodMagnetTrainStationTrigger:: ds 1 ; d992
|
|
|
|
wGoldenrodPokecenter1FTrigger:: ds 1 ; d993
|
|
|
|
wOlivineCityTrigger:: ds 1 ; d994
|
|
|
|
wRoute34Trigger:: ds 1 ; d995
|
|
|
|
wRoute34IlexForestGateTrigger:: ds 1 ; d996
|
|
|
|
wEcruteakHouseTrigger:: ds 1 ; d997
|
|
|
|
wWiseTriosRoomTrigger:: ds 1 ; d998
|
|
|
|
wEcruteakPokecenter1FTrigger:: ds 1 ; d999
|
|
|
|
wEcruteakGymTrigger:: ds 1 ; d99a
|
|
|
|
wMahoganyTownTrigger:: ds 1 ; d99b
|
|
|
|
wRoute42Trigger:: ds 1 ; d99c
|
|
|
|
wCianwoodCityTrigger:: ds 1 ; d99d
|
|
|
|
wBattleTower1FTrigger:: ds 1 ; d99e
|
|
|
|
wBattleTowerBattleRoomTrigger:: ds 1 ; d99f
|
|
|
|
wBattleTowerElevatorTrigger:: ds 1 ; d9a0
|
|
|
|
wBattleTowerHallwayTrigger:: ds 1 ; d9a1
|
|
|
|
wBattleTowerOutsideTrigger:: ds 1 ; d9a2
|
|
|
|
wRoute43GateTrigger:: ds 1 ; d9a3
|
|
|
|
wMountMoonTrigger:: ds 1 ; d9a4
|
|
|
|
wSproutTower3FTrigger:: ds 1 ; d9a5
|
|
|
|
wTinTower1FTrigger:: ds 1 ; d9a6
|
|
|
|
wBurnedTower1FTrigger:: ds 1 ; d9a7
|
|
|
|
wBurnedTowerB1FTrigger:: ds 1 ; d9a8
|
|
|
|
wRadioTower5FTrigger:: ds 1 ; d9a9
|
|
|
|
wRuinsOfAlphOutsideTrigger:: ds 1 ; d9aa
|
|
|
|
wRuinsOfAlphResearchCenterTrigger:: ds 1 ; d9ab
|
|
|
|
wRuinsOfAlphHoOhChamberTrigger:: ds 1 ; d9ac
|
|
|
|
wRuinsOfAlphKabutoChamberTrigger:: ds 1 ; d9ad
|
|
|
|
wRuinsOfAlphOmanyteChamberTrigger:: ds 1 ; d9ae
|
|
|
|
wRuinsOfAlphAerodactylChamberTrigger:: ds 1 ; d9af
|
|
|
|
wRuinsOfAlphInnerChamberTrigger:: ds 1 ; d9b0
|
|
|
|
wMahoganyMart1FTrigger:: ds 1 ; d9b1
|
|
|
|
wTeamRocketBaseB1FTrigger:: ds 1 ; d9b2
|
|
|
|
wTeamRocketBaseB2FTrigger:: ds 1 ; d9b3
|
|
|
|
wTeamRocketBaseB3FTrigger:: ds 1 ; d9b4
|
|
|
|
wUndergroundPathSwitchRoomEntrancesTrigger:: ds 1 ; d9b5
|
|
|
|
wSilverCaveRoom3Trigger:: ds 1 ; d9b6
|
|
|
|
wVictoryRoadTrigger:: ds 1 ; d9b7
|
|
|
|
wDragonsDenB1FTrigger:: ds 1 ; d9b8
|
|
|
|
wDragonShrineTrigger:: ds 1 ; d9b9
|
|
|
|
wOlivinePortTrigger:: ds 1 ; d9ba
|
|
|
|
wVermilionPortTrigger:: ds 1 ; d9bb
|
|
|
|
wFastShip1FTrigger:: ds 1 ; d9bc
|
|
|
|
wFastShipB1FTrigger:: ds 1 ; d9bd
|
|
|
|
wMountMoonSquareTrigger:: ds 1 ; d9be
|
|
|
|
wMobileTradeRoomMobileTrigger:: ds 1 ; d9bf
|
|
|
|
wMobileBattleRoomTrigger:: ds 1 ; d9c0
|
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
ds 49
|
2014-03-04 03:46:04 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
;SECTION "Events", WRAMX, BANK [1]
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-07-10 20:04:00 +00:00
|
|
|
wJackFightCount:: ds 1
|
|
|
|
ds 1
|
|
|
|
wHueyFightCount:: ds 1
|
|
|
|
wGavenFightCount:: ds 1
|
|
|
|
wBethFightCount:: ds 1
|
|
|
|
wJoseFightCount:: ds 1
|
|
|
|
wReenaFightCount:: ds 1
|
|
|
|
wJoeyFightCount:: ds 1
|
|
|
|
wWadeFightCount:: ds 1
|
|
|
|
wRalphFightCount:: ds 1
|
|
|
|
wLizFightCount:: ds 1
|
|
|
|
wAnthonyFightCount:: ds 1
|
|
|
|
wToddFightCount:: ds 1
|
|
|
|
wGinaFightCount:: ds 1
|
2015-02-10 23:37:24 +00:00
|
|
|
|
|
|
|
wda00:: ds 1
|
2015-07-10 10:31:08 +00:00
|
|
|
|
2015-07-10 20:04:00 +00:00
|
|
|
wArnieFightCount:: ds 1
|
|
|
|
wAlanFightCount:: ds 1
|
|
|
|
wDanaFightCount:: ds 1
|
|
|
|
wChadFightCount:: ds 1
|
|
|
|
ds 1
|
|
|
|
wTullyFightCount:: ds 1
|
|
|
|
wBrentFightCount:: ds 1
|
|
|
|
wTiffanyFightCount:: ds 1
|
|
|
|
wVanceFightCount:: ds 1
|
|
|
|
wWiltonFightCount:: ds 1
|
|
|
|
ds 1
|
|
|
|
wParryFightCount:: ds 1
|
|
|
|
wErinFightCount:: ds 1
|
2015-07-10 10:31:08 +00:00
|
|
|
|
2015-02-10 23:37:24 +00:00
|
|
|
ds 100
|
2012-06-06 04:49:44 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EventFlags:: ; da72
|
2015-07-13 04:16:35 +00:00
|
|
|
flag_array NUM_EVENTS
|
2013-08-23 19:00:07 +00:00
|
|
|
; db6c
|
2012-06-06 04:49:44 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
ds 6
|
2014-04-12 19:45:19 +00:00
|
|
|
|
|
|
|
wCurBox:: ; db72
|
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 2
|
|
|
|
|
2012-04-19 04:18:36 +00:00
|
|
|
; 8 chars + $50
|
2015-11-04 19:02:11 +00:00
|
|
|
wBoxNames:: ds BOX_NAME_LENGTH * NUM_BOXES ; db75
|
2012-04-19 04:18:36 +00:00
|
|
|
|
2015-10-24 14:34:19 +00:00
|
|
|
wCelebiEvent:: ds 1
|
2015-02-10 22:16:31 +00:00
|
|
|
ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BikeFlags:: ; dbf5
|
2013-06-27 04:34:49 +00:00
|
|
|
; bit 1: always on bike
|
|
|
|
; bit 2: downhill
|
|
|
|
ds 1
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
ds 1
|
|
|
|
wCurrentMapTriggerPointer:: ; dbf7
|
|
|
|
ds 2
|
2015-02-08 08:03:32 +00:00
|
|
|
|
2015-07-25 18:25:37 +00:00
|
|
|
wCurrentCaller:: ds 2
|
2015-10-24 23:49:19 +00:00
|
|
|
wCurrMapWarpCount:: ds 1
|
|
|
|
wCurrMapWarpHeaderPointer:: ds 1
|
2015-02-10 23:14:41 +00:00
|
|
|
wdbfd:: ds 1
|
2015-11-14 19:41:47 +00:00
|
|
|
wCurrentNextMapXYTriggerCount:: ds 1
|
|
|
|
wCurrentNextMapXYTriggerHeaderPointer:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc00:: ds 1
|
2015-07-16 22:10:10 +00:00
|
|
|
wCurrentMapSignpostCount:: ds 1
|
2015-11-12 16:10:19 +00:00
|
|
|
wCurrentMapSignpostHeaderPointer::
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc02:: ds 1
|
|
|
|
wdc03:: ds 1
|
2015-11-12 16:10:19 +00:00
|
|
|
wCurrentMapPersonEventCount::
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc04:: ds 1
|
2015-11-12 16:10:19 +00:00
|
|
|
wCurrentMapPersonEventHeaderPointer::
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc05:: ds 1
|
|
|
|
wdc06:: ds 1
|
2015-10-24 23:49:19 +00:00
|
|
|
wCurrMapTriggerCount:: ds 1
|
|
|
|
wCurrMapTriggerHeaderPointer:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc09:: ds 1
|
2015-10-24 23:49:19 +00:00
|
|
|
wCurrMapCallbackCount:: ds 1
|
|
|
|
wCurrMapCallbackHeaderPointer:: ds 2
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc0d:: ds 1
|
|
|
|
wdc0e:: ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2013-05-29 22:56:09 +00:00
|
|
|
; Sprite id of each decoration
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc0f::
|
2014-02-02 01:26:39 +00:00
|
|
|
Bed:: ; dc0f
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Carpet:: ; dc10
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc11::
|
2014-02-02 01:26:39 +00:00
|
|
|
Plant:: ; dc11
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc12::
|
2014-02-02 01:26:39 +00:00
|
|
|
Poster:: ; dc12
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Console:: ; dc13
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
LeftOrnament:: ; dc14
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RightOrnament:: ; dc15
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BigDoll:: ; dc16
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc17:: ds 1
|
|
|
|
wdc18:: ds 1
|
|
|
|
wdc19:: ds 1
|
|
|
|
wdc1a:: ds 1
|
|
|
|
wdc1b:: ds 1
|
2015-10-24 14:34:19 +00:00
|
|
|
wDailyResetTimer:: ds 2
|
2015-07-20 07:51:52 +00:00
|
|
|
DailyFlags:: ds 1
|
|
|
|
WeeklyFlags:: ds 1
|
|
|
|
SwarmFlags:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc21:: ds 1
|
|
|
|
wdc22:: ds 1
|
2015-10-24 14:34:19 +00:00
|
|
|
wStartDay:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc24:: ds 2
|
|
|
|
wdc26:: ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
FruitTreeFlags:: ; dc27
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 5
|
|
|
|
|
2015-10-10 21:03:04 +00:00
|
|
|
wLuckyNumberDayBuffer:: ds 2
|
|
|
|
ds 2
|
2015-07-17 21:17:10 +00:00
|
|
|
wSpecialPhoneCallID:: ds 2
|
|
|
|
wdc33:: ds 2
|
2015-10-24 14:34:19 +00:00
|
|
|
wBugContestStartTime:: ds 4 ; day, hour, min, sec
|
2015-02-10 22:16:31 +00:00
|
|
|
wdc39:: ds 1
|
2015-10-24 14:34:19 +00:00
|
|
|
wUnusedTwoDayTimer:: ds 1
|
|
|
|
wUnusedTwoDayTimerStartDate:: ds 1
|
|
|
|
ds 4
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc40:: ds 1
|
|
|
|
wdc41:: ds 1
|
|
|
|
wdc42:: ds 8
|
2015-10-24 14:34:19 +00:00
|
|
|
wBuenasPassword:: ds 1
|
|
|
|
wBlueCardBalance:: ds 1
|
2015-07-25 18:25:37 +00:00
|
|
|
wDailyRematchFlags:: ds 4
|
|
|
|
wDailyPhoneItemFlags:: ds 4
|
|
|
|
wDailyPhoneTimeOfDayFlags:: ds 4
|
2015-12-01 20:35:28 +00:00
|
|
|
wKenjiBreakTimer:: ds 2 ; Kenji
|
2015-12-09 16:38:40 +00:00
|
|
|
wYanmaMapGroup:: ds 1
|
|
|
|
wYanmaMapNumber:: ds 1
|
2015-02-08 08:03:32 +00:00
|
|
|
wdc5c:: ds 3
|
|
|
|
wdc5f:: ds 1
|
|
|
|
wdc60:: ds 19
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StepCount:: ; dc73
|
2013-03-22 08:08:47 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PoisonStepCount:: ; dc74
|
2013-03-22 08:08:47 +00:00
|
|
|
ds 1
|
2013-02-04 05:22:53 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 2
|
|
|
|
wdc77:: ds 2
|
2015-11-08 18:27:26 +00:00
|
|
|
wdc79::
|
|
|
|
wParkBallsRemaining::
|
|
|
|
wSafariBallsRemaining:: ds 1
|
|
|
|
wSafariTimeRemaining:: ds 2
|
2015-10-24 14:34:19 +00:00
|
|
|
wPhoneList:: ds CONTACT_LIST_SIZE
|
|
|
|
ds 23
|
2015-10-19 14:25:15 +00:00
|
|
|
wLuckyNumberShowFlag:: ds 2 ; dc9d
|
|
|
|
wLuckyIDNumber:: ds 2 ; dc9f
|
2015-10-26 02:26:53 +00:00
|
|
|
wRepelEffect:: ds 1 ; If a Repel is in use, it contains the nr of steps it's still active
|
2015-10-24 14:34:19 +00:00
|
|
|
wBikeStep:: ds 2
|
|
|
|
wKurtApricornQuantity:: ds 1
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
wPlayerDataEnd::
|
|
|
|
|
|
|
|
|
|
|
|
wMapData::
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
VisitedSpawns:: ; dca5
|
2015-11-30 02:34:59 +00:00
|
|
|
flag_array NUM_SPAWNS
|
2013-02-04 05:22:53 +00:00
|
|
|
|
2015-11-30 02:34:59 +00:00
|
|
|
wDigWarp:: ds 1
|
|
|
|
wDigMapGroup:: ds 1
|
|
|
|
wDigMapNumber:: ds 1
|
2012-09-11 03:20:58 +00:00
|
|
|
; used on maps like second floor pokécenter, which are reused, so we know which
|
|
|
|
; map to return to
|
2015-11-12 16:10:19 +00:00
|
|
|
BackupWarpNumber:: ; dcac
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BackupMapGroup:: ; dcad
|
2012-09-11 03:20:58 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BackupMapNumber:: ; dcae
|
2012-09-11 03:20:58 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 3
|
|
|
|
|
2015-11-30 02:34:59 +00:00
|
|
|
wLastSpawnMapGroup:: ds 1
|
|
|
|
wLastSpawnMapNumber:: ds 1
|
2012-07-05 04:13:23 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
WarpNumber:: ; dcb4
|
2012-07-05 04:13:23 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapGroup:: ; dcb5
|
2012-07-05 04:13:23 +00:00
|
|
|
ds 1 ; map group of current map
|
2014-02-02 01:26:39 +00:00
|
|
|
MapNumber:: ; dcb6
|
2012-07-05 04:13:23 +00:00
|
|
|
ds 1 ; map number of current map
|
2014-02-02 01:26:39 +00:00
|
|
|
YCoord:: ; dcb7
|
2012-07-05 04:13:23 +00:00
|
|
|
ds 1 ; current y coordinate relative to top-left corner of current map
|
2014-02-02 01:26:39 +00:00
|
|
|
XCoord:: ; dcb8
|
2012-07-05 04:13:23 +00:00
|
|
|
ds 1 ; current x coordinate relative to top-left corner of current map
|
|
|
|
|
2015-02-10 23:14:41 +00:00
|
|
|
ds 6
|
|
|
|
wdcbf:: ds 1
|
|
|
|
ds 23
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
wMapDataEnd::
|
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
|
|
|
SECTION "Party", WRAMX, BANK [1]
|
2012-04-19 04:18:36 +00:00
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
wPokemonData::
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyCount:: ; dcd7
|
2012-03-21 04:23:40 +00:00
|
|
|
ds 1 ; number of Pokémon in party
|
2014-02-02 01:26:39 +00:00
|
|
|
PartySpecies:: ; dcd8
|
2014-06-13 02:32:58 +00:00
|
|
|
ds PARTY_LENGTH ; species of each Pokémon in party
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyEnd:: ; dcde
|
2013-04-08 06:15:08 +00:00
|
|
|
ds 1 ; legacy functions don't check PartyCount
|
2015-07-19 03:45:39 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMons::
|
2014-06-13 01:32:42 +00:00
|
|
|
PartyMon1:: party_struct PartyMon1 ; dcdf
|
|
|
|
PartyMon2:: party_struct PartyMon2 ; dd0f
|
|
|
|
PartyMon3:: party_struct PartyMon3 ; dd3f
|
|
|
|
PartyMon4:: party_struct PartyMon4 ; dd6f
|
|
|
|
PartyMon5:: party_struct PartyMon5 ; dd9f
|
|
|
|
PartyMon6:: party_struct PartyMon6 ; ddcf
|
2012-03-21 04:23:40 +00:00
|
|
|
|
2014-06-13 02:32:58 +00:00
|
|
|
PartyMonOT:: ds NAME_LENGTH * PARTY_LENGTH ; ddff
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2014-06-13 02:32:58 +00:00
|
|
|
PartyMonNicknames:: ds PKMN_NAME_LENGTH * PARTY_LENGTH ; de41
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMonNicknamesEnd::
|
2012-10-09 06:40:36 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
ds 22
|
|
|
|
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PokedexCaught:: ; de99
|
2014-06-13 02:32:58 +00:00
|
|
|
flag_array NUM_POKEMON
|
2014-02-02 01:26:39 +00:00
|
|
|
EndPokedexCaught::
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PokedexSeen:: ; deb9
|
2014-06-13 02:32:58 +00:00
|
|
|
flag_array NUM_POKEMON
|
2014-02-02 01:26:39 +00:00
|
|
|
EndPokedexSeen::
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
UnownDex:: ; ded9
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 26
|
2014-02-02 01:26:39 +00:00
|
|
|
UnlockedUnowns:: ; def3
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2015-11-30 02:34:59 +00:00
|
|
|
wFirstUnownSeen:: ds 1
|
2014-06-13 01:32:42 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wDaycareMan:: ; def5
|
2012-10-09 06:40:36 +00:00
|
|
|
; bit 7: active
|
|
|
|
; bit 6: monsters are compatible
|
2012-10-09 08:43:45 +00:00
|
|
|
; bit 5: egg ready
|
2012-10-09 06:40:36 +00:00
|
|
|
; bit 0: monster 1 in daycare
|
|
|
|
ds 1
|
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wBreedMon1::
|
2014-06-13 02:32:58 +00:00
|
|
|
wBreedMon1Nick:: ds PKMN_NAME_LENGTH ; def6
|
|
|
|
wBreedMon1OT:: ds NAME_LENGTH ; df01
|
2014-06-13 01:32:42 +00:00
|
|
|
wBreedMon1Stats:: box_struct wBreedMon1 ; df0c
|
2012-10-09 06:40:36 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wDaycareLady:: ; df2c
|
2012-10-09 06:40:36 +00:00
|
|
|
; bit 7: active
|
|
|
|
; bit 0: monster 2 in daycare
|
|
|
|
ds 1
|
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wStepsToEgg:: ; df2d
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 1
|
2014-06-13 01:32:42 +00:00
|
|
|
wDittoInDaycare:: ; df2e
|
2012-10-09 06:40:36 +00:00
|
|
|
; z: yes
|
|
|
|
; nz: no
|
|
|
|
ds 1
|
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wBreedMon2::
|
2014-06-13 02:32:58 +00:00
|
|
|
wBreedMon2Nick:: ds PKMN_NAME_LENGTH ; df2f
|
|
|
|
wBreedMon2OT:: ds NAME_LENGTH ; df3a
|
2014-06-13 01:32:42 +00:00
|
|
|
wBreedMon2Stats:: box_struct wBreedMon2 ; df45
|
2012-10-09 06:40:36 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wEggNick:: ds PKMN_NAME_LENGTH ; df65
|
|
|
|
wEggOT:: ds NAME_LENGTH ; df70
|
2014-06-13 02:32:58 +00:00
|
|
|
wEggMon:: box_struct wEggMon ; df7b
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2015-11-11 21:11:08 +00:00
|
|
|
wdf9b::
|
|
|
|
wBugContestSecondPartySpecies:: ds 1
|
2014-02-23 02:57:28 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-02-08 08:03:32 +00:00
|
|
|
wdf9c::
|
2014-06-13 01:32:42 +00:00
|
|
|
wContestMon:: party_struct wContestMon ; df9c
|
2014-02-23 02:57:28 +00:00
|
|
|
|
2015-12-09 16:38:40 +00:00
|
|
|
wDunsparceMapGroup:: ds 1
|
|
|
|
wDunsparceMapNumber:: ds 1
|
2015-10-16 17:35:43 +00:00
|
|
|
wFishingSwarmFlag:: ds 1
|
2014-02-23 02:57:28 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
roam_struct: MACRO
|
|
|
|
\1Species:: db
|
|
|
|
\1Level:: db
|
|
|
|
\1MapGroup:: db
|
|
|
|
\1MapNumber:: db
|
|
|
|
\1HP:: ds 1
|
|
|
|
\1DVs:: ds 2
|
|
|
|
ENDM
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-06-13 01:32:42 +00:00
|
|
|
wRoamMon1:: roam_struct wRoamMon1 ; dfcf
|
|
|
|
wRoamMon2:: roam_struct wRoamMon2 ; dfd6
|
|
|
|
wRoamMon3:: roam_struct wRoamMon3 ; dfdd
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2015-12-09 16:38:40 +00:00
|
|
|
wRoamMons_CurrentMapNumber:: ds 1
|
|
|
|
wRoamMons_CurrentMapGroup:: ds 1
|
|
|
|
wRoamMons_LastMapNumber:: ds 1
|
|
|
|
wRoamMons_LastMapGroup:: ds 1
|
2015-10-11 16:15:03 +00:00
|
|
|
wBestMagikarpLengthFeet:: ds 1
|
|
|
|
wBestMagikarpLengthInches:: ds 1
|
2015-10-13 15:37:10 +00:00
|
|
|
wMagikarpRecordHoldersName:: ds NAME_LENGTH
|
2015-02-08 08:03:32 +00:00
|
|
|
wdff5::
|
|
|
|
|
2015-08-20 04:14:15 +00:00
|
|
|
wPokemonDataEnd::
|
2015-10-13 18:29:34 +00:00
|
|
|
wGameDataEnd::
|
2015-08-20 04:14:15 +00:00
|
|
|
|
2015-02-10 23:14:21 +00:00
|
|
|
SECTION "Pic Animations", WRAMX, BANK [2]
|
|
|
|
|
2015-11-07 14:48:32 +00:00
|
|
|
TempTileMap::
|
2015-09-09 23:27:07 +00:00
|
|
|
; 20x18 grid of 8x8 tiles
|
|
|
|
ds SCREEN_WIDTH * SCREEN_HEIGHT ; $168 = 360
|
2015-11-07 14:48:32 +00:00
|
|
|
; PokeAnim Header
|
|
|
|
wPokeAnimSceneIndex:: ds 1
|
|
|
|
wPokeAnimPointer:: ds 2
|
|
|
|
wPokeAnimSpecies:: ds 1
|
|
|
|
wPokeAnimUnownLetter:: ds 1
|
|
|
|
wPokeAnimSpeciesOrUnown:: ds 1
|
2015-02-10 23:14:21 +00:00
|
|
|
w2_d16e:: ds 1
|
2015-11-07 14:48:32 +00:00
|
|
|
wPokeAnimCoord:: ds 2
|
|
|
|
wPokeAnimFrontpicHeight:: ds 1
|
|
|
|
; PokeAnim Data
|
2015-02-10 23:14:21 +00:00
|
|
|
w2_d172:: ds 1
|
|
|
|
w2_d173:: ds 1
|
|
|
|
w2_d174:: ds 1
|
|
|
|
w2_d175:: ds 1
|
|
|
|
w2_d176:: ds 1
|
|
|
|
w2_d177:: ds 1
|
|
|
|
w2_d178:: ds 1
|
|
|
|
w2_d179:: ds 1
|
|
|
|
w2_d17a:: ds 1
|
|
|
|
w2_d17b:: ds 1
|
|
|
|
w2_d17c:: ds 1
|
|
|
|
w2_d17d:: ds 1
|
|
|
|
w2_d17e:: ds 1
|
|
|
|
w2_d17f:: ds 1
|
|
|
|
w2_d180:: ds 1
|
2015-11-07 14:48:32 +00:00
|
|
|
wPokeAnimWaitCounter:: ds 1
|
2015-02-10 23:14:21 +00:00
|
|
|
w2_d182:: ds 1
|
|
|
|
w2_d183:: ds 1
|
|
|
|
w2_d184:: ds 1
|
|
|
|
w2_d185:: ds 1
|
|
|
|
w2_d186:: ds 1
|
|
|
|
w2_d187:: ds 1
|
|
|
|
w2_d188:: ds 1
|
2015-11-07 14:48:32 +00:00
|
|
|
ds 8
|
|
|
|
wPokeAnimStructEnd::
|
2015-02-10 23:14:21 +00:00
|
|
|
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2015-11-20 20:15:32 +00:00
|
|
|
SECTION "Battle Tower", WRAMX, BANK [3]
|
2015-02-10 23:37:24 +00:00
|
|
|
|
2015-09-04 20:30:40 +00:00
|
|
|
w3_d000:: ; d000
|
2015-11-11 04:23:28 +00:00
|
|
|
ds $80
|
|
|
|
w3_d080::
|
|
|
|
ds $10
|
2015-11-04 00:43:47 +00:00
|
|
|
w3_d090::
|
|
|
|
ds $70
|
2015-08-20 05:42:59 +00:00
|
|
|
|
2015-09-01 04:26:31 +00:00
|
|
|
w3_d100:: ; BattleTower OpponentTrainer-Data (length = 0xe0 = $a + $1 + 3*$3b + $24)
|
2015-11-07 19:38:52 +00:00
|
|
|
BT_OTTrainer:: battle_tower_struct BT_OT
|
|
|
|
; d1e0
|
2015-09-04 20:30:40 +00:00
|
|
|
ds $20
|
2015-11-18 15:42:42 +00:00
|
|
|
; d200
|
2015-11-24 20:18:44 +00:00
|
|
|
BT_TrainerTextIndex:: ds 2
|
|
|
|
w3_d202:: battle_tower_struct w3_d202
|
|
|
|
w3_d2e2:: battle_tower_struct w3_d2e2
|
|
|
|
w3_d3c2:: battle_tower_struct w3_d3c2
|
|
|
|
w3_d4a2:: battle_tower_struct w3_d4a2
|
|
|
|
w3_d582:: battle_tower_struct w3_d582
|
|
|
|
w3_d662:: battle_tower_struct w3_d662
|
|
|
|
w3_d742:: battle_tower_struct w3_d742
|
|
|
|
; d822
|
|
|
|
ds -$22
|
2015-02-10 23:37:24 +00:00
|
|
|
|
2015-09-01 04:26:31 +00:00
|
|
|
wBTChoiceOfLvlGroup::
|
2015-12-08 21:06:13 +00:00
|
|
|
w3_d800:: ds $69
|
2015-12-09 16:38:40 +00:00
|
|
|
w3_d869:: ds $26
|
|
|
|
w3_d88f:: ds 6
|
2015-12-08 21:06:13 +00:00
|
|
|
w3_d895:: ds $36b
|
2015-11-11 04:23:28 +00:00
|
|
|
w3_dc00:: ds $168
|
2015-11-25 15:16:29 +00:00
|
|
|
w3_dd68:: ds $294
|
|
|
|
w3_dffc:: ds 4
|
2015-02-10 23:37:24 +00:00
|
|
|
|
2014-09-19 19:44:48 +00:00
|
|
|
SECTION "GBC Video", WRAMX, BANK [5]
|
2013-07-02 18:10:49 +00:00
|
|
|
|
|
|
|
; 8 4-color palettes
|
2015-11-20 20:15:32 +00:00
|
|
|
UnknBGPals:: ds 8 palettes ; d000
|
|
|
|
UnknOBPals:: ds 8 palettes ; d040
|
|
|
|
BGPals:: ds 8 palettes ; d080
|
|
|
|
OBPals:: ds 8 palettes ; d0c0
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverrides:: ; d100
|
2014-06-13 02:32:58 +00:00
|
|
|
ds SCREEN_HEIGHT_PX
|
2015-11-09 21:41:09 +00:00
|
|
|
LYOverridesEnd:: ; d190
|
2013-08-22 08:16:41 +00:00
|
|
|
|
2015-07-25 18:25:37 +00:00
|
|
|
ds 1
|
|
|
|
w5_d191:: ds 1
|
|
|
|
w5_d192:: ds 1
|
|
|
|
w5_d193:: ds 1
|
|
|
|
w5_d194:: ds 1
|
|
|
|
w5_d195:: ds 1
|
|
|
|
ds 106
|
2013-12-08 21:22:35 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverridesBackup:: ; d200
|
2014-06-13 02:32:58 +00:00
|
|
|
ds SCREEN_HEIGHT_PX
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverridesBackupEnd::
|
2013-12-08 21:22:35 +00:00
|
|
|
|
|
|
|
|
2015-12-04 19:33:29 +00:00
|
|
|
SECTION "Battle Animations", WRAMX [$d300], BANK [5]
|
2014-09-19 19:44:48 +00:00
|
|
|
|
2015-02-10 23:14:21 +00:00
|
|
|
w5_d300:: ds 10
|
2013-12-18 04:32:46 +00:00
|
|
|
|
2015-12-04 19:33:29 +00:00
|
|
|
battle_anim_struct: MACRO
|
|
|
|
; Placeholder until we can figure out what it all means
|
|
|
|
ds $18
|
|
|
|
endm
|
2013-12-18 04:32:46 +00:00
|
|
|
|
2015-12-04 19:33:29 +00:00
|
|
|
ActiveAnimObjects:: ; d30a
|
|
|
|
AnimObject01:: battle_anim_struct AnimObject01
|
|
|
|
AnimObject02:: battle_anim_struct AnimObject02
|
|
|
|
AnimObject03:: battle_anim_struct AnimObject03
|
|
|
|
AnimObject04:: battle_anim_struct AnimObject04
|
|
|
|
AnimObject05:: battle_anim_struct AnimObject05
|
|
|
|
AnimObject06:: battle_anim_struct AnimObject06
|
|
|
|
AnimObject07:: battle_anim_struct AnimObject07
|
|
|
|
AnimObject08:: battle_anim_struct AnimObject08
|
|
|
|
AnimObject09:: battle_anim_struct AnimObject09
|
|
|
|
AnimObject10:: battle_anim_struct AnimObject10
|
|
|
|
ActiveAnimObjectsEnd:: ; d3aa
|
2013-12-09 21:20:19 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ActiveBGEffects:: ; d3fa
|
2013-12-09 21:20:19 +00:00
|
|
|
ds 4 * 5
|
|
|
|
|
2015-02-10 23:14:21 +00:00
|
|
|
w5_d40e:: ds 1
|
2013-12-08 21:22:35 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimFlags:: ; d40f
|
2013-12-18 04:32:46 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimAddress:: ; d410
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimDuration:: ; d412
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimParent:: ; d413
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimLoops:: ; d415
|
2013-12-18 04:32:46 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimVar:: ; d416
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimByte:: ; d417
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 1
|
2015-02-10 23:14:21 +00:00
|
|
|
w5_d418:: ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimTemps:: ; d419
|
2013-12-18 04:32:46 +00:00
|
|
|
ds 8
|
2015-02-08 08:03:32 +00:00
|
|
|
ds 1
|
2015-11-09 21:41:09 +00:00
|
|
|
w5_d422:: ds $32
|
|
|
|
wBattleAnimEnd::
|
|
|
|
ds $e
|
2015-11-11 04:23:28 +00:00
|
|
|
; d462
|
|
|
|
|
|
|
|
SECTION "WRAM 5 MOBILE", WRAMX [$d800], BANK [5]
|
|
|
|
w5_d800:: ds $200
|
|
|
|
w5_da00:: ds $200
|
|
|
|
w5_dc00:: ds $d
|
|
|
|
w5_dc0d:: ds 4
|
|
|
|
w5_dc11:: ds 9
|
|
|
|
w5_dc1a:: ds $c
|
|
|
|
w5_dc26:: ds $c
|
|
|
|
w5_dc32:: ds $c
|
|
|
|
w5_dc3e:: ds $c
|
2013-08-22 08:16:41 +00:00
|
|
|
|
2015-02-10 23:14:41 +00:00
|
|
|
SECTION "WRAM 6", WRAMX, BANK [6]
|
|
|
|
|
2015-11-30 02:34:59 +00:00
|
|
|
wBackupTilemap:: ds $20 * SCREEN_HEIGHT
|
|
|
|
ds $1c0
|
|
|
|
wBackupAttrMap:: ds $20 * SCREEN_HEIGHT
|
|
|
|
ds -$40
|
2015-11-20 04:38:16 +00:00
|
|
|
w6_d600:: ds $200
|
|
|
|
w6_d800::
|
2015-02-10 23:14:41 +00:00
|
|
|
|
2015-10-04 18:14:51 +00:00
|
|
|
INCLUDE "sram.asm"
|
2015-10-18 00:49:34 +00:00
|
|
|
|
|
|
|
SECTION "WRAM 7", WRAMX, BANK [7]
|
|
|
|
w7_d000:: ds $1000 - 1
|
|
|
|
w7_dfff:: ds 1
|