Merge remote-tracking branch 'kanzure/master' into gfx-script

This commit is contained in:
yenatch 2015-07-20 23:05:28 -07:00
commit 973721491c
504 changed files with 32011 additions and 45776 deletions

View File

@ -413,10 +413,9 @@ UpdateChannels: ; e8125
; hl << 4
; each wavepattern is $0f bytes long
; so seeking is done in $10s
rept 4
add hl, hl
add hl, hl
add hl, hl
add hl, hl
endr
ld de, WaveSamples
add hl, de
; load wavepattern into $ff30-$ff3f
@ -1292,8 +1291,9 @@ GetNoiseSample: ; e86c5
ld d, $00
; load ptr to noise sample set in hl
ld hl, Drumkits
rept 2
add hl, de
add hl, de
endr
ld a, [hli]
ld h, [hl]
ld l, a
@ -1306,8 +1306,9 @@ GetNoiseSample: ; e86c5
; use 'pitch' to seek noise sample set
ld e, a
ld d, $00
rept 2
add hl, de
add hl, de
endr
; load sample pointer into NoiseSampleAddress
ld a, [hli]
ld [NoiseSampleAddressLo], a
@ -1328,8 +1329,9 @@ ParseMusicCommand: ; e870f
ld d, $00
; seek command pointer
ld hl, MusicCommands
rept 2
add hl, de
add hl, de
endr
; jump to the new pointer
ld a, [hli]
ld h, [hl]
@ -1572,8 +1574,9 @@ MusicFB: ; e8817
inc hl
ld d, [hl]
; skip pointer
rept 2
inc de
inc de
endr
; update address
ld [hl], d
dec hl
@ -1623,8 +1626,9 @@ MusicEE; e883e
inc hl
ld d, [hl]
; skip pointer
rept 2
inc de
inc de
endr
; update address
ld [hl], d
dec hl
@ -2378,9 +2382,9 @@ _PlayCryHeader:: ; e8b79
; 3-byte pointers (bank, address)
ld hl, Cries
rept 3
add hl, de
add hl, de
add hl, de
endr
ld a, [hli]
ld [MusicBank], a
@ -2595,9 +2599,9 @@ PlayStereoSFX:: ; e8ca6
; get sfx ptr
ld hl, SFX
rept 3
add hl, de
add hl, de
add hl, de
endr
; bank
ld a, [hli]
@ -2692,8 +2696,9 @@ LoadChannel: ; e8d1b
ld c, a
ld b, $00
ld hl, ChannelPointers
rept 2
add hl, bc
add hl, bc
endr
ld c, [hl]
inc hl
ld b, [hl] ; bc = channel pointer
@ -3157,8 +3162,9 @@ ClearChannels:: ; e8fe9
; doesn't seem to be used, but functionally identical to SoundRestart
ld hl, rNR50
xor a
rept 2
ld [hli], a
ld [hli], a
endr
ld a, $80
ld [hli], a
ld hl, rNR10

View File

@ -275,8 +275,9 @@ Music_GoldenrodCity_Ch3: ; eb584
vibrato $8, $23
notetype $c, $25
Music_GoldenrodCity_branch_eb58c: ; eb58c
rept 2
callchannel Music_GoldenrodCity_branch_eb5aa
callchannel Music_GoldenrodCity_branch_eb5aa
endr
callchannel Music_GoldenrodCity_branch_eb5d2
note __, 3
octave 3

View File

@ -492,8 +492,9 @@ Music_JohtoWildBattle_branch_f5fdb: ; f5fdb
note G_, 2
loopchannel 7, Music_JohtoWildBattle_branch_f5fdb
note F#, 4
rept 2
callchannel Music_JohtoWildBattle_branch_f6055
callchannel Music_JohtoWildBattle_branch_f6055
endr
Music_JohtoWildBattle_branch_f5fe8: ; f5fe8
note D_, 2
note G_, 2

View File

@ -325,22 +325,25 @@ Music_KantoWildBattle_branch_ed1c8: ; ed1c8
note F_, 1
note F#, 1
notetype $6, $b7
rept 2
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
endr
forceoctave $1
rept 2
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
endr
forceoctave $0
rept 4
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
endr
forceoctave $1
rept 2
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
endr
forceoctave $0
rept 2
callchannel Music_KantoWildBattle_branch_ed307
callchannel Music_KantoWildBattle_branch_ed307
endr
note __, 16
octave 3
note A#, 16

View File

@ -193,9 +193,9 @@ AI_TryItem: ; 38105
jr z, .has_item
dec de
rept 3
inc hl
inc hl
inc hl
endr
jr .loop
.has_item
@ -213,8 +213,9 @@ AI_TryItem: ; 38105
pop de
pop hl
rept 2
inc hl
inc hl
endr
jr c, .loop
.used_item

File diff suppressed because it is too large Load Diff

View File

@ -265,9 +265,9 @@ Functioncc23d: ; cc23d
ld a, [hl]
and $f0
ld [hli], a
rept 3
inc hl
inc hl
inc hl
endr
dec c
jr nz, .asm_cc249
ret
@ -341,8 +341,9 @@ Functioncc293: ; cc293
ld e, a
ld d, 0
ld hl, BattleAnimCommands
rept 2
add hl, de
add hl, de
endr
ld a, [hli]
ld h, [hl]
@ -488,8 +489,9 @@ BattleAnimCmd_FD: ; cc348 (33:4348)
ld e, [hl]
inc hl
ld d, [hl]
rept 2
inc de
inc de
endr
ld [hl], d
dec hl
ld [hl], e
@ -517,8 +519,9 @@ BattleAnimCmd_EF: ; cc383 (33:4383)
ld e, [hl]
inc hl
ld d, [hl]
rept 2
inc de
inc de
endr
ld [hl], d
dec hl
ld [hl], e
@ -544,8 +547,9 @@ BattleAnimCmd_FB: ; cc3b2 (33:43b2)
ld e, [hl]
inc hl
ld d, [hl]
rept 2
inc de
inc de
endr
ld [hl], d
dec hl
ld [hl], e
@ -572,8 +576,9 @@ BattleAnimCmd_F8: ; cc3d6 (33:43d6)
ld e, [hl]
inc hl
ld d, [hl]
rept 2
inc de
inc de
endr
ld [hl], d
dec hl
ld [hl], e
@ -601,8 +606,9 @@ BattleAnimCmd_EE: ; cc3fa (33:43fa)
ld e, [hl]
inc hl
ld d, [hl]
rept 2
inc de
inc de
endr
ld [hl], d
dec hl
ld [hl], e
@ -700,10 +706,9 @@ BattleAnimCmd_D5: ; cc485 (33:4485)
push hl
ld l, a
ld h, $0
rept 4
add hl, hl
add hl, hl
add hl, hl
add hl, hl
endr
ld de, $8310
add hl, de
ld a, [BattleAnimByte]
@ -797,8 +802,9 @@ BattleAnimCmd_D9: ; cc52c (33:452c)
ld a, [hl]
and a
jr z, .asm_cc537
rept 2
inc hl
inc hl
endr
jr .asm_cc52f
.asm_cc537
@ -852,8 +858,9 @@ BattleAnimCmd_DA: ; cc57e (33:457e)
ld a, [hl]
and a
jr z, .asm_cc589
rept 2
inc hl
inc hl
endr
jr .asm_cc581
.asm_cc589
@ -1243,10 +1250,9 @@ BattleAnimCmd_E1: ; cc807 (33:4807)
ld e, a
ld d, 0
ld hl, Datacc871
rept 4
add hl, de
add hl, de
add hl, de
add hl, de
endr
ld a, [rSVBK] ; $ff00+$70
push af
@ -1392,8 +1398,9 @@ Functioncc8d3: ; cc8d3
inc hl
ld d, [hl]
ld hl, BattleAnimations
rept 2
add hl, de
add hl, de
endr
call Function3ae1
call BattleAnimAssignPals
call BattleAnimDelayFrame

View File

@ -36,12 +36,9 @@ Functioncc9c4: ; cc9c4 (33:49c4)
ld e, a
ld d, 0
ld hl, BattleAnimObjects
rept 6
add hl, de
add hl, de
add hl, de
add hl, de
add hl, de
add hl, de
endr
ld e, l
ld d, h
ld hl, $0
@ -71,8 +68,9 @@ Functioncc9c4: ; cc9c4 (33:49c4)
ld a, [BattleAnimTemps + 2]
ld [hli], a
xor a
rept 2
ld [hli], a
ld [hli], a
endr
ld a, [BattleAnimTemps + 3]
ld [hli], a
xor a
@ -80,8 +78,9 @@ Functioncc9c4: ; cc9c4 (33:49c4)
dec a
ld [hli], a
xor a
rept 2
ld [hli], a
ld [hli], a
endr
ld [hl], a
ret
@ -516,8 +515,9 @@ Functionccfbe: ; ccfbe
ld e, [hl]
ld d, 0
ld hl, Jumptable_ccfce
rept 2
add hl, de
add hl, de
endr
ld a, [hli]
ld h, [hl]
ld l, a
@ -670,10 +670,9 @@ Functioncd0a6: ; cd0a6 (33:50a6)
ld hl, $f
add hl, bc
ld a, [hl]
rept 4
inc [hl]
inc [hl]
inc [hl]
inc [hl]
endr
ld d, $10
push af
push de
@ -937,8 +936,9 @@ Functioncd232: ; cd232 (33:5232)
ld [hl], a
ld hl, $7
add hl, bc
rept 2
dec [hl]
dec [hl]
endr
ret
.asm_cd245
call Functioncc9bd
@ -1739,8 +1739,9 @@ Functioncd687: ; cd687 (33:5687)
ld [hl], a
ld hl, $f
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
Functioncd6c5: ; cd6c5 (33:56c5)
ret
@ -1760,8 +1761,9 @@ Functioncd6d6: ; cd6d6 (33:56d6)
call Functioncc9bd
ret
asm_cd6da: ; cd6da (33:56da)
rept 2
inc a
inc a
endr
ld [hl], a
sub $10
ret c
@ -2128,8 +2130,9 @@ Functioncd8cc: ; cd8cc (33:58cc)
call Functionce7bf
ld hl, $f
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ld a, [hl]
and $1f
ret nz
@ -2550,8 +2553,9 @@ Functioncdb28: ; cdb28 (33:5b28)
ld a, [hl]
cp $98
ret nc
rept 2
inc [hl]
inc [hl]
endr
ld hl, $1
add hl, bc
set 0, [hl]
@ -2587,8 +2591,9 @@ Functioncdb65: ; cdb65 (33:5b65)
ld a, [hl]
cp $98
ret nc
rept 2
inc [hl]
inc [hl]
endr
ld hl, $f
add hl, bc
ld a, [hl]
@ -2722,8 +2727,9 @@ Functioncdc27: ; cdc27 (33:5c27)
ld hl, $f
add hl, bc
ld a, [hl]
rept 2
inc [hl]
inc [hl]
endr
ld d, $2
call Functionce734
ld hl, $9
@ -2871,8 +2877,9 @@ Functioncdcfe: ; cdcfe (33:5cfe)
ld hl, $10
add hl, bc
ld a, [hl]
rept 2
inc [hl]
inc [hl]
endr
ld d, $10
call Functionce734
ld d, a
@ -3083,8 +3090,9 @@ Functioncde28: ; cde28 (33:5e28)
ld hl, $f
add hl, bc
ld a, [hl]
rept 2
inc [hl]
inc [hl]
endr
ld d, $4
call Functionce734
ld hl, $9
@ -3112,8 +3120,9 @@ Functioncde54: ; cde54 (33:5e54)
ld hl, $f
add hl, bc
ld a, [hl]
rept 2
dec [hl]
dec [hl]
endr
ld d, $10
call Functionce734
ld hl, $a
@ -3353,8 +3362,9 @@ Functioncdf8c: ; cdf8c (33:5f8c)
ld [hl], a
ld hl, $b
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ld a, [hl]
and $7
ret nz
@ -3394,8 +3404,9 @@ Functioncdfcb: ; cdfcb (33:5fcb)
ld [hl], a
ld hl, $b
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ld a, [hl]
and $3
ret nz
@ -3404,8 +3415,9 @@ Functioncdfcb: ; cdfcb (33:5fcb)
ld a, [hl]
cp $d0
jr z, .asm_ce007
rept 2
dec [hl]
dec [hl]
endr
ret
.asm_ce007
call Functioncc9bd
@ -3930,8 +3942,9 @@ Functionce2cc: ; ce2cc (33:62cc)
ld [hl], a
ld hl, $10
add hl, bc
rept 2
dec [hl]
dec [hl]
endr
ret
Functionce2fd: ; ce2fd (33:62fd)
@ -4077,8 +4090,9 @@ Functionce3b4: ; ce3b4 (33:63b4)
ld hl, $f
add hl, bc
ld a, [hl]
rept 2
inc [hl]
inc [hl]
endr
push af
ld d, $2
call Functionce734
@ -4317,8 +4331,9 @@ Functionce508: ; ce508 (33:6508)
ld a, [hl]
cp $10
jr nc, .asm_ce52e
rept 2
inc [hl]
inc [hl]
endr
ld d, a
ld hl, $b
add hl, bc
@ -4428,12 +4443,14 @@ Functionce59a: ; ce59a (33:659a)
jr c, .asm_ce5b0
ld hl, $7
add hl, bc
rept 2
dec [hl]
dec [hl]
endr
ld hl, $8
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ret
.asm_ce5b0
call Functioncc9bd
@ -4446,8 +4463,9 @@ Functionce5b4: ; ce5b4 (33:65b4)
ld hl, $b
add hl, bc
ld a, [hl]
rept 2
inc [hl]
inc [hl]
endr
push af
push de
call Functionce734
@ -4474,10 +4492,9 @@ Functionce5dc: ; ce5dc (33:65dc)
ld a, [hl]
cp $d0
jr z, .asm_ce5ea
rept 4
dec [hl]
dec [hl]
dec [hl]
dec [hl]
endr
ret
.asm_ce5ea
call Functioncc9bd
@ -4510,10 +4527,9 @@ Functionce60a: ; ce60a (33:660a)
ld a, [hl]
cp $4
jr z, Functionce618
rept 4
inc [hl]
inc [hl]
inc [hl]
inc [hl]
endr
ret
Functionce618: ; ce618 (33:6618)
@ -4529,10 +4545,9 @@ Functionce622: ; ce622 (33:6622)
ld a, [hl]
cp $d8
ret z
rept 4
dec [hl]
dec [hl]
dec [hl]
dec [hl]
endr
ret
Functionce62f: ; ce62f (33:662f)
@ -4567,8 +4582,9 @@ Functionce648: ; ce648 (33:6648)
ld [hl], a
ld hl, $9
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ret
Functionce65c: ; ce65c (33:665c)
@ -4754,8 +4770,9 @@ Functionce749: ; ce749 (33:6749)
ld a, d
ld d, 0
ld hl, Unknown_ce77f
rept 2
add hl, de
add hl, de
endr
ld e, [hl]
inc hl
ld d, [hl]
@ -4864,8 +4881,9 @@ Functionce7d1: ; ce7d1
ld [hl], a
ld hl, $000d
add hl, bc
rept 2
dec [hl]
dec [hl]
endr
jr .asm_ce7d1
.asm_ce815
@ -4886,8 +4904,9 @@ Functionce823: ; ce823
ld e, [hl]
ld d, 0
ld hl, Unknown_ce85e
rept 2
add hl, de
add hl, de
endr
ld e, [hl]
inc hl
ld d, [hl]
@ -4904,8 +4923,9 @@ Functionce83c: ; ce83c
ld l, a
ld h, 0
ld de, Unknown_ceeae
rept 2
add hl, hl
add hl, hl
endr
add hl, de
ret
; ce846
@ -4915,8 +4935,9 @@ Functionce846: ; ce846 (33:6846)
push hl
ld l, a
ld h, 0
rept 2
add hl, hl
add hl, hl
endr
ld de, AnimObjGFX
add hl, de
ld c, [hl]

View File

@ -61,8 +61,9 @@ Functionc804a: ; c804a (32:404a)
ld e, [hl]
ld d, 0
ld hl, BattleBGEffects
rept 2
add hl, de
add hl, de
endr
ld a, [hli]
ld h, [hl]
ld l, a
@ -708,9 +709,9 @@ Functionc83fa: ; c83fa (32:43fa)
ld l, a
ld a, [BattleAnimTemps + 2]
ld h, a
rept 3
add hl, de
add hl, de
add hl, de
endr
ld a, [hl]
cp $ff
jr z, Functionc8434
@ -756,8 +757,9 @@ Functionc843b: ; c843b (32:443b)
ld e, [hl]
ld d, 0
ld hl, Unknown_c849c
rept 2
add hl, de
add hl, de
endr
ld a, [hli]
ld h, [hl]
ld l, a
@ -771,9 +773,9 @@ Functionc8458: ; c8458 (32:4458)
ld e, [hl]
ld d, 0
ld hl, Unknown_c84a8
rept 3
add hl, de
add hl, de
add hl, de
endr
ld a, [hli]
ld b, a
and $f
@ -793,8 +795,9 @@ Functionc8458: ; c8458 (32:4458)
ld e, [hl]
ld d, 0
ld hl, Unknown_c849c
rept 2
add hl, de
add hl, de
endr
ld a, [hli]
ld h, [hl]
ld l, a
@ -1012,8 +1015,9 @@ Functionc85ce: ; c85ce (32:45ce)
ld a, [hl]
cp $20
jr nc, .asm_c85fc
rept 2
inc [hl]
inc [hl]
endr
call Functionc8f9a
ret
.asm_c85fc
@ -1388,8 +1392,9 @@ Functionc87de: ; c87de (32:47de)
call Functionc901b
ld hl, $2
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ret
Functionc8801: ; c8801 (32:4801)
@ -1792,8 +1797,9 @@ Functionc8a14: ; c8a14 (32:4a14)
call Functionc901b
ld hl, $3
add hl, bc
rept 2
inc [hl]
inc [hl]
endr
ret
Functionc8a36: ; c8a36 (32:4a36)
@ -1877,8 +1883,9 @@ Functionc8a9a: ; c8a9a (32:4a9a)
ld h, $d2
.asm_c8aa5
ld [hl], e
rept 2
inc hl
inc hl
endr
dec a
jr nz, .asm_c8aa5
ret

File diff suppressed because it is too large Load Diff

View File

@ -50,8 +50,9 @@ DoMove: ; 3402c
ld c, a
ld b, 0
ld hl, MoveEffectsPointers
rept 2
add hl, bc
add hl, bc
endr
ld a, BANK(MoveEffectsPointers)
call GetFarHalfword
@ -100,8 +101,9 @@ DoMove: ; 3402c
ld c, a
ld b, 0
ld hl, BattleCommandPointers
rept 2
add hl, bc
add hl, bc
endr
pop bc
ld a, BANK(BattleCommandPointers)
@ -1062,8 +1064,9 @@ BattleCommand04: ; 34555
jp nz, EndMoveEffect
; SubStatus5
rept 2
inc de
inc de
endr
ld a, [de]
bit SUBSTATUS_TRANSFORMED, a
@ -1259,8 +1262,9 @@ BattleCommand05: ; 34631
jr nc, .ScopeLens
; +2 critical level
rept 2
inc c
inc c
endr
.ScopeLens
push bc
@ -1500,8 +1504,9 @@ BattleCommand07: ; 346d2
pop hl
.asm_347b3
rept 2
inc hl
inc hl
endr
jr .asm_34743
.end
@ -1746,11 +1751,9 @@ Function348de: ; 348de
jr c, .loop
; neutral
rept 5
inc c
inc c
inc c
inc c
inc c
endr
cp 10
jr z, .loop
@ -2239,8 +2242,9 @@ Function34b77: ; 34b77
ld b, [hl]
inc hl
ld c, [hl]
rept 2
inc hl
inc hl
endr
srl c
rl b
srl c
@ -3344,8 +3348,9 @@ EndMoveEffect: ; 352a3
ld a, [BattleScriptBufferLoc + 1]
ld h, a
ld a, $ff
rept 2
ld [hli], a
ld [hli], a
endr
ld [hl], a
ret
; 352b1
@ -3983,9 +3988,9 @@ Function355dd: ; 355dd
sla c
rl b
.asm_35604
rept 3
dec hl
dec hl
dec hl
endr
ld a, [hli]
ld l, [hl]
ld h, a
@ -4039,8 +4044,9 @@ BattleCommand62: ; 35612
xor a
ld hl, hDividend
rept 2
ld [hli], a
ld [hli], a
endr
ld [hl], a
; Level * 2
@ -4061,8 +4067,9 @@ BattleCommand62: ; 35612
pop bc
; + 2
rept 2
inc [hl]
inc [hl]
endr
; * bp
inc hl
@ -4523,9 +4530,9 @@ BattleCommand41: ; 35864
set SUBSTATUS_ENCORED, [hl]
call BattleRandom
and $3
rept 3
inc a
inc a
inc a
endr
ld [de], a
call Function36abf
jr nz, .asm_3591a
@ -4650,8 +4657,9 @@ BattleCommand42: ; 35926
ld [wd1ec], a
ld a, [hl]
ld [wd1ed], a
rept 2
dec de
dec de
endr
ld a, [de]
dec de
add b
@ -4664,12 +4672,12 @@ BattleCommand42: ; 35926
ld a, [CurDamage + 1]
rr a
ld [CurDamage + 1], a
rept 3
inc hl
inc hl
inc hl
inc de
inc de
endr
rept 3
inc de
endr
; fallthrough
; 359ac
@ -5142,8 +5150,9 @@ BattleCommand4a: ; 35c0f
call GetMoveName
call BattleRandom
and 3
rept 2
inc a
inc a
endr
ld b, a
ld a, [hl]
and $3f
@ -6854,8 +6863,9 @@ Function3661d: ; 3661d
dec c
ld b, 0
ld hl, Table0x364e6
rept 2
add hl, bc
add hl, bc
endr
xor a
ld [hMultiplicand], a
@ -7009,8 +7019,9 @@ BattleCommand22: ; 366e5
ld [wEnemyMoveStruct + MOVE_EFFECT], a
call BattleRandom
and 1
rept 2
inc a
inc a
endr
ld [bc], a
ld a, 1
ld [wc689], a
@ -7046,8 +7057,9 @@ BattleCommand3e: ; 3671a
set 7, [hl]
call BattleRandom
and $1
rept 2
inc a
inc a
endr
inc de
ld [de], a
.asm_3674c
@ -7885,9 +7897,9 @@ BattleCommand3b: ; 36c2d
ret nz
call BattleRandom
and 3
rept 3
inc a
inc a
inc a
endr
ld [hl], a
ld a, BATTLE_VARS_MOVE_ANIM
call GetBattleVar
@ -7899,8 +7911,9 @@ BattleCommand3b: ; 36c2d
ld a, [hli]
cp b
jr z, .asm_36c69
rept 2
inc hl
inc hl
endr
jr .asm_36c61
.asm_36c69
@ -7981,8 +7994,9 @@ BattleCommand27: ; 36cb2
ld [Buffer2], a
ld a, [hl]
ld [Buffer1], a
rept 2
dec hl
dec hl
endr
ld a, [hl]
ld [wd1ec], a
sub c
@ -8083,8 +8097,9 @@ Function36d70: ; 36d70
set SUBSTATUS_CONFUSED, [hl]
call BattleRandom
and 3
rept 2
inc a
inc a
endr
ld [bc], a
ld a, BATTLE_VARS_MOVE_EFFECT
@ -8263,8 +8278,9 @@ BattleCommand31: ; 36e7c
rr b
srl a
rr b
rept 2
dec hl
dec hl
endr
ld a, b
ld [de], a
ld a, [hld]
@ -8853,8 +8869,9 @@ BattleCommand2d: ; 371cd
ld a, [hli]
ld [de], a
inc hl
rept 2
inc de
inc de
endr
ld bc, NUM_MOVES
call CopyBytes
ld a, [hBattleTurn]
@ -9655,8 +9672,9 @@ BattleCommand66: ; 37991
ld a, [hli]
cp b
jr nc, .ok
rept 2
inc hl
inc hl
endr
jr .loop
.ok
ld d, [hl]
@ -9710,7 +9728,7 @@ BattleCommand67: ; 379c9
; Return to battle scene
call ClearPalettes
callba Function3ed9f
call Function1c17
call WriteBackup
call ClearSprites
hlcoord 1, 0
lb bc, 4, 10
@ -9779,7 +9797,7 @@ BatonPass_LinkPlayerSwitch: ; 37a67
call Function1d6e
ld hl, Function3e8e4
call CallBattleCore
call Function1c17
call WriteBackup
xor a
ld [wd0ec], a
@ -9810,7 +9828,7 @@ BatonPass_LinkEnemySwitch: ; 37a82
add NUM_MOVES
ld [wBattleAction], a
.asm_37aa8
jp Function1c17
jp WriteBackup
; 37aab
@ -10045,14 +10063,16 @@ BattleCommand6a6c: ; 37b7e
inc c
cp WEATHER_SUN
jr z, .Heal
rept 2
dec c
dec c
endr
.Heal
ld b, 0
ld hl, .Multipliers
rept 2
add hl, bc
add hl, bc
endr
ld a, [hli]
ld h, [hl]

View File

@ -45,8 +45,9 @@ HiddenPowerDamage: ; fbced
; Multiply by 5
ld b, a
rept 2
add a
add a
endr
add b
; Add Special & 3
@ -74,8 +75,9 @@ HiddenPowerDamage: ; fbced
ld a, [hl]
and 3 << 4
swap a
rept 2
add a
add a
endr
or b
; Skip Normal

View File

@ -141,8 +141,9 @@ CalcMagikarpLength: ; fbbfc
; hl = de * 10
ld h, d
ld l, e
rept 2
add hl, hl
add hl, hl
endr
add hl, de
add hl, hl

View File

@ -5,7 +5,6 @@ INCLUDE "gbhw.asm"
INCLUDE "hram.asm"
INCLUDE "constants/wram_constants.asm"
INCLUDE "constants/pokemon_constants.asm"
INCLUDE "constants/type_constants.asm"
INCLUDE "constants/move_constants.asm"
@ -20,7 +19,9 @@ INCLUDE "constants/engine_flags.asm"
INCLUDE "constants/music_constants.asm"
INCLUDE "constants/sfx_constants.asm"
INCLUDE "constants/animation_constants.asm"
INCLUDE "constants/phone_constants.asm"
INCLUDE "constants/gfx_constants.asm"
INCLUDE "constants/pokemon_data_constants.asm"
INCLUDE "constants/misc_constants.asm"
INCLUDE "constants/std_constants.asm"
INCLUDE "constants/deco_constants.asm"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,105 @@
const_value = 1
const DECO_PLANT
const DECO_BED
const DECO_CARPET
const DECO_POSTER
const DECO_DOLL
const DECO_BIGDOLL
const_value = 1
const PUT_IT_AWAY
const MAGNAPLANT
const TROPICPLANT
const JUMBOPLANT
const TOWN_MAP_D
const FAMICOM
const SUPER_NES
const NINTENDO_64
const VIRTUAL_BOY
const GOLD_TROPHY
const SILVER_TROPHY
const SURF_PIKA_DOLL
const _BED
const _CARPET
const _POSTER
const _DOLL
const BIG_
const FEATHERY_BED
const PIKACHU_BED
const PINK_BED
const POLKADOT_BED
const RED_CARPET
const BLUE_CARPET
const YELLOW_CARPET
const GREEN_CARPET
const_value = 1
const SET_UP_BED
const PUT_AWAY_BED
const SET_UP_CARPET
const PUT_AWAY_CARPET
const SET_UP_PLANT
const PUT_AWAY_PLANT
const SET_UP_POSTER
const PUT_AWAY_POSTER
const SET_UP_CONSOLE
const PUT_AWAY_CONSOLE
const SET_UP_BIG_DOLL
const PUT_AWAY_BIG_DOLL
const SET_UP_DOLL
const PUT_AWAY_DOLL
const SET_UP_ORNAMENT
const PUT_AWAY_ORNAMENT
const_value = 2
const DECO_FEATHERY_BED ; 2
const DECO_PINK_BED ; 3
const DECO_POLKADOT_BED ; 4
const DECO_PIKACHU_BED ; 5
const_value = const_value + 1
const DECO_RED_CARPET ; 7
const DECO_BLUE_CARPET ; 8
const DECO_YELLOW_CARPET ; 9
const DECO_GREEN_CARPET ; a
const_value = const_value + 1
const DECO_MAGNAPLANT ; c
const DECO_TROPICPLANT ; d
const DECO_JUMBOPLANT ; e
const_value = const_value + 1
const DECO_TOWN_MAP ; 10
const DECO_PIKACHU_POSTER ; 11
const DECO_CLEFAIRY_POSTER ; 12
const DECO_JIGGLYPUFF_POSTER ; 13
const_value = const_value + 1
const DECO_FAMICOM ; 15
const DECO_SNES ; 16
const DECO_N64 ; 17
const DECO_VIRTUAL_BOY ; 18
const_value = const_value + 1
const DECO_BIG_SNORLAX_DOLL ; 1a
const DECO_BIG_ONIX_DOLL ; 1b
const DECO_BIG_LAPRAS_DOLL ; 1c
const_value = const_value + 1
const DECO_PIKACHU_DOLL ; 1e
const DECO_SURF_PIKACHU_DOLL ; 1f
const DECO_CLEFAIRY_DOLL ; 20
const DECO_JIGGLYPUFF_DOLL ; 21
const DECO_BULBASAUR_DOLL ; 22
const DECO_CHARMANDER_DOLL ; 23
const DECO_SQUIRTLE_DOLL ; 24
const DECO_POLIWAG_DOLL ; 25
const DECO_DIGLETT_DOLL ; 26
const DECO_STARMIE_DOLL ; 27
const DECO_MAGIKARP_DOLL ; 28
const DECO_ODDISH_DOLL ; 29
const DECO_GENGAR_DOLL ; 2a
const DECO_SHELLDER_DOLL ; 2b
const DECO_GRIMER_DOLL ; 2c
const DECO_VOLTORB_DOLL ; 2d
const DECO_WEEDLE_DOLL ; 2e
const DECO_UNOWN_DOLL ; 2f
const DECO_GEODUDE_DOLL ; 30
const DECO_MACHOP_DOLL ; 31
const DECO_TENTACOOL_DOLL ; 32
const DECO_GOLD_TROPHY_DOLL ; 33
const DECO_SILVER_TROPHY_DOLL ; 34

View File

@ -1,162 +1,164 @@
ENGINE_RADIO_CARD EQU $00
ENGINE_MAP_CARD EQU $01
ENGINE_PHONE_CARD EQU $02
ENGINE_EXPN_CARD EQU $03
ENGINE_POKEGEAR EQU $04
ENGINE_DAYCARE_MONS_ARE_COMPATIBLE EQU $05
ENGINE_DAYCARE_MAN_HAS_MON EQU $06
ENGINE_DAYCARE_LADY_HAS_MON EQU $07
ENGINE_MOM_SAVING_MONEY EQU $08
ENGINE_DST EQU $09
ENGINE_0A EQU $0a
ENGINE_POKEDEX EQU $0b
ENGINE_UNOWN_DEX EQU $0c
ENGINE_POKERUS EQU $0d
ENGINE_ROCKET_SIGNAL_ON_CH20 EQU $0e
ENGINE_CREDITS_SKIP EQU $0f
ENGINE_BUG_CONTEST_ON EQU $10
ENGINE_BUG_CONTEST_TIMER EQU $11
ENGINE_ROCKETS_IN_RADIO_TOWER EQU $12
ENGINE_BIKE_SHOP_CALL_ENABLED EQU $13
ENGINE_14 EQU $14
ENGINE_GIVE_POKERUS EQU $15
ENGINE_16 EQU $16
ENGINE_ROCKETS_IN_MAHOGANY EQU $17
ENGINE_STRENGTH_ACTIVE EQU $18
ENGINE_ALWAYS_ON_BIKE EQU $19
ENGINE_DOWNHILL EQU $1a
ENGINE_ZEPHYRBADGE EQU $1b
ENGINE_HIVEBADGE EQU $1c
ENGINE_PLAINBADGE EQU $1d
ENGINE_FOGBADGE EQU $1e
ENGINE_MINERALBADGE EQU $1f
ENGINE_STORMBADGE EQU $20
ENGINE_GLACIERBADGE EQU $21
ENGINE_RISINGBADGE EQU $22
ENGINE_BOULDERBADGE EQU $23
ENGINE_CASCADEBADGE EQU $24
ENGINE_THUNDERBADGE EQU $25
ENGINE_RAINBOWBADGE EQU $26
ENGINE_SOULBADGE EQU $27
ENGINE_MARSHBADGE EQU $28
ENGINE_VOLCANOBADGE EQU $29
ENGINE_EARTHBADGE EQU $2a
ENGINE_UNLOCKED_UNOWNS_1 EQU $2b
ENGINE_UNLOCKED_UNOWNS_2 EQU $2c
ENGINE_UNLOCKED_UNOWNS_3 EQU $2d
ENGINE_UNLOCKED_UNOWNS_4 EQU $2e
ENGINE_UNLOCKED_UNOWNS_5 EQU $2f
ENGINE_UNLOCKED_UNOWNS_6 EQU $30
ENGINE_UNLOCKED_UNOWNS_7 EQU $31
ENGINE_UNLOCKED_UNOWNS_8 EQU $32
ENGINE_FLYPOINT_KRISS_HOUSE EQU $33
ENGINE_FLYPOINT_VIRIDIAN_POKECENTER EQU $34
ENGINE_FLYPOINT_PALLET EQU $35
ENGINE_FLYPOINT_VIRIDIAN EQU $36
ENGINE_FLYPOINT_PEWTER EQU $37
ENGINE_FLYPOINT_CERULEAN EQU $38
ENGINE_FLYPOINT_ROCK_TUNNEL EQU $39
ENGINE_FLYPOINT_VERMILION EQU $3a
ENGINE_FLYPOINT_LAVENDER EQU $3b
ENGINE_FLYPOINT_SAFFRON EQU $3c
ENGINE_FLYPOINT_CELADON EQU $3d
ENGINE_FLYPOINT_FUCHSIA EQU $3e
ENGINE_FLYPOINT_CINNABAR EQU $3f
ENGINE_FLYPOINT_INDIGO_PLATEAU EQU $40
ENGINE_FLYPOINT_NEW_BARK EQU $41
ENGINE_FLYPOINT_CHERRYGROVE EQU $42
ENGINE_FLYPOINT_VIOLET EQU $43
ENGINE_FLYPOINT_AZALEA EQU $44
ENGINE_FLYPOINT_CIANWOOD EQU $45
ENGINE_FLYPOINT_GOLDENROD EQU $46
ENGINE_FLYPOINT_OLIVINE EQU $47
ENGINE_FLYPOINT_ECRUTEAK EQU $48
ENGINE_FLYPOINT_MAHOGANY EQU $49
ENGINE_FLYPOINT_LAKE_OF_RAGE EQU $4a
ENGINE_FLYPOINT_BLACKTHORN EQU $4b
ENGINE_FLYPOINT_SILVER_CAVE EQU $4c
ENGINE_FLYPOINT_UNUSED EQU $4d
ENGINE_LUCKY_NUMBER_SHOW EQU $4e
ENGINE_4F EQU $4f
ENGINE_KURT_MAKING_BALLS EQU $50
ENGINE_51 EQU $51
ENGINE_SPECIAL_WILDDATA EQU $52
ENGINE_TIME_CAPSULE EQU $53
ENGINE_ALL_FRUIT_TREES EQU $54
ENGINE_SHUCKLE_GIVEN EQU $55
ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED EQU $56
ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY EQU $57
ENGINE_MT_MOON_SQUARE_CLEFAIRY EQU $58
ENGINE_UNION_CAVE_LAPRAS EQU $59
ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT EQU $5a
ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT EQU $5b
ENGINE_TEA_IN_BLUES_HOUSE EQU $5c
ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT EQU $5d
ENGINE_5E EQU $5e
ENGINE_5F EQU $5f
ENGINE_60 EQU $60
ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON EQU $61
ENGINE_62 EQU $62
ENGINE_PLAYER_IS_FEMALE EQU $63
ENGINE_HAVE_EXAMINED_GS_BALL EQU $64
ENGINE_JACK EQU $65
ENGINE_HUEY EQU $66
ENGINE_GAVEN EQU $67
ENGINE_BETH EQU $68
ENGINE_JOSE EQU $69
ENGINE_REENA EQU $6a
ENGINE_JOEY EQU $6b
ENGINE_WADE EQU $6c
ENGINE_RALPH EQU $6d
ENGINE_LIZ EQU $6e
ENGINE_ANTHONY EQU $6f
ENGINE_TODD EQU $70
ENGINE_GINA EQU $71
ENGINE_ARNIE EQU $72
ENGINE_ALAN EQU $73
ENGINE_DANA EQU $74
ENGINE_CHAD EQU $75
ENGINE_TULLY EQU $76
ENGINE_BRENT EQU $77
ENGINE_TIFFANY EQU $78
ENGINE_VANCE EQU $79
ENGINE_WILTON EQU $7a
ENGINE_PARRY EQU $7b
ENGINE_ERIN EQU $7c
ENGINE_BEVERLY_HAS_NUGGET EQU $7d
ENGINE_JOSE_HAS_STAR_PIECE EQU $7e
ENGINE_WADE_HAS_ITEM EQU $7f
ENGINE_GINA_HAS_LEAF_STONE EQU $80
ENGINE_ALAN_HAS_FIRE_STONE EQU $81
ENGINE_LIZ_HAS_THUNDERSTONE EQU $82
ENGINE_DEREK_HAS_NUGGET EQU $83
ENGINE_TULLY_HAS_WATER_STONE EQU $84
ENGINE_TIFFANY_HAS_PINK_BOW EQU $85
ENGINE_WILTON_HAS_ITEM EQU $86
ENGINE_87 EQU $87
ENGINE_88 EQU $88
ENGINE_89 EQU $89
ENGINE_8A EQU $8a
ENGINE_8B EQU $8b
ENGINE_8C EQU $8c
ENGINE_8D EQU $8d
ENGINE_8E EQU $8e
ENGINE_8F EQU $8f
ENGINE_90 EQU $90
ENGINE_91 EQU $91
ENGINE_92 EQU $92
ENGINE_93 EQU $93
ENGINE_94 EQU $94
ENGINE_95 EQU $95
ENGINE_96 EQU $96
ENGINE_97 EQU $97
ENGINE_98 EQU $98
ENGINE_99 EQU $99
ENGINE_9A EQU $9a
ENGINE_9B EQU $9b
ENGINE_9C EQU $9c
ENGINE_9D EQU $9d
ENGINE_9E EQU $9e
ENGINE_KRIS_IN_CABLE_CLUB EQU $9f
ENGINE_DUNSPARCE_SWARM EQU $a0
ENGINE_YANMA_SWARM EQU $a1
const_def
const ENGINE_RADIO_CARD
const ENGINE_MAP_CARD
const ENGINE_PHONE_CARD
const ENGINE_EXPN_CARD
const ENGINE_POKEGEAR
const ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
const ENGINE_DAYCARE_MAN_HAS_MON
const ENGINE_DAYCARE_LADY_HAS_MON
const ENGINE_MOM_SAVING_MONEY
const ENGINE_DST
const ENGINE_0A
const ENGINE_POKEDEX
const ENGINE_UNOWN_DEX
const ENGINE_POKERUS
const ENGINE_ROCKET_SIGNAL_ON_CH20
const ENGINE_CREDITS_SKIP
const ENGINE_BUG_CONTEST_ON ; 10
const ENGINE_BUG_CONTEST_TIMER
const ENGINE_12
const ENGINE_ROCKETS_IN_RADIO_TOWER
const ENGINE_BIKE_SHOP_CALL_ENABLED
const ENGINE_GIVE_POKERUS
const ENGINE_FLORIA
const ENGINE_ROCKETS_IN_MAHOGANY
const ENGINE_STRENGTH_ACTIVE
const ENGINE_ALWAYS_ON_BIKE
const ENGINE_DOWNHILL
const ENGINE_ZEPHYRBADGE
const ENGINE_HIVEBADGE
const ENGINE_PLAINBADGE
const ENGINE_FOGBADGE
const ENGINE_MINERALBADGE
const ENGINE_STORMBADGE ; 20
const ENGINE_GLACIERBADGE
const ENGINE_RISINGBADGE
const ENGINE_BOULDERBADGE
const ENGINE_CASCADEBADGE
const ENGINE_THUNDERBADGE
const ENGINE_RAINBOWBADGE
const ENGINE_SOULBADGE
const ENGINE_MARSHBADGE
const ENGINE_VOLCANOBADGE
const ENGINE_EARTHBADGE
const ENGINE_UNLOCKED_UNOWNS_1
const ENGINE_UNLOCKED_UNOWNS_2
const ENGINE_UNLOCKED_UNOWNS_3
const ENGINE_UNLOCKED_UNOWNS_4
const ENGINE_UNLOCKED_UNOWNS_5
const ENGINE_UNLOCKED_UNOWNS_6 ; 30
const ENGINE_UNLOCKED_UNOWNS_7
const ENGINE_UNLOCKED_UNOWNS_8
const ENGINE_FLYPOINT_KRISS_HOUSE
const ENGINE_FLYPOINT_VIRIDIAN_POKECENTER
const ENGINE_FLYPOINT_PALLET
const ENGINE_FLYPOINT_VIRIDIAN
const ENGINE_FLYPOINT_PEWTER
const ENGINE_FLYPOINT_CERULEAN
const ENGINE_FLYPOINT_ROCK_TUNNEL
const ENGINE_FLYPOINT_VERMILION
const ENGINE_FLYPOINT_LAVENDER
const ENGINE_FLYPOINT_SAFFRON
const ENGINE_FLYPOINT_CELADON
const ENGINE_FLYPOINT_FUCHSIA
const ENGINE_FLYPOINT_CINNABAR
const ENGINE_FLYPOINT_INDIGO_PLATEAU ; 40
const ENGINE_FLYPOINT_NEW_BARK
const ENGINE_FLYPOINT_CHERRYGROVE
const ENGINE_FLYPOINT_VIOLET
const ENGINE_FLYPOINT_AZALEA
const ENGINE_FLYPOINT_CIANWOOD
const ENGINE_FLYPOINT_GOLDENROD
const ENGINE_FLYPOINT_OLIVINE
const ENGINE_FLYPOINT_ECRUTEAK
const ENGINE_FLYPOINT_MAHOGANY
const ENGINE_FLYPOINT_LAKE_OF_RAGE
const ENGINE_FLYPOINT_BLACKTHORN
const ENGINE_FLYPOINT_SILVER_CAVE
const ENGINE_FLYPOINT_UNUSED
const ENGINE_LUCKY_NUMBER_SHOW
const ENGINE_4F
const ENGINE_KURT_MAKING_BALLS ; 50
const ENGINE_DAILY_BUG_CONTEST
const ENGINE_SPECIAL_WILDDATA
const ENGINE_TIME_CAPSULE
const ENGINE_ALL_FRUIT_TREES
const ENGINE_SHUCKLE_GIVEN
const ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
const ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
const ENGINE_MT_MOON_SQUARE_CLEFAIRY
const ENGINE_UNION_CAVE_LAPRAS
const ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
const ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
const ENGINE_TEA_IN_BLUES_HOUSE
const ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
const ENGINE_DAILY_MOVE_TUTOR
const ENGINE_BUENAS_PASSWORD
const ENGINE_BUENAS_PASSWORD_2 ; 60
const ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
const ENGINE_62
const ENGINE_PLAYER_IS_FEMALE
const ENGINE_HAVE_EXAMINED_GS_BALL
const ENGINE_JACK
const ENGINE_HUEY
const ENGINE_GAVEN
const ENGINE_BETH
const ENGINE_JOSE
const ENGINE_REENA
const ENGINE_JOEY
const ENGINE_WADE
const ENGINE_RALPH
const ENGINE_LIZ
const ENGINE_ANTHONY
const ENGINE_TODD ; 70
const ENGINE_GINA
const ENGINE_ARNIE
const ENGINE_ALAN
const ENGINE_DANA
const ENGINE_CHAD
const ENGINE_TULLY
const ENGINE_BRENT
const ENGINE_TIFFANY
const ENGINE_VANCE
const ENGINE_WILTON
const ENGINE_PARRY
const ENGINE_ERIN
const ENGINE_BEVERLY_HAS_NUGGET
const ENGINE_JOSE_HAS_STAR_PIECE
const ENGINE_WADE_HAS_ITEM
const ENGINE_GINA_HAS_LEAF_STONE ; 80
const ENGINE_ALAN_HAS_FIRE_STONE
const ENGINE_DANA_HAS_THUNDERSTONE
const ENGINE_DEREK_HAS_NUGGET
const ENGINE_TULLY_HAS_WATER_STONE
const ENGINE_TIFFANY_HAS_PINK_BOW
const ENGINE_WILTON_HAS_ITEM
const ENGINE_JACK_MONDAY_MORNING
const ENGINE_HUEY_WEDNESDAY_NIGHT
const ENGINE_GAVEN_THURSDAY_MORNING
const ENGINE_BETH_FRIDAY_AFTERNOON
const ENGINE_JOSE_SATURDAY_NIGHT
const ENGINE_REENA_SUNDAY_MORNING
const ENGINE_JOEY_MONDAY_AFTERNOON
const ENGINE_WADE_TUESDAY_NIGHT
const ENGINE_RALPH_WEDNESDAY_MORNING
const ENGINE_LIZ_THURSDAY_AFTERNOON ; 90
const ENGINE_ANTHONY_FRIDAY_NIGHT
const ENGINE_TODD_SATURDAY_MORNING
const ENGINE_GINA_SUNDAY_AFTERNOON
const ENGINE_ARNIE_TUESDAY_MORNING
const ENGINE_ALAN_WEDNESDAY_AFTERNOON
const ENGINE_DANA_THURSDAY_NIGHT
const ENGINE_CHAD_FRIDAY_MORNING
const ENGINE_TULLY_SUNDAY_NIGHT
const ENGINE_BRENT_MONDAY_MORNING
const ENGINE_TIFFANY_TUESDAY_AFTERNOON
const ENGINE_VANCE_WEDNESDAY_NIGHT
const ENGINE_WILTON_THRUSDAY_MORNING
const ENGINE_PARRY_FRIDAY_AFTERNOON
const ENGINE_ERIN_SATURDAY_NIGHT
const ENGINE_KRIS_IN_CABLE_CLUB
const ENGINE_DUNSPARCE_SWARM ; a0
const ENGINE_YANMA_SWARM

File diff suppressed because it is too large Load Diff

View File

@ -1,39 +1,40 @@
ANIM_GFX_HIT EQU 1
ANIM_GFX_CUT EQU 2
ANIM_GFX_FIRE EQU 3
ANIM_GFX_WATER EQU 4
ANIM_GFX_LIGHTNING EQU 5
ANIM_GFX_PLANT EQU 6
ANIM_GFX_SMOKE EQU 7
ANIM_GFX_EXPLOSION EQU 8
ANIM_GFX_ROCKS EQU 9
ANIM_GFX_ICE EQU 10
ANIM_GFX_POKE_BALL EQU 11
ANIM_GFX_POISON EQU 12
ANIM_GFX_BUBBLE EQU 13
ANIM_GFX_NOISE EQU 14
ANIM_GFX_POWDER EQU 15
ANIM_GFX_BEAM EQU 16
ANIM_GFX_SPEED EQU 17
ANIM_GFX_CHARGE EQU 18
ANIM_GFX_WIND EQU 19
ANIM_GFX_WHIP EQU 20
ANIM_GFX_EGG EQU 21
ANIM_GFX_ROPE EQU 22
ANIM_GFX_PSYCHIC EQU 23
ANIM_GFX_REFLECT EQU 24
ANIM_GFX_STATUS EQU 25
ANIM_GFX_SAND EQU 26
ANIM_GFX_WEB EQU 27
ANIM_GFX_HAZE EQU 28
ANIM_GFX_HORN EQU 29
ANIM_GFX_FLOWER EQU 30
ANIM_GFX_MISC EQU 31
ANIM_GFX_SKY_ATTACK EQU 32
ANIM_GFX_GLOBE EQU 33
ANIM_GFX_SHAPES EQU 34
ANIM_GFX_OBJECTS EQU 35
ANIM_GFX_SHINE EQU 36
ANIM_GFX_ANGELS EQU 37
ANIM_GFX_WAVE EQU 38
ANIM_GFX_AEROBLAST EQU 39
const_value SET 1
const ANIM_GFX_HIT
const ANIM_GFX_CUT
const ANIM_GFX_FIRE
const ANIM_GFX_WATER
const ANIM_GFX_LIGHTNING
const ANIM_GFX_PLANT
const ANIM_GFX_SMOKE
const ANIM_GFX_EXPLOSION
const ANIM_GFX_ROCKS
const ANIM_GFX_ICE
const ANIM_GFX_POKE_BALL
const ANIM_GFX_POISON
const ANIM_GFX_BUBBLE
const ANIM_GFX_NOISE
const ANIM_GFX_POWDER
const ANIM_GFX_BEAM
const ANIM_GFX_SPEED
const ANIM_GFX_CHARGE
const ANIM_GFX_WIND
const ANIM_GFX_WHIP
const ANIM_GFX_EGG
const ANIM_GFX_ROPE
const ANIM_GFX_PSYCHIC
const ANIM_GFX_REFLECT
const ANIM_GFX_STATUS
const ANIM_GFX_SAND
const ANIM_GFX_WEB
const ANIM_GFX_HAZE
const ANIM_GFX_HORN
const ANIM_GFX_FLOWER
const ANIM_GFX_MISC
const ANIM_GFX_SKY_ATTACK
const ANIM_GFX_GLOBE
const ANIM_GFX_SHAPES
const ANIM_GFX_OBJECTS
const ANIM_GFX_SHINE
const ANIM_GFX_ANGELS
const ANIM_GFX_WAVE
const ANIM_GFX_AEROBLAST

View File

@ -190,70 +190,75 @@
const MUSIC_MAIL ; $BC
const MIRAGE_MAIL ; $BD
const ITEM_BE ; $BE
const TM_01 ; $BF
const TM_02 ; $C0
const TM_03 ; $C1
const TM_04 ; $C2
const ITEM_C3 ; $C3
const TM_05 ; $C4
const TM_06 ; $C5
const TM_07 ; $C6
const TM_08 ; $C7
const TM_09 ; $C8
const TM_10 ; $C9
const TM_11 ; $CA
const TM_12 ; $CB
const TM_13 ; $CC
const TM_14 ; $CD
const TM_15 ; $CE
const TM_16 ; $CF
const TM_17 ; $D0
const TM_18 ; $D1
const TM_19 ; $D2
const TM_20 ; $D3
const TM_21 ; $D4
const TM_22 ; $D5
const TM_23 ; $D6
const TM_24 ; $D7
const TM_25 ; $D8
const TM_26 ; $D9
const TM_27 ; $DA
const TM_28 ; $DB
const ITEM_DC ; $DC
const TM_29 ; $DD
const TM_30 ; $DE
const TM_31 ; $DF
const TM_32 ; $E0
const TM_33 ; $E1
const TM_34 ; $E2
const TM_35 ; $E3
const TM_36 ; $E4
const TM_37 ; $E5
const TM_38 ; $E6
const TM_39 ; $E7
const TM_40 ; $E8
const TM_41 ; $E9
const TM_42 ; $EA
const TM_43 ; $EB
const TM_44 ; $EC
const TM_45 ; $ED
const TM_46 ; $EE
const TM_47 ; $EF
const TM_48 ; $F0
const TM_49 ; $F1
const TM_50 ; $F2
const HM_01 ; $F3
const HM_02 ; $F4
const HM_03 ; $F5
const HM_04 ; $F6
const HM_05 ; $F7
const HM_06 ; $F8
const HM_07 ; $F9
const HM_08 ; $FA
add_tm DYNAMICPUNCH
add_tm HEADBUTT
add_tm CURSE
add_tm ROLLOUT
const ITEM_C3
add_tm ROAR
add_tm TOXIC
add_tm ZAP_CANNON
add_tm ROCK_SMASH
add_tm PSYCH_UP
add_tm HIDDEN_POWER
add_tm SUNNY_DAY
add_tm SWEET_SCENT
add_tm SNORE
add_tm BLIZZARD
add_tm HYPER_BEAM
add_tm ICY_WIND
add_tm PROTECT
add_tm RAIN_DANCE
add_tm GIGA_DRAIN
add_tm ENDURE
add_tm FRUSTRATION
add_tm SOLARBEAM
add_tm IRON_TAIL
add_tm DRAGONBREATH
add_tm THUNDER
add_tm EARTHQUAKE
add_tm RETURN
add_tm DIG
const ITEM_DC
add_tm PSYCHIC
add_tm SHADOW_BALL
add_tm MUD_SLAP
add_tm DOUBLE_TEAM
add_tm ICE_PUNCH
add_tm SWAGGER
add_tm SLEEP_TALK
add_tm SLUDGE_BOMB
add_tm SANDSTORM
add_tm FIRE_BLAST
add_tm SWIFT
add_tm DEFENSE_CURL
add_tm THUNDERPUNCH
add_tm DREAM_EATER
add_tm DETECT
add_tm REST
add_tm ATTRACT
add_tm THIEF
add_tm STEEL_WING
add_tm FIRE_PUNCH
add_tm FURY_CUTTER
add_tm NIGHTMARE
NUM_TMS = const_value - TM01 - 2
add_hm CUT
add_hm FLY
add_hm SURF
add_hm STRENGTH
add_hm FLASH
add_hm WHIRLPOOL
add_hm WATERFALL
NUM_HMS = const_value - HM01
const HM_08
add_mt FLAMETHROWER
add_mt THUNDERBOLT
add_mt ICE_BEAM
NUM_TMS EQU 50
NUM_HMS EQU 7
; leftovers from red
@ -261,6 +266,7 @@ SAFARI_BALL EQU 8 ; MOON_STONE
MOON_STONE_RED EQU 10 ; BURN_HEAL
FULL_HEAL_RED EQU 52 ; X_SPEED
MAIL_MAX_LENGTH EQU $20
; pockets
ITEM EQU 1
@ -286,7 +292,7 @@ CANT_TOSS EQU 1 << 7
const HELD_7
const HELD_CLEANSE_TAG
const_value = 10
const_value SET 10
const HELD_HEAL_POISON
const HELD_HEAL_FREEZE
const HELD_HEAL_BURN
@ -295,7 +301,7 @@ const_value = 10
const HELD_HEAL_STATUS
const HELD_HEAL_CONFUSION
const_value = 20
const_value SET 20
const HELD_PREVENT_POISON
const HELD_PREVENT_BURN
const HELD_PREVENT_FREEZE
@ -303,7 +309,7 @@ const_value = 20
const HELD_PREVENT_PARALYZE
const HELD_PREVENT_CONFUSE
const_value = 30
const_value SET 30
const HELD_30
const HELD_ATTACK_UP
const HELD_DEFENSE_UP
@ -313,12 +319,12 @@ const_value = 30
const HELD_ACCURACY_UP
const HELD_EVASION_UP
const_value = 40
const_value SET 40
const HELD_40
const HELD_41
const HELD_METAL_POWDER
const_value = 50
const_value SET 50
const HELD_NORMAL_BOOST
const HELD_FIGHTING_BOOST
const HELD_FLYING_BOOST
@ -337,7 +343,7 @@ const_value = 50
const HELD_DARK_BOOST
const HELD_STEEL_BOOST
const_value = 70
const_value SET 70
const HELD_CATCH_CHANCE
const HELD_71
const HELD_ESCAPE
@ -348,3 +354,13 @@ const_value = 70
const HELD_BRIGHTPOWDER
const HELD_4E
const HELD_FOCUS_BAND
const_def
const ITEMATTR_PRICE
const ITEMATTR_PRICE_HI
const ITEMATTR_EFFECT
const ITEMATTR_PARAM
const ITEMATTR_PERMISSIONS
const ITEMATTR_POCKET
const ITEMATTR_HELP
NUM_ITEMATTRS EQU const_value

Some files were not shown because too many files have changed in this diff Show More