2013-10-10 07:24:02 +00:00
|
|
|
INCLUDE "includes.asm"
|
|
|
|
|
|
|
|
|
2014-02-23 02:57:28 +00:00
|
|
|
party_struct: MACRO
|
|
|
|
|
|
|
|
\1Species:: db
|
|
|
|
\1Item:: db
|
|
|
|
|
|
|
|
\1Moves::
|
|
|
|
\1Move1:: db
|
|
|
|
\1Move2:: db
|
|
|
|
\1Move3:: db
|
|
|
|
\1Move4:: db
|
|
|
|
|
|
|
|
\1ID:: dw
|
|
|
|
\1Exp:: ds 3 ; Big endian
|
2014-02-23 05:37:09 +00:00
|
|
|
\1StatExp::
|
2014-02-23 02:57:28 +00:00
|
|
|
\1HPExp:: dw
|
|
|
|
\1AtkExp:: dw
|
|
|
|
\1DefExp:: dw
|
|
|
|
\1SpdExp:: dw
|
|
|
|
\1SpclExp:: dw
|
|
|
|
|
|
|
|
\1DVs::
|
|
|
|
\1AtkDefDV:: db
|
|
|
|
\1SpdSpcDV:: db
|
|
|
|
|
|
|
|
\1PP::
|
2014-02-23 05:37:09 +00:00
|
|
|
\1PPMove1:: db
|
|
|
|
\1PPMove2:: db
|
|
|
|
\1PPMove3:: db
|
|
|
|
\1PPMove4:: db
|
2014-02-23 02:57:28 +00:00
|
|
|
|
|
|
|
\1Happiness:: db
|
|
|
|
\1PokerusStatus:: db
|
|
|
|
|
|
|
|
\1CaughtData::
|
|
|
|
\1CaughtTime::
|
|
|
|
\1CaughtLevel:: db
|
|
|
|
\1CaughtGender::
|
|
|
|
\1CaughtLocation:: db
|
|
|
|
|
|
|
|
\1Level:: db
|
|
|
|
|
|
|
|
\1Status:: db
|
|
|
|
\1Unused:: db
|
|
|
|
|
|
|
|
; Stats are big endian.
|
|
|
|
\1HP:: dw
|
|
|
|
\1MaxHP:: dw
|
|
|
|
\1Attack:: dw
|
|
|
|
\1Defense:: dw
|
|
|
|
\1Speed:: dw
|
|
|
|
\1SpclAtk:: dw
|
|
|
|
\1SpclDef:: dw
|
|
|
|
|
|
|
|
ENDM
|
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "tiles0",VRAM[$8000],BANK[0]
|
2014-02-02 01:26:39 +00:00
|
|
|
VTiles0::
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "tiles1",VRAM[$8800],BANK[0]
|
2014-02-02 01:26:39 +00:00
|
|
|
VTiles1::
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "tiles2",VRAM[$9000],BANK[0]
|
2014-02-02 01:26:39 +00:00
|
|
|
VTiles2::
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "bgmap0",VRAM[$9800],BANK[0]
|
2014-02-02 01:26:39 +00:00
|
|
|
VBGMap0::
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "bgmap1",VRAM[$9C00],BANK[0]
|
2014-02-02 01:26:39 +00:00
|
|
|
VBGMap1::
|
2013-02-04 09:27:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "WRAMBank0",WRAM0[$c000]
|
2013-02-04 09:27:56 +00:00
|
|
|
|
2013-08-29 06:10:32 +00:00
|
|
|
SECTION "stack",WRAM0[$c0ff]
|
2014-02-02 01:26:39 +00:00
|
|
|
Stack:: ; c0ff
|
2013-08-29 06:10:32 +00:00
|
|
|
ds -$100
|
2012-12-14 08:00:10 +00:00
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "audio",WRAM0[$c100]
|
2014-02-02 01:26:39 +00:00
|
|
|
MusicPlaying:: ; c100
|
2012-11-02 22:43:05 +00:00
|
|
|
; nonzero if playing
|
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Channels::
|
|
|
|
Channel1::
|
|
|
|
Channel1MusicID:: ; c101
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1MusicBank:: ; c103
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Flags:: ; c104
|
2012-11-02 22:43:05 +00:00
|
|
|
; 0: on/off
|
|
|
|
; 1: subroutine
|
|
|
|
; 2:
|
|
|
|
; 3:
|
|
|
|
; 4: noise sampling on/off
|
|
|
|
; 5:
|
|
|
|
; 6:
|
|
|
|
; 7:
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Flags2:: ; c105
|
2012-11-02 22:43:05 +00:00
|
|
|
; 0: vibrato on/off
|
|
|
|
; 1:
|
|
|
|
; 2: duty cycle on/off
|
|
|
|
; 3:
|
|
|
|
; 4:
|
|
|
|
; 5:
|
|
|
|
; 6:
|
|
|
|
; 7:
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Flags3:: ; c106
|
2012-11-02 22:43:05 +00:00
|
|
|
; 0: vibrato up/down
|
|
|
|
; 1:
|
|
|
|
; 2:
|
|
|
|
; 3:
|
|
|
|
; 4:
|
|
|
|
; 5:
|
|
|
|
; 6:
|
|
|
|
; 7:
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1MusicAddress:: ; c107
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1LastMusicAddress:: ; c109
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 2
|
|
|
|
; could have been meant as a third-level address
|
2013-07-02 18:10:49 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1NoteFlags:: ; c10d
|
2012-11-02 22:43:05 +00:00
|
|
|
; 0:
|
|
|
|
; 1:
|
|
|
|
; 2:
|
|
|
|
; 3:
|
|
|
|
; 4:
|
|
|
|
; 5: rest
|
|
|
|
; 6:
|
|
|
|
; 7:
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Condition:: ; c10e
|
2012-11-02 22:43:05 +00:00
|
|
|
; used for conditional jumps
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1DutyCycle:: ; c10f
|
2012-11-02 22:43:05 +00:00
|
|
|
; uses top 2 bits only
|
|
|
|
; 0: 12.5%
|
|
|
|
; 1: 25%
|
|
|
|
; 2: 50%
|
|
|
|
; 3: 75%
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Intensity:: ; c110
|
2012-11-02 22:43:05 +00:00
|
|
|
; hi: pressure
|
|
|
|
; lo: velocity
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Frequency::
|
2012-11-02 22:43:05 +00:00
|
|
|
; 11 bits
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1FrequencyLo:: ; c111
|
2012-11-03 04:45:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1FrequencyHi:: ; c112
|
2012-11-03 04:45:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Pitch:: ; c113
|
2012-11-02 22:43:05 +00:00
|
|
|
; 0: rest
|
|
|
|
; 1: C
|
|
|
|
; 2: C#
|
|
|
|
; 3: D
|
|
|
|
; 4: D#
|
|
|
|
; 5: E
|
|
|
|
; 6: F
|
|
|
|
; 7: F#
|
|
|
|
; 8: G
|
|
|
|
; 9: G#
|
|
|
|
; a: A
|
|
|
|
; b: A#
|
|
|
|
; c: B
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Octave:: ; c114
|
2012-11-02 22:43:05 +00:00
|
|
|
; 0: highest
|
|
|
|
; 7: lowest
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1StartingOctave:: ; c115
|
2012-11-02 22:43:05 +00:00
|
|
|
; raises existing octaves by this value
|
|
|
|
; used for repeating phrases in a higher octave to save space
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1NoteDuration:: ; c116
|
2012-11-02 22:43:05 +00:00
|
|
|
; number of frames remaining in the current note
|
|
|
|
ds 1
|
|
|
|
; c117
|
|
|
|
ds 1
|
|
|
|
; c118
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1LoopCount:: ; c119
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Tempo:: ; c11a
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1Tracks:: ; c11c
|
2012-11-02 22:43:05 +00:00
|
|
|
; hi: l
|
|
|
|
; lo: r
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2012-11-02 22:43:05 +00:00
|
|
|
; c11d
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2012-11-02 22:43:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1VibratoDelayCount:: ; c11e
|
2012-11-02 22:43:05 +00:00
|
|
|
; initialized at the value in VibratoDelay
|
|
|
|
; decrements each frame
|
|
|
|
; at 0, vibrato starts
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1VibratoDelay:: ; c11f
|
2012-11-02 22:43:05 +00:00
|
|
|
; number of frames a note plays until vibrato starts
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1VibratoExtent:: ; c120
|
2012-11-02 22:43:05 +00:00
|
|
|
; difference in
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1VibratoRate:: ; c121
|
2012-11-02 22:43:05 +00:00
|
|
|
; counts down from a max of 15 frames
|
|
|
|
; over which the pitch is alternated
|
|
|
|
; hi: init frames
|
|
|
|
; lo: frame count
|
|
|
|
ds 1
|
|
|
|
|
|
|
|
; c122
|
|
|
|
ds 1
|
|
|
|
; c123
|
|
|
|
ds 1
|
|
|
|
; c124
|
|
|
|
ds 1
|
|
|
|
; c125
|
|
|
|
ds 1
|
|
|
|
; c126
|
|
|
|
ds 1
|
2013-02-23 21:47:39 +00:00
|
|
|
; c127
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1CryPitch:: ; c128
|
2013-02-23 21:47:39 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1CryEcho:: ; c129
|
2013-02-23 21:47:39 +00:00
|
|
|
ds 1
|
|
|
|
ds 4
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel1NoteLength:: ; c12e
|
2012-11-02 22:43:05 +00:00
|
|
|
; # frames per 16th note
|
|
|
|
ds 1
|
|
|
|
; c12f
|
|
|
|
ds 1
|
|
|
|
; c130
|
|
|
|
ds 1
|
|
|
|
; c131
|
|
|
|
ds 1
|
|
|
|
; c132
|
|
|
|
ds 1
|
|
|
|
; end
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel2:: ; c133
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel3:: ; c165
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel4:: ; c197
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
SFXChannels::
|
|
|
|
Channel5:: ; c1c9
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel6:: ; c1fb
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel7:: ; c22d
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
2014-02-02 01:26:39 +00:00
|
|
|
Channel8:: ; c25f
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 50
|
|
|
|
|
2012-11-02 22:43:05 +00:00
|
|
|
; c291
|
|
|
|
ds 1
|
|
|
|
; c292
|
|
|
|
ds 1
|
|
|
|
; c293
|
|
|
|
ds 1
|
|
|
|
; c294
|
|
|
|
ds 1
|
|
|
|
; c295
|
|
|
|
ds 1
|
|
|
|
; c296
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
2012-11-02 22:43:05 +00:00
|
|
|
; c297
|
2012-10-09 06:32:05 +00:00
|
|
|
ds 1
|
|
|
|
|
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
|
|
|
|
; noise delay? ; c2a2
|
|
|
|
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::
|
|
|
|
MusicFadeIDLo:: ; c2a9
|
2012-11-02 22:43:05 +00:00
|
|
|
ds 1
|
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
|
2013-02-23 21:47:39 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CryEcho:: ; c2b1
|
2013-02-23 21:47:39 +00:00
|
|
|
ds 1
|
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
|
|
|
|
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
|
|
|
|
ds 6
|
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
|
|
|
|
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
|
2014-02-02 01:26:39 +00:00
|
|
|
CurMusic:: ; c2c0
|
2012-12-14 08:00:10 +00:00
|
|
|
; id of music currently playing
|
|
|
|
ds 1
|
2012-10-09 06:32:05 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "auto",WRAM0[$c2c7]
|
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
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "linkbattle",WRAM0[$c2dc]
|
2014-02-02 01:26:39 +00:00
|
|
|
InLinkBattle:: ; c2dc
|
2012-12-23 08:21:19 +00:00
|
|
|
; 0 not in link battle
|
|
|
|
; 1 link battle
|
|
|
|
; 4 mobile battle
|
|
|
|
ds 1
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "scriptengine",WRAM0[$c2dd]
|
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
|
|
|
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "tiles",WRAM0[$c2fa]
|
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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "icons",WRAM0[$c3b6]
|
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
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "gfx",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:
|
|
|
|
; y in pixels
|
|
|
|
; x in pixels
|
|
|
|
; 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)
|
|
|
|
ds 160
|
2014-02-02 01:26:39 +00:00
|
|
|
SpritesEnd::
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TileMap:: ; c4a0
|
2012-12-14 08:00:10 +00:00
|
|
|
; 20x18 grid of 8x8 tiles
|
|
|
|
ds 360
|
2014-02-02 01:26:39 +00:00
|
|
|
TileMapEnd::
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "BattleMons",WRAM0[$c608]
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMoveStruct::
|
|
|
|
EnemyMoveAnimation:: ; c608
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMoveEffect:: ; c609
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMovePower:: ; c60a
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMoveType:: ; c60b
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMoveAccuracy:: ; c60c
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMovePP:: ; c60d
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMoveEffectChance:: ; c60e
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMoveStruct::
|
|
|
|
PlayerMoveAnimation:: ; c60f
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMoveEffect:: ; c610
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMovePower:: ; c611
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMoveType:: ; c612
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMoveAccuracy:: ; c613
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMovePP:: ; c614
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerMoveEffectChance:: ; c615
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonNick:: ; c616
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonNick:: ; c621
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 11
|
|
|
|
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonSpecies:: ; c62c
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonItem:: ; c62d
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonMoves::
|
|
|
|
BattleMonMove1:: ; c62e
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonMove2:: ; c62f
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonMove3:: ; c630
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonMove4:: ; c631
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonDVs::
|
|
|
|
BattleMonAtkDefDV:: ; c632
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonSpdSpclDV:: ; c633
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonPP::
|
|
|
|
BattleMonPPMove1:: ; c634
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonPPMove2:: ; c635
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonPPMove3:: ; c636
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonPPMove4:: ; c637
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonHappiness:: ; c638
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonLevel:: ; c639
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonStatus:: ; c63a
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2012-06-06 04:26:18 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonHP:: ; c63c
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonMaxHP:: ; c63e
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonAtk:: ; c640
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonDef:: ; c642
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonSpd:: ; c644
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonSpclAtk:: ; c646
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonSpclDef:: ; c648
|
2012-06-06 04:26:18 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonType1:: ; c64a
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleMonType2:: ; c64b
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-09-08 02:47:58 +00:00
|
|
|
ds 10
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OTName:: ; c656
|
2013-09-08 02:47:58 +00:00
|
|
|
ds 13
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurOTMon:: ; c663
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-03-26 09:22:22 +00:00
|
|
|
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-02-02 01:26:39 +00:00
|
|
|
AttackMissed:: ; c667
|
2013-03-26 09:22:22 +00:00
|
|
|
; nonzero for a miss
|
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
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
|
|
|
|
; 4
|
|
|
|
; 3
|
|
|
|
; 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
|
|
|
|
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
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyDisableCount:: ; c67d
|
2013-04-19 07:50:13 +00:00
|
|
|
ds 1
|
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
|
|
|
|
|
2013-05-03 05:29:57 +00:00
|
|
|
ds 3
|
2013-03-27 05:52:04 +00:00
|
|
|
|
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
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
|
|
|
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 2
|
|
|
|
|
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
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSDefLevel:: ; c6d0
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerAccLevel:: ; c6d1
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerEvaLevel:: ; c6d2
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
; c6d3
|
|
|
|
ds 1
|
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
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyDefLevel:: ; c6d5
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySpdLevel:: ; c6d6
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySAtkLevel:: ; c6d7
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemySDefLevel:: ; c6d8
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyAccLevel:: ; c6d9
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyEvaLevel:: ; c6da
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
; c6db
|
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
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
|
|
|
|
|
|
|
|
ds 5
|
|
|
|
|
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
|
|
|
|
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 3
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurEnemyMoveNum:: ; c6e9
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 10
|
|
|
|
|
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
|
|
|
|
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
|
2014-02-02 01:26:39 +00:00
|
|
|
LastPlayerCounterMove:: ; c6f9
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-03-27 22:50:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
AlreadyFailed:: ; c6fb
|
2013-03-27 22:50:10 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 3
|
2013-03-26 09:22:22 +00:00
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
ds 1
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerLightScreenCount:: ; c702
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerReflectCount:: ; c703
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-04-27 21:12:23 +00:00
|
|
|
ds 2
|
|
|
|
|
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
|
|
|
|
|
|
|
|
ds 2
|
2012-12-14 08:00:10 +00:00
|
|
|
|
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
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
WeatherCount:: ; c70b
|
2012-12-14 08:00:10 +00:00
|
|
|
; # turns remaining
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LoweredStat:: ; c70c
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EffectFailed:: ; c70d
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
FailedMessage:: ; c70e
|
2013-06-13 20:10:39 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 3
|
2012-12-14 08:00:10 +00:00
|
|
|
|
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
|
|
|
|
ds 4
|
|
|
|
|
|
|
|
ds 5
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "battle",WRAM0[$c734]
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleEnded:: ; c734
|
2013-06-17 22:19:45 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "overworldmap",WRAM0[$c800]
|
2014-02-02 01:26:39 +00:00
|
|
|
OverworldMap:: ; c800
|
2013-01-25 08:25:48 +00:00
|
|
|
ds 1300
|
2014-02-02 01:26:39 +00:00
|
|
|
OverworldMapEnd::
|
2013-01-25 08:25:48 +00:00
|
|
|
|
|
|
|
ds 12
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "gfx2",WRAM0[$cd20]
|
2014-02-02 01:26:39 +00:00
|
|
|
CreditsPos::
|
|
|
|
BGMapBuffer:: ; cd20
|
2013-02-26 05:47:46 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
CreditsTimer:: ; cd22
|
2013-02-26 05:47:46 +00:00
|
|
|
ds 1
|
|
|
|
ds 37
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BGMapPalBuffer:: ; cd48
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 40
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BGMapBufferPtrs:: ; cd70
|
2012-12-14 08:00:10 +00:00
|
|
|
; 20 bg map addresses (16x8 tiles)
|
|
|
|
ds 40
|
|
|
|
|
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
|
|
|
|
|
|
|
|
ds 62
|
|
|
|
|
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
|
|
|
|
ds 360
|
|
|
|
|
|
|
|
ds 30
|
|
|
|
|
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
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-09-01 19:24:07 +00:00
|
|
|
ds 6
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Requested2bpp:: ; cf67
|
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
|
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
|
|
|
|
|
|
|
|
ds 3
|
2013-05-07 23:22:41 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MenuSelection:: ; cf74
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 1
|
|
|
|
|
2012-12-14 08:00:10 +00:00
|
|
|
|
|
|
|
|
2013-08-21 17:54:35 +00:00
|
|
|
SECTION "VBlank",WRAM0[$cfb1]
|
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
|
|
|
|
|
|
|
|
ds 3
|
2012-12-23 08:21:19 +00:00
|
|
|
|
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
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Engine",WRAM0[$cfc2]
|
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
|
|
|
|
|
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TileAnimationTimer:: ; cfc6
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 5
|
|
|
|
|
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
|
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
|
|
|
TextBoxFrame:: ; cfce
|
2012-10-09 06:32:05 +00:00
|
|
|
; bits 0-2: textbox frame 0-7
|
|
|
|
ds 1
|
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
|
|
|
|
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 46
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "WRAMBank1",WRAMX[$d000],BANK[1]
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
DefaultFlypoint:: ; d002
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 1
|
|
|
|
; d003
|
|
|
|
ds 1
|
|
|
|
; d004
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StartFlypoint:: ; d005
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EndFlypoint:: ; d006
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 1
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MovementBuffer:: ; d007
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 55
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MenuItemsList::
|
|
|
|
CurFruitTree::
|
|
|
|
CurInput::
|
|
|
|
EngineBuffer1:: ; d03e
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurFruit:: ; d03f
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MartPointer:: ; d040
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
MovementAnimation:: ; d042
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
WalkingDirection:: ; d043
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2013-07-02 18:10:49 +00:00
|
|
|
|
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
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
WalkingX:: ; 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
|
2014-02-02 01:26:39 +00:00
|
|
|
WalkingTile:: ; d047
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 43
|
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
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer2:: ; d086
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 19
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer3:: ; d099
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 19
|
2014-02-02 01:26:39 +00:00
|
|
|
StringBuffer4:: ; d0ac
|
2013-05-21 23:03:31 +00:00
|
|
|
ds 19
|
2014-02-25 02:35:29 +00:00
|
|
|
StringBuffer5:: ; d0bf
|
|
|
|
ds 19
|
2012-12-14 08:00:10 +00:00
|
|
|
|
2014-02-25 02:35:29 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
ds 23
|
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
|
|
|
|
|
2013-08-03 21:23:28 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
CurMart:: ; d0f0
|
2013-08-03 21:23:28 +00:00
|
|
|
ds 16
|
2014-02-02 01:26:39 +00:00
|
|
|
CurMartEnd::
|
2013-08-03 21:23:28 +00:00
|
|
|
|
|
|
|
ds 6
|
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
|
|
|
|
|
|
|
|
ds 1
|
2012-11-24 02:19:02 +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
|
|
|
|
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 4
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMon::
|
|
|
|
TempMonSpecies:: ; d10e
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonItem:: ; d10f
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonMoves:: ; d110
|
|
|
|
TempMonMove1:: ; d110
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonMove2:: ; d111
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonMove3:: ; d112
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonMove4:: ; d113
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonID:: ; d114
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonExp:: ; d116
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 3
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonHPExp:: ; d119
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonAtkExp:: ; d11b
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonDefExp:: ; d11d
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonSpdExp:: ; d11f
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonSpclExp:: ; d121
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonDVs:: ; d123
|
2013-04-12 21:21:22 +00:00
|
|
|
; hp = %1000 for each dv
|
|
|
|
ds 1 ; atk/def
|
|
|
|
ds 1 ; spd/spc
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonPP:: ; d125
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 4
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonHappiness:: ; d129
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonPokerusStatus:: ; d12a
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonCaughtData:: ; d12b
|
|
|
|
TempMonCaughtTime:: ; d12b
|
|
|
|
TempMonCaughtLevel:: ; d12b
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonCaughtGender:: ; d12c
|
|
|
|
TempMonCaughtLocation:: ; d12c
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonLevel:: ; d12d
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonStatus:: ; d12e
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 1
|
|
|
|
; d12f
|
|
|
|
ds 1
|
2014-02-23 05:37:09 +00:00
|
|
|
TempMonHP:: ; d130
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonMaxHP:: ; d132
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonAtk:: ; d134
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonDef:: ; d136
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonSpd:: ; d138
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonSpclAtk:: ; d13a
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonSpclDef:: ; d13c
|
2013-04-12 21:21:22 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
TempMonEnd:: ; d13e
|
2013-04-12 21:21:22 +00:00
|
|
|
|
|
|
|
ds 3
|
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
|
|
|
|
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
|
|
|
|
|
2013-05-13 19:37:14 +00:00
|
|
|
|
2013-08-21 17:54:35 +00:00
|
|
|
SECTION "UsedSprites",WRAMX[$d154],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
UsedSprites:: ; d154
|
2013-07-08 05:35:41 +00:00
|
|
|
ds 32
|
|
|
|
|
2013-10-05 02:03:34 +00:00
|
|
|
SECTION "map",WRAMX[$d19d],BANK[1]
|
2013-07-20 05:25:20 +00:00
|
|
|
|
2013-10-05 02:03:34 +00:00
|
|
|
; both 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
|
2014-02-02 01:26:39 +00:00
|
|
|
NorthConnectionStripLength:: ; d1af
|
2013-05-13 19:37:14 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +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
|
2014-02-02 01:26:39 +00:00
|
|
|
SouthConnectionStripLength:: ; d1bb
|
2013-05-13 22:40:33 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +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
|
2013-04-19 07:48:07 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
ds 1
|
2012-11-24 02:19:02 +00:00
|
|
|
|
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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "BattleMons2",WRAMX[$d1fa],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
LinkBattleRNs:: ; d1fa
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 10
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
TempEnemyMonSpecies:: ; d204
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
TempBattleMonSpecies:: ; d205
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2013-04-29 19:42:31 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMon::
|
|
|
|
EnemyMonSpecies:: ; d206
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonItem:: ; d207
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMoves::
|
|
|
|
EnemyMonMove1:: ; d208
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMove2:: ; d209
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMove3:: ; d20a
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMove4:: ; d20b
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMovesEnd::
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonDVs::
|
|
|
|
EnemyMonAtkDefDV:: ; d20c
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonSpdSpclDV:: ; d20d
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonPP::
|
|
|
|
EnemyMonPPMove1:: ; d20e
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonPPMove2:: ; d20f
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonPPMove3:: ; d210
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonPPMove4:: ; d211
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonHappiness:: ; d212
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonLevel:: ; d213
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonStatus:: ; d214
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2012-09-23 16:50:44 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonHP::
|
|
|
|
EnemyMonHPHi:: ; d216
|
2012-09-23 16:50:44 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonHPLo:: ; d217
|
2012-09-23 16:50:44 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMaxHP::
|
|
|
|
EnemyMonMaxHPHi:: ; d218
|
2012-09-23 16:50:44 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonMaxHPLo:: ; d219
|
2012-09-23 16:50:44 +00:00
|
|
|
ds 1
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonStats::
|
|
|
|
EnemyMonAtk:: ; d21a
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonDef:: ; d21c
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonSpd:: ; d21e
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonSpclAtk:: ; d220
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonSpclDef:: ; d222
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonStatsEnd::
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonType1:: ; d224
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonType2:: ; d225
|
2013-03-26 09:22:22 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonBaseStats:: ; d226
|
2013-04-29 19:42:31 +00:00
|
|
|
ds 5
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonCatchRate:: ; d22b
|
2013-04-29 19:42:31 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
EnemyMonBaseExp:: ; d22c
|
2013-04-29 19:42:31 +00:00
|
|
|
ds 1
|
|
|
|
|
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
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
IsInBattle:: ; 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
|
|
|
|
|
|
|
|
ds 1
|
2012-09-11 03:20:58 +00:00
|
|
|
|
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
|
|
|
|
; $01
|
|
|
|
; $02
|
|
|
|
; $03 dude
|
|
|
|
; $04 fishing
|
|
|
|
; $05 roaming
|
|
|
|
; $06
|
|
|
|
; $07 shiny
|
|
|
|
; $08 headbutt/rock smash
|
|
|
|
; $09
|
|
|
|
; $0a force Item1
|
|
|
|
; $0b
|
|
|
|
; $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
|
|
|
|
|
2013-05-04 06:14:02 +00:00
|
|
|
ds 1
|
|
|
|
|
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
|
|
|
|
|
|
|
|
ds 1
|
|
|
|
|
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
|
|
|
|
|
2013-04-29 18:04:25 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "TimeOfDay",WRAMX[$d269],BANK[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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "OTParty",WRAMX[$d280],BANK[1]
|
2012-06-06 03:28:55 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyCount:: ; d280
|
2013-01-01 22:08:26 +00:00
|
|
|
ds 1 ; number of Pokémon in party
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartySpecies:: ; d281
|
2013-01-01 22:08:26 +00:00
|
|
|
ds 6 ; species of each Pokémon in party
|
|
|
|
; d287
|
|
|
|
ds 1 ; any empty slots including the 7th must be FF
|
|
|
|
; or the routine will keep going
|
2012-06-06 03:28:55 +00:00
|
|
|
|
2014-02-23 05:37:09 +00:00
|
|
|
OTPartyMon1:: ; d288
|
|
|
|
party_struct OTPartyMon1
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon2:: ; d2b8
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct OTPartyMon2
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon3:: ; d2e8
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct OTPartyMon3
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon4:: ; d318
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct OTPartyMon4
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon5:: ; d348
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct OTPartyMon5
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon6:: ; d378
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct OTPartyMon6
|
2012-06-06 03:28:55 +00:00
|
|
|
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMonOT::
|
|
|
|
OTPartyMon1OT:: ; d3a8
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon2OT:: ; d3b3
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon3OT:: ; d3be
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon4OT:: ; d3c9
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon5OT:: ; d3d4
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon6OT:: ; d3df
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMonNicknames::
|
|
|
|
OTPartyMon1Nickname:: ; d3ea
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon2Nickname:: ; d3f5
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon3Nickname:: ; d400
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon4Nickname:: ; d40b
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon5Nickname:: ; d416
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
OTPartyMon6Nickname:: ; d421
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
|
|
|
|
2013-12-27 10:56:23 +00:00
|
|
|
SECTION "Map Events", WRAMX[$d432], BANK[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
|
2013-12-27 10:56:23 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptFlags:: ; d434
|
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
|
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
|
|
|
|
2013-07-04 09:37:20 +00:00
|
|
|
ds 17
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ScriptDelay:: ; d44d
|
2013-07-04 09:37:20 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Player",WRAMX[$d472],BANK[1]
|
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
|
|
|
|
ds 8
|
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-02-02 01:26:39 +00:00
|
|
|
PlayerName:: ; d47d
|
2012-07-05 03:42:39 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
MomsName:: ; d488
|
2013-05-13 00:36:40 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
RivalName:: ; d493
|
2013-07-21 09:53:04 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
RedsName:: ; d49e
|
2013-07-21 09:53:04 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
GreensName:: ; d4a9
|
2013-05-13 00:36:40 +00:00
|
|
|
ds 11
|
|
|
|
|
2013-07-21 09:53:04 +00:00
|
|
|
ds 2
|
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
|
|
|
|
|
2012-12-14 08:00:10 +00:00
|
|
|
ds 9
|
|
|
|
|
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
|
|
|
|
|
2013-07-22 07:00:07 +00:00
|
|
|
ds 10
|
|
|
|
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStructs::
|
2013-12-23 01:47:57 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerStruct:: ; d4d6
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSprite:: ; d4d8
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 1
|
2013-08-27 17:49:32 +00:00
|
|
|
ds 3
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerPalette:: ; d4dc
|
2013-08-27 17:49:32 +00:00
|
|
|
ds 1
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerDirection:: ; d4de
|
2012-09-23 16:50:44 +00:00
|
|
|
; uses bits 2 and 3 / $0c / %00001100
|
|
|
|
; %00 down
|
|
|
|
; %01 up
|
|
|
|
; %10 left
|
|
|
|
; $11 right
|
|
|
|
ds 1
|
2013-08-30 18:20:01 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerAction:: ; d4e1
|
2013-08-27 17:49:32 +00:00
|
|
|
; 1 standing
|
|
|
|
; 2 walking
|
|
|
|
; 4 spinning
|
|
|
|
; 6 fishing
|
|
|
|
ds 1
|
2013-12-23 01:47:57 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerFacing:: ; d4e3
|
2013-12-23 01:47:57 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StandingTile:: ; d4e4
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StandingTile2:: ; d4e5
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
|
|
|
; relative to the map struct including borders
|
2014-02-02 01:26:39 +00:00
|
|
|
MapX:: ; d4e6
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapY:: ; d4e7
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapX2:: ; d4e8
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
MapY2:: ; d4e9
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
|
|
|
ds 3
|
|
|
|
; relative to the bg map, in px
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSpriteX:: ; d4ed
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
PlayerSpriteY:: ; d4ee
|
2013-06-27 04:34:49 +00:00
|
|
|
ds 1
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 15
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct1:: ; d4fe
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct2:: ; d526
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct3:: ; d54e
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct4:: ; d576
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct5:: ; d59e
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct6:: ; d5c6
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct7:: ; d5ee
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct8:: ; d616
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct9:: ; d63e
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct10:: ; d666
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct11:: ; d68e
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
2014-02-02 01:26:39 +00:00
|
|
|
ObjectStruct12:: ; d6b6
|
2013-11-28 05:49:59 +00:00
|
|
|
ds 40
|
|
|
|
; d6de
|
2013-06-27 04:34:49 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Objects",WRAMX[$d71e],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
MapObjects:: ; d71e
|
2013-07-04 08:11:28 +00:00
|
|
|
ds OBJECT_LENGTH * NUM_OBJECTS
|
|
|
|
|
|
|
|
|
2013-08-21 17:54:35 +00:00
|
|
|
SECTION "VariableSprites",WRAMX[$d82e],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
VariableSprites:: ; d82e
|
2013-07-08 05:35:41 +00:00
|
|
|
ds $10
|
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Status",WRAMX[$d841],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
TimeOfDayPal:: ; d841
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
|
|
|
ds 4
|
|
|
|
; d846
|
|
|
|
ds 1
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
CurTimeOfDay:: ; d848
|
2012-12-23 08:21:19 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 3
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StatusFlags:: ; d84c
|
2013-07-02 02:55:13 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
StatusFlags2:: ; d84d
|
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
|
|
|
|
|
2013-08-30 21:48:59 +00:00
|
|
|
ds 4
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Coins:: ; d855
|
2013-08-30 21:48:59 +00:00
|
|
|
ds 2
|
2012-10-09 08:43:45 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
Badges::
|
|
|
|
JohtoBadges:: ; d857
|
2012-09-22 23:27:57 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
KantoBadges:: ; d858
|
2012-09-22 23:27:57 +00:00
|
|
|
ds 1
|
2012-09-12 02:37:03 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Items",WRAMX[$d859],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
TMsHMs:: ; d859
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 57
|
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
|
2013-07-03 03:01:34 +00:00
|
|
|
ds 41
|
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
|
2013-07-03 03:01:34 +00:00
|
|
|
ds 26
|
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
|
2012-09-12 02:37:03 +00:00
|
|
|
ds 25
|
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
|
2013-08-30 04:07:51 +00:00
|
|
|
ds 101
|
2014-02-02 01:26:39 +00:00
|
|
|
PCItemsEnd::
|
2013-08-30 04:07:51 +00:00
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "overworld",WRAMX[$d95b],BANK[1]
|
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
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "scriptram",WRAMX[$d962],BANK[1]
|
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
|
|
|
|
|
2013-08-23 19:00:07 +00:00
|
|
|
SECTION "Events",WRAMX[$da72],BANK[1]
|
2012-06-06 04:49:44 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EventFlags:: ; da72
|
|
|
|
;RoomDecorations:: ; dac6
|
|
|
|
;TeamRocketAzaleaTownAttackEvent:: ; db51
|
|
|
|
;PoliceAtElmsLabEvent:: ; db52
|
|
|
|
;SalesmanMahoganyTownEvent:: ; db5c
|
|
|
|
;RedGyaradosEvent:: ; db5c
|
2013-08-23 19:00:07 +00:00
|
|
|
ds 250
|
|
|
|
; db6c
|
2012-06-06 04:49:44 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "BoxNames",WRAMX[$db75],BANK[1]
|
2012-04-19 04:18:36 +00:00
|
|
|
; 8 chars + $50
|
2014-02-02 01:26:39 +00:00
|
|
|
Box1Name:: ; db75
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box2Name:: ; db7e
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box3Name:: ; db87
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box4Name:: ; db90
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box5Name:: ; db99
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box6Name:: ; dba2
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box7Name:: ; dbab
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box8Name:: ; dbb4
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box9Name:: ; dbbd
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box10Name:: ; dbc6
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box11Name:: ; dbcf
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box12Name:: ; dbd8
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box13Name:: ; dbe1
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2014-02-02 01:26:39 +00:00
|
|
|
Box14Name:: ; dbea
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 9
|
2012-04-19 04:18:36 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "bike", WRAMX[$dbf5],BANK[1]
|
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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "decorations", WRAMX[$dc0f],BANK[1]
|
2013-05-29 22:56:09 +00:00
|
|
|
; Sprite id of each decoration
|
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
|
2014-02-02 01:26:39 +00:00
|
|
|
Plant:: ; dc11
|
2013-05-29 22:56:09 +00:00
|
|
|
ds 1
|
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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "fruittrees", WRAMX[$dc27],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
FruitTreeFlags:: ; dc27
|
2013-05-03 19:40:45 +00:00
|
|
|
ds 1
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "steps", WRAMX[$dc73],BANK[1]
|
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
|
|
|
|
2013-11-29 05:38:22 +00:00
|
|
|
SECTION "Visited Spawn Points", WRAMX[$dca5],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
VisitedSpawns:: ; dca5
|
2013-02-04 05:22:53 +00:00
|
|
|
ds 4
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "BackupMapInfo", WRAMX[$dcad],BANK[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
|
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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "PlayerMapInfo", WRAMX[$dcb4],BANK[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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "PlayerParty",WRAMX[$dcd7],BANK[1]
|
2012-04-19 04:18:36 +00:00
|
|
|
|
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
|
2012-03-21 04:23:40 +00:00
|
|
|
ds 6 ; 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
|
2012-04-19 04:18:36 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMons::
|
2014-02-23 05:37:09 +00:00
|
|
|
PartyMon1:: ; dcdf
|
|
|
|
party_struct PartyMon1
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon2:: ; dd0f
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct PartyMon2
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon3:: ; dd3f
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct PartyMon3
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon4:: ; dd6f
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct PartyMon4
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon5:: ; dd9f
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct PartyMon5
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon6:: ; ddcf
|
2014-02-23 05:37:09 +00:00
|
|
|
party_struct PartyMon6
|
2012-04-19 04:18:36 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMonOT::
|
|
|
|
PartyMon1OT:: ; ddff
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon2OT:: ; de0a
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon3OT:: ; de15
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon4OT:: ; de20
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon5OT:: ; de2b
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon6OT:: ; de36
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2012-03-21 04:23:40 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMonNicknames::
|
|
|
|
PartyMon1Nickname:: ; de41
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon2Nickname:: ; de4c
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon3Nickname:: ; de57
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon4Nickname:: ; de62
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon5Nickname:: ; de6d
|
2012-04-19 04:18:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMon6Nickname:: ; de78
|
2012-06-06 03:28:55 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
PartyMonNicknamesEnd::
|
2012-10-09 06:40:36 +00:00
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Pokedex",WRAMX[$de99],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
PokedexCaught:: ; de99
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
EndPokedexCaught::
|
|
|
|
PokedexSeen:: ; deb9
|
2013-09-09 06:34:07 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
EndPokedexSeen::
|
|
|
|
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
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "Breeding",WRAMX[$def5],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
DaycareMan:: ; 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-02-02 01:26:39 +00:00
|
|
|
BreedMon1::
|
|
|
|
BreedMon1Nick:: ; def6
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BreedMon1OT:: ; df01
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BreedMon1Stats::
|
|
|
|
BreedMon1Species:: ; df0c
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 1
|
|
|
|
ds 31
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
DaycareLady:: ; df2c
|
2012-10-09 06:40:36 +00:00
|
|
|
; bit 7: active
|
|
|
|
; bit 0: monster 2 in daycare
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
StepsToEgg:: ; df2d
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
DittoInDaycare:: ; df2e
|
2012-10-09 06:40:36 +00:00
|
|
|
; z: yes
|
|
|
|
; nz: no
|
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BreedMon2::
|
|
|
|
BreedMon2Nick:: ; df2f
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BreedMon2OT:: ; df3a
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BreedMon2Stats::
|
|
|
|
BreedMon2Species:: ; df45
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 1
|
|
|
|
ds 31
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
EggNick:: ; df65
|
2012-10-09 06:40:36 +00:00
|
|
|
; EGG@
|
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
EggOT:: ; df70
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
EggStats::
|
|
|
|
EggSpecies:: ; df7b
|
2012-10-09 06:40:36 +00:00
|
|
|
ds 1
|
|
|
|
ds 31
|
2012-11-24 02:19:02 +00:00
|
|
|
|
2014-02-23 02:57:28 +00:00
|
|
|
ds 1
|
|
|
|
|
|
|
|
wContestMon:: ; df9c
|
|
|
|
party_struct wContestMon
|
|
|
|
|
|
|
|
ds 3
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon1Species:: ; dfcf
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon1Level:: ; dfd0
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon1MapGroup:: ; dfd1
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon1MapNumber:: ; dfd2
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-23 05:37:09 +00:00
|
|
|
RoamMon1HP:: ; dfd3
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon1DVs:: ; dfd4
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon2Species:: ; dfd6
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon2Level:: ; dfd7
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon2MapGroup:: ; dfd8
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon2MapNumber:: ; dfd9
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-23 05:37:09 +00:00
|
|
|
RoamMon2HP:: ; dfda
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon2DVs:: ; dfdb
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 2
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon3Species:: ; dfdd
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon3Level:: ; dfde
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon3MapGroup:: ; dfdf
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon3MapNumber:: ; dfe0
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-23 05:37:09 +00:00
|
|
|
RoamMon3HP:: ; dfe1
|
2012-11-24 02:19:02 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
RoamMon3DVs:: ; dfe2
|
2013-01-14 08:40:27 +00:00
|
|
|
ds 2
|
2013-07-02 18:10:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2013-08-04 08:57:48 +00:00
|
|
|
SECTION "WRAMBank5",WRAMX[$d000],BANK[5]
|
2013-07-02 18:10:49 +00:00
|
|
|
|
|
|
|
; 8 4-color palettes
|
2014-02-02 01:26:39 +00:00
|
|
|
Unkn1Pals:: ; d000
|
2013-08-04 08:57:48 +00:00
|
|
|
ds $40
|
2014-02-02 01:26:39 +00:00
|
|
|
Unkn2Pals:: ; d040
|
2013-08-04 08:57:48 +00:00
|
|
|
ds $40
|
2014-02-02 01:26:39 +00:00
|
|
|
BGPals:: ; d080
|
2013-08-04 08:57:48 +00:00
|
|
|
ds $40
|
2014-02-02 01:26:39 +00:00
|
|
|
OBPals:: ; d0c0
|
2013-08-04 08:57:48 +00:00
|
|
|
ds $40
|
2013-07-02 18:10:49 +00:00
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverrides:: ; d100
|
2013-08-28 00:46:31 +00:00
|
|
|
ds 144
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverridesEnd::
|
2013-08-22 08:16:41 +00:00
|
|
|
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 112
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverridesBackup:: ; d200
|
2013-12-08 21:22:35 +00:00
|
|
|
ds 144
|
2014-02-02 01:26:39 +00:00
|
|
|
LYOverridesBackupEnd::
|
2013-12-08 21:22:35 +00:00
|
|
|
|
|
|
|
|
2013-12-18 04:32:46 +00:00
|
|
|
SECTION "Battle Animations", WRAMX[$d30a], BANK[5]
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
ActiveAnimObjects:: ; d30a
|
2013-12-18 04:32:46 +00:00
|
|
|
ds 4 * 40
|
|
|
|
|
|
|
|
ds 80
|
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
|
|
|
|
|
2013-12-18 04:32:46 +00:00
|
|
|
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
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BattleAnimTemps:: ; d419
|
2013-12-18 04:32:46 +00:00
|
|
|
ds 8
|
|
|
|
|
2013-08-22 08:16:41 +00:00
|
|
|
|
|
|
|
SECTION "SRAMBank1",SRAM,BANK[1]
|
|
|
|
|
|
|
|
SECTION "BoxMons",SRAM[$ad10],BANK[1]
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxCount:: ; ad10
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxSpecies:: ; ad11
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 20
|
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMons::
|
|
|
|
BoxMon1::
|
|
|
|
BoxMon1Species:: ; ad26
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1Item:: ; ad27
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1Moves:: ; ad28
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 4
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1ID:: ; ad2c
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1Exp:: ; ad2e
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 3
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1HPExp:: ; ad31
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1AtkExp:: ; ad33
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1DefExp:: ; ad35
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1SpdExp:: ; ad37
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1SpcExp:: ; ad39
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1DVs:: ; ad3b
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 2
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1PP:: ; ad3d
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 4
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1Happiness:: ; ad41
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1PokerusStatus:: ; ad42
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1CaughtData::
|
|
|
|
BoxMon1CaughtTime::
|
|
|
|
BoxMon1CaughtLevel:: ; ad43
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1CaughtGender::
|
|
|
|
BoxMon1CaughtLocation:: ; ad44
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon1Level:: ; ad45
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 1
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon2:: ; ad46
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon3:: ; ad66
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon4:: ; ad86
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon5:: ; ada6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon6:: ; adc6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon7:: ; ade6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon8:: ; ae06
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon9:: ; ae26
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon10:: ; ae46
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon11:: ; ae66
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon12:: ; ae86
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon13:: ; aea6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon14:: ; aec6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon15:: ; aee6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon16:: ; af06
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon17:: ; af26
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon18:: ; af46
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon19:: ; af66
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon20:: ; af86
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 32
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMonOT::
|
|
|
|
BoxMon1OT:: ; afa6
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon2OT:: ; afb1
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon3OT:: ; afbc
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon4OT:: ; afc7
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon5OT:: ; afd2
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon6OT:: ; afdd
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon7OT:: ; afe8
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon8OT:: ; aff3
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon9OT:: ; affe
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon10OT:: ; b009
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon11OT:: ; b014
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon12OT:: ; b01f
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon13OT:: ; b02a
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon14OT:: ; b035
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon15OT:: ; b040
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon16OT:: ; b04b
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon17OT:: ; b056
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon18OT:: ; b061
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon19OT:: ; b06c
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon20OT:: ; b077
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
|
|
|
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMonNicknames::
|
|
|
|
BoxMon1Nickname:: ; b082
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon2Nickname:: ; b08d
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon3Nickname:: ; b098
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon4Nickname:: ; b0a3
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon5Nickname:: ; b0ae
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon6Nickname:: ; b0b9
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon7Nickname:: ; b0c4
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon8Nickname:: ; b0cf
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon9Nickname:: ; b0da
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon10Nickname:: ; b0e5
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon11Nickname:: ; b0f0
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon12Nickname:: ; b0fb
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon13Nickname:: ; b106
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon14Nickname:: ; b111
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon15Nickname:: ; b11c
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon16Nickname:: ; b127
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon17Nickname:: ; b132
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon18Nickname:: ; b13d
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon19Nickname:: ; b148
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMon20Nickname:: ; b153
|
2013-08-22 08:16:41 +00:00
|
|
|
ds 11
|
2014-02-02 01:26:39 +00:00
|
|
|
BoxMonNicknamesEnd::
|
2013-08-22 08:16:41 +00:00
|
|
|
|