mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Merge pull request #324 from PikalaxALT/master
Movement and map objects
This commit is contained in:
commit
1c1fe276ca
@ -370,7 +370,7 @@ Cry_2C_branch_f3022: ; f3022
|
||||
unknownmusic0xde $52
|
||||
sound $4, $f1, $0796
|
||||
sound $4, $f1, $072d
|
||||
sound $7, $0, $0000
|
||||
sound $7, $0, 0
|
||||
sound $10, $f1, $07a7
|
||||
endchannel
|
||||
; f3035
|
||||
@ -381,7 +381,7 @@ Cry_2C_Ch6: ; f3038
|
||||
Cry_2C_branch_f3038: ; f3038
|
||||
callchannel Cry_2C_branch_f3022
|
||||
loopchannel 2, Cry_2C_branch_f3038
|
||||
sound $e, $0, $0000
|
||||
sound $e, $0, 0
|
||||
sound $8, $f2, $07c2
|
||||
endchannel
|
||||
; f3048
|
||||
@ -398,7 +398,7 @@ Cry_27_Ch5: ; f3048
|
||||
Cry_27_Ch6: ; f305b
|
||||
unknownmusic0xde $2a
|
||||
sound $3, $2c, $07c7
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
sound $5, $59, $07be
|
||||
sound $6, $b4, $07bd
|
||||
endchannel
|
||||
@ -621,7 +621,7 @@ Cry_36_Ch6: ; f3200
|
||||
Cry_36_branch_f3202: ; f3202
|
||||
sound $3, $f8, $0791
|
||||
sound $3, $d8, $078d
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $1, $78, $06c1
|
||||
sound $1, $f8, $0741
|
||||
sound $4, $e1, $0751
|
||||
@ -646,7 +646,7 @@ Cry_43_Ch5: ; f322e
|
||||
sound $8, $ab, $0734
|
||||
sound $4, $d6, $0716
|
||||
sound $8, $d1, $0712
|
||||
sound $8, $0, $0000
|
||||
sound $8, $0, 0
|
||||
endchannel
|
||||
; f3249
|
||||
|
||||
@ -658,7 +658,7 @@ Cry_43_Ch6: ; f3249
|
||||
sound $8, $cb, $0754
|
||||
sound $4, $f6, $0736
|
||||
sound $8, $f1, $0732
|
||||
sound $8, $0, $0000
|
||||
sound $8, $0, 0
|
||||
endchannel
|
||||
; f3264
|
||||
|
||||
@ -1213,7 +1213,7 @@ Cry_09_Ch5: ; f361f
|
||||
|
||||
Cry_09_Ch6: ; f363c
|
||||
unknownmusic0xde $5
|
||||
sound $2, $8, $0000
|
||||
sound $2, $8, 0
|
||||
sound $f, $a7, $06a1
|
||||
sound $6, $86, $06a2
|
||||
sound $a, $74, $06a1
|
||||
@ -1312,7 +1312,7 @@ Cry_11_Ch5: ; f3703
|
||||
|
||||
Cry_11_Ch6: ; f3722
|
||||
unknownmusic0xde $a
|
||||
sound $4, $8, $0000
|
||||
sound $4, $8, 0
|
||||
sound $6, $a7, $0741
|
||||
sound $8, $86, $0743
|
||||
sound $4, $76, $0741
|
||||
@ -1587,7 +1587,7 @@ Cry_0B_Ch5: ; f394b
|
||||
|
||||
Cry_0B_Ch6: ; f3976
|
||||
unknownmusic0xde $44
|
||||
sound $c, $8, $0000
|
||||
sound $c, $8, 0
|
||||
sound $4, $f1, $0701
|
||||
sound $4, $e1, $0782
|
||||
sound $4, $d1, $0741
|
||||
@ -1670,7 +1670,7 @@ Cry_0D_branch_f3a1a: ; f3a1a
|
||||
|
||||
Cry_0D_Ch6: ; f3a39
|
||||
unknownmusic0xde $40
|
||||
sound $4, $8, $0000
|
||||
sound $4, $8, 0
|
||||
sound $5, $f2, $0651
|
||||
sound $9, $d1, $0661
|
||||
sound $5, $e2, $0614
|
||||
@ -1738,7 +1738,7 @@ Cry_0A_Ch5: ; f3aba
|
||||
|
||||
Cry_0A_Ch6: ; f3ad9
|
||||
unknownmusic0xde $5
|
||||
sound $3, $8, $0000
|
||||
sound $3, $8, 0
|
||||
sound $8, $a7, $06a1
|
||||
sound $6, $86, $06a3
|
||||
sound $3, $74, $06a1
|
||||
|
@ -2773,7 +2773,7 @@ LoadMusicByte:: ; e8d76
|
||||
; e8d80
|
||||
|
||||
FrequencyTable: ; e8d80
|
||||
dw $0000 ; filler
|
||||
dw 0 ; filler
|
||||
dw $f82c
|
||||
dw $f89d
|
||||
dw $f907
|
||||
|
@ -242,7 +242,7 @@ Music_BattleTowerTheme_branch_178970: ; 178970
|
||||
note __, 1
|
||||
note F_, 4
|
||||
note __, 4
|
||||
tone $0000
|
||||
tone 0
|
||||
intensity $b7
|
||||
note G_, 2
|
||||
octave 4
|
||||
|
@ -14,7 +14,7 @@ Music_LookKimonoGirl_Ch1: ; f79c2
|
||||
notetype $6, $87
|
||||
tone $0001
|
||||
callchannel Music_LookKimonoGirl_branch_f7aa8
|
||||
tone $0000
|
||||
tone 0
|
||||
Music_LookKimonoGirl_branch_f79d7: ; f79d7
|
||||
notetype $c, $b2
|
||||
callchannel Music_LookKimonoGirl_branch_f7a13
|
||||
|
@ -490,7 +490,7 @@ Music_TitleScreen_Ch2: ; eb984
|
||||
octave 4
|
||||
note A_, 4
|
||||
stereopanning $ff
|
||||
tone $0000
|
||||
tone 0
|
||||
notetype $c, $b0
|
||||
octave 3
|
||||
note B_, 6
|
||||
@ -775,7 +775,7 @@ Music_TitleScreen_Ch3: ; ebb01
|
||||
note __, 1
|
||||
stereopanning $ff
|
||||
notetype $c, $16
|
||||
tone $0000
|
||||
tone 0
|
||||
octave 4
|
||||
note A_, 2
|
||||
octave 5
|
||||
|
114
audio/sfx.asm
114
audio/sfx.asm
@ -151,7 +151,7 @@ Sfx_Save_Ch5: ; f09b6
|
||||
|
||||
Sfx_Save_Ch6: ; f09d5
|
||||
dutycycle $2
|
||||
sound $2, $8, $0000
|
||||
sound $2, $8, 0
|
||||
sound $2, $a1, $0701
|
||||
sound $1, $91, $0601
|
||||
sound $1, $91, $0681
|
||||
@ -2291,7 +2291,7 @@ Sfx_Sketch_Ch5: ; f12f9
|
||||
Sfx_Sketch_branch_f12fd: ; f12fd
|
||||
sound $2, $f1, $06e0
|
||||
sound $d, $af, $05b0
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $9, $f4, $0718
|
||||
loopchannel 3, Sfx_Sketch_branch_f12fd
|
||||
soundinput $8
|
||||
@ -2490,15 +2490,15 @@ Sfx_Nightmare_Ch5: ; f1420
|
||||
soundinput $34
|
||||
Sfx_Nightmare_branch_f1424: ; f1424
|
||||
sound $3, $ba, $0631
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $3, $f8, $0621
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $3, $f8, $0611
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $3, $e8, $0601
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $3, $e8, $05f1
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
loopchannel 2, Sfx_Nightmare_branch_f1424
|
||||
soundinput $8
|
||||
endchannel
|
||||
@ -2540,11 +2540,11 @@ Sfx_SweetKiss2_Ch5: ; f1482
|
||||
dutycycle $0
|
||||
soundinput $97
|
||||
sound $2, $f4, $0772
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $2, $c4, $0772
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $2, $b4, $0772
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $2, $a1, $0772
|
||||
soundinput $8
|
||||
endchannel
|
||||
@ -2591,7 +2591,7 @@ Sfx_SludgeBomb_Ch5: ; f14d6
|
||||
dutycycle $2
|
||||
soundinput $c5
|
||||
sound $3, $f8, $0581
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
soundinput $cb
|
||||
sound $10, $f2, $05d1
|
||||
soundinput $8
|
||||
@ -2613,9 +2613,9 @@ Sfx_Foresight_Ch5: ; f14f8
|
||||
sound $3, $f4, $07b5
|
||||
sound $3, $f5, $07c8
|
||||
sound $8, $f4, $07da
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $8, $c1, $07da
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
sound $8, $91, $07da
|
||||
endchannel
|
||||
; f1515
|
||||
@ -2811,7 +2811,7 @@ Sfx_Return_branch_f163c: ; f163c
|
||||
sound $8, $f1, $0759
|
||||
soundinput $57
|
||||
sound $8, $f1, $0759
|
||||
sound $10, $0, $0000
|
||||
sound $10, $0, 0
|
||||
loopchannel 2, Sfx_Return_branch_f163c
|
||||
soundinput $8
|
||||
endchannel
|
||||
@ -2849,7 +2849,7 @@ Sfx_MilkDrink_branch_f1684: ; f1684
|
||||
sound $d, $f7, $0290
|
||||
soundinput $9e
|
||||
sound $4, $c9, $05e1
|
||||
sound $2, $0, $0000
|
||||
sound $2, $0, 0
|
||||
loopchannel 6, Sfx_MilkDrink_branch_f1684
|
||||
soundinput $8
|
||||
endchannel
|
||||
@ -2864,7 +2864,7 @@ Sfx_Present_Ch5: ; f16a2
|
||||
soundinput $d6
|
||||
Sfx_Present_branch_f16a6: ; f16a6
|
||||
sound $2, $f1, $0740
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
loopchannel 3, Sfx_Present_branch_f16a6
|
||||
sound $10, $f1, $0780
|
||||
soundinput $8
|
||||
@ -2882,9 +2882,9 @@ Sfx_MorningSun_branch_f16be: ; f16be
|
||||
sound $2, $f1, $07e0
|
||||
sound $5, $f2, $07e7
|
||||
loopchannel 3, Sfx_MorningSun_branch_f16be
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
sound $8, $c2, $07e7
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
sound $8, $82, $07e7
|
||||
endchannel
|
||||
; f16df
|
||||
@ -2913,10 +2913,10 @@ Sfx_Encore: ; f16fd
|
||||
Sfx_Encore_Ch5: ; f1703
|
||||
dutycycle $2
|
||||
soundinput $ce
|
||||
sound $10, $0, $0000
|
||||
sound $10, $0, 0
|
||||
Sfx_Encore_branch_f170b: ; f170b
|
||||
sound $2, $f8, $0774
|
||||
sound $24, $0, $0000
|
||||
sound $24, $0, 0
|
||||
loopchannel 2, Sfx_Encore_branch_f170b
|
||||
soundinput $8
|
||||
endchannel
|
||||
@ -2966,9 +2966,9 @@ Sfx_BatonPass_Ch5: ; f1752
|
||||
soundinput $f7
|
||||
sound $20, $f2, $0680
|
||||
sound $1, $f1, $0760
|
||||
sound $20, $0, $0000
|
||||
sound $20, $0, 0
|
||||
sound $1, $f1, $0760
|
||||
sound $1a, $0, $0000
|
||||
sound $1a, $0, 0
|
||||
sound $1, $f1, $0760
|
||||
soundinput $8
|
||||
endchannel
|
||||
@ -3836,27 +3836,27 @@ Sfx_BallBounce: ; f1b63
|
||||
Sfx_BallBounce_Ch5: ; f1b69
|
||||
dutycycle $2
|
||||
sound $8, $e1, $0740
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
sound $8, $b1, $0740
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
sound $8, $81, $0740
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
sound $8, $51, $0740
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
endchannel
|
||||
; f1b8c
|
||||
|
||||
Sfx_BallBounce_Ch6: ; f1b8c
|
||||
dutycycle $2
|
||||
sound $2, $8, $0000
|
||||
sound $2, $8, 0
|
||||
sound $8, $b1, $0741
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
sound $8, $81, $0741
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
sound $8, $51, $0741
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
sound $8, $21, $0741
|
||||
sound $17, $0, $0000
|
||||
sound $17, $0, 0
|
||||
endchannel
|
||||
; f1bb3
|
||||
|
||||
@ -3916,7 +3916,7 @@ Sfx_GiveTrademon: ; f1c10
|
||||
; f1c13
|
||||
|
||||
Sfx_GiveTrademon_Ch5: ; f1c13
|
||||
sound $20, $0, $0000
|
||||
sound $20, $0, 0
|
||||
dutycycle $1
|
||||
soundinput $a7
|
||||
sound $1b, $f4, $0750
|
||||
@ -3936,7 +3936,7 @@ Sfx_GetTrademon: ; f1c3e
|
||||
; f1c41
|
||||
|
||||
Sfx_GetTrademon_Ch5: ; f1c41
|
||||
sound $20, $0, $0000
|
||||
sound $20, $0, 0
|
||||
dutycycle $2
|
||||
soundinput $bf
|
||||
sound $1b, $14, $07bc
|
||||
@ -3959,7 +3959,7 @@ Sfx_TrainArrived: ; f1c6c
|
||||
|
||||
Sfx_TrainArrived_Ch6: ; f1c75
|
||||
tone $0008
|
||||
sound $8, $0, $0000
|
||||
sound $8, $0, 0
|
||||
Sfx_TrainArrived_Ch5: ; f1c7c
|
||||
dutycycle $2
|
||||
sound $4, $5f, $0691
|
||||
@ -4060,7 +4060,7 @@ Sfx_SwitchPokemon_Ch5: ; f1d0f
|
||||
|
||||
Sfx_SwitchPokemon_Ch6: ; f1d16
|
||||
dutycycle $2
|
||||
sound $2, $8, $0000
|
||||
sound $2, $8, 0
|
||||
sound $8, $b1, $0741
|
||||
endchannel
|
||||
; f1d21
|
||||
@ -4093,7 +4093,7 @@ Sfx_Tally_Ch5: ; f1d43
|
||||
|
||||
Sfx_Tally_Ch6: ; f1d4a
|
||||
dutycycle $2
|
||||
sound $1, $8, $0000
|
||||
sound $1, $8, 0
|
||||
sound $4, $a1, $0761
|
||||
endchannel
|
||||
; f1d55
|
||||
@ -4107,7 +4107,7 @@ Sfx_Transaction_Ch5: ; f1d55
|
||||
|
||||
Sfx_Transaction_Ch6: ; f1d60
|
||||
dutycycle $2
|
||||
sound $1, $8, $0000
|
||||
sound $1, $8, 0
|
||||
sound $4, $91, $06c1
|
||||
sound $18, $a2, $07a1
|
||||
endchannel
|
||||
@ -4183,7 +4183,7 @@ Sfx_GotSafariBalls_Ch5: ; f1dd4
|
||||
Sfx_BootPc_Ch5: ; f1de3
|
||||
dutycycle $2
|
||||
sound $f, $f2, $07c0
|
||||
sound $f, $0, $0000
|
||||
sound $f, $0, 0
|
||||
sound $3, $a1, $0780
|
||||
sound $3, $a1, $0700
|
||||
sound $3, $a1, $0740
|
||||
@ -4200,16 +4200,16 @@ Sfx_ShutDownPc_Ch5: ; f1e0e
|
||||
sound $4, $f0, $0600
|
||||
sound $4, $f0, $0400
|
||||
sound $4, $f0, $0200
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
endchannel
|
||||
; f1e21
|
||||
|
||||
Sfx_ChoosePcOption_Ch5: ; f1e21
|
||||
dutycycle $2
|
||||
sound $6, $f0, $0700
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $6, $f0, $0700
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
endchannel
|
||||
; f1e34
|
||||
|
||||
@ -4227,11 +4227,11 @@ Sfx_EscapeRope_Ch5: ; f1e34
|
||||
|
||||
Sfx_PushButton_Ch5: ; f1e4f
|
||||
dutycycle $2
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $2, $f1, $0680
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
sound $4, $f1, $0780
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
endchannel
|
||||
; f1e66
|
||||
|
||||
@ -4242,7 +4242,7 @@ Sfx_SecondPartOfItemfinder_Ch5: ; f1e66
|
||||
soundinput $22
|
||||
sound $2, $f1, $0500
|
||||
soundinput $8
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
endchannel
|
||||
; f1e7b
|
||||
|
||||
@ -4319,18 +4319,18 @@ Sfx_Wrong_Ch5: ; f1f05
|
||||
soundinput $5a
|
||||
sound $4, $f0, $0500
|
||||
soundinput $8
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $f, $f0, $0500
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
endchannel
|
||||
; f1f1c
|
||||
|
||||
Sfx_Wrong_Ch6: ; f1f1c
|
||||
dutycycle $3
|
||||
sound $4, $f0, $0401
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $f, $f0, $0401
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
endchannel
|
||||
; f1f2f
|
||||
|
||||
@ -4357,7 +4357,7 @@ Sfx_Strength_Ch8: ; f1f3a
|
||||
Sfx_Boat_Ch5: ; f1f53
|
||||
dutycycle $2
|
||||
sound $f, $f0, $0500
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $f, $f0, $0500
|
||||
sound $f, $f0, $0500
|
||||
sound $f, $f0, $0500
|
||||
@ -4369,7 +4369,7 @@ Sfx_Boat_Ch5: ; f1f53
|
||||
Sfx_Boat_Ch6: ; f1f72
|
||||
dutycycle $3
|
||||
sound $f, $f0, $0482
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
sound $f, $f0, $0482
|
||||
sound $f, $f0, $0482
|
||||
sound $f, $f0, $0482
|
||||
@ -4423,7 +4423,7 @@ Sfx_Shine_Ch5: ; f1fd9
|
||||
sound $0, $d2, $0780
|
||||
sound $0, $d2, $07c0
|
||||
sound $a, $e1, $07e0
|
||||
sound $1, $0, $0000
|
||||
sound $1, $0, 0
|
||||
endchannel
|
||||
; f1ff4
|
||||
|
||||
@ -4493,7 +4493,7 @@ Sfx_Call_Ch5: ; f2052
|
||||
sound $4, $f7, $07a0
|
||||
sound $4, $f7, $07a0
|
||||
soundinput $8
|
||||
sound $4, $0, $0000
|
||||
sound $4, $0, 0
|
||||
endchannel
|
||||
; f206f
|
||||
|
||||
@ -5483,13 +5483,13 @@ Sfx_HangUp_Ch5: ; f26f1
|
||||
dutycycle $2
|
||||
sound $4, $b8, $077b
|
||||
sound $2, $21, $077b
|
||||
sound $10, $0, $0000
|
||||
sound $10, $0, 0
|
||||
Sfx_HangUp_branch_f26ff: ; f26ff
|
||||
Sfx_NoSignal_Ch5: ; f26ff
|
||||
Sfx_NoSignal_branch_f26ff: ; f26ff
|
||||
dutycycle $2
|
||||
sound $14, $e8, $070b
|
||||
sound $1c, $0, $0000
|
||||
sound $1c, $0, 0
|
||||
loopchannel 3, Sfx_HangUp_branch_f26ff
|
||||
endchannel
|
||||
; f270e
|
||||
@ -5526,8 +5526,8 @@ Sfx_Elevator_branch_f2726: ; f2726
|
||||
|
||||
Sfx_Elevator_Ch6: ; f274b
|
||||
Sfx_Elevator_Ch7: ; f274b
|
||||
sound $60, $0, $0000
|
||||
sound $53, $0, $0000
|
||||
sound $60, $0, 0
|
||||
sound $53, $0, 0
|
||||
endchannel
|
||||
; f2754
|
||||
|
||||
|
@ -84,7 +84,7 @@ Sfx_IntroPichu_Ch5: ; 1798ad
|
||||
dutycycle $3
|
||||
soundinput $4d
|
||||
sound $1, $88, $0770
|
||||
sound $3, $0, $0000
|
||||
sound $3, $0, 0
|
||||
soundinput $17
|
||||
sound $2, $88, $0776
|
||||
endchannel
|
||||
|
@ -7,7 +7,7 @@ PlayTrainerEncounterMusic:: ; e900a
|
||||
ld [MusicFade], a
|
||||
; play nothing for one frame
|
||||
push de
|
||||
ld de, $0000 ; id: Music_Nothing
|
||||
ld de, 0 ; id: Music_Nothing
|
||||
call PlayMusic
|
||||
call DelayFrame
|
||||
; play new song
|
||||
|
@ -24,7 +24,7 @@ Functioncc9a1: ; cc9a1 (33:49a1)
|
||||
|
||||
|
||||
Functioncc9bd: ; cc9bd
|
||||
ld hl, $0000
|
||||
ld hl, 0
|
||||
add hl, bc
|
||||
ld [hl], $0
|
||||
ret
|
||||
|
@ -338,7 +338,7 @@ Functionc81c0: ; c81c0 (32:41c0)
|
||||
jr .asm_c81d7
|
||||
.asm_c81d1
|
||||
hlcoord 2, 6
|
||||
ld bc, $606
|
||||
lb bc, 6, 6
|
||||
.asm_c81d7
|
||||
call ClearBox
|
||||
pop bc
|
||||
@ -437,7 +437,7 @@ Functionc825a: ; c825a (32:425a)
|
||||
jr .asm_c8271
|
||||
.asm_c826b
|
||||
hlcoord 2, 6
|
||||
ld bc, $106
|
||||
lb bc, 1, 6
|
||||
.asm_c8271
|
||||
call ClearBox
|
||||
ld a, $1
|
||||
@ -503,7 +503,7 @@ Functionc82c7: ; c82c7 (32:42c7)
|
||||
jr .asm_c82de
|
||||
.asm_c82d8
|
||||
hlcoord 2, 6
|
||||
ld bc, $206
|
||||
lb bc, 2, 6
|
||||
.asm_c82de
|
||||
call ClearBox
|
||||
ld a, $1
|
||||
|
@ -3247,7 +3247,7 @@ MonFaintedAnimation: ; 3d444
|
||||
|
||||
|
||||
Function3d490: ; 3d490
|
||||
ld [hConnectionStripLength], a
|
||||
ld [hMapObjectIndexBuffer], a
|
||||
ld c, a
|
||||
.asm_3d493
|
||||
push bc
|
||||
@ -3271,7 +3271,7 @@ Function3d490: ; 3d490
|
||||
; 3d4ae
|
||||
|
||||
Function3d4ae: ; 3d4ae
|
||||
ld a, [hConnectionStripLength]
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
ld c, a
|
||||
cp $8
|
||||
jr nz, .back
|
||||
@ -3663,7 +3663,7 @@ Function3d714: ; 3d714
|
||||
push af
|
||||
ld a, [CurBattleMon]
|
||||
ld [CurPartyMon], a
|
||||
callba Functione538
|
||||
callba CheckCurPartyMonFainted
|
||||
pop bc
|
||||
ld a, b
|
||||
ld [CurPartyMon], a
|
||||
@ -9364,7 +9364,7 @@ Function3fb6c: ; 3fb6c
|
||||
call TextBox
|
||||
callba MobileTextBorder
|
||||
hlcoord 1, 5
|
||||
ld bc, $0307
|
||||
lb bc, 3, 7
|
||||
call ClearBox
|
||||
call Functione51
|
||||
call Function3ed9f
|
||||
@ -9486,7 +9486,7 @@ Function3fc30: ; 3fc30
|
||||
Function3fc5b: ; 3fc5b
|
||||
ld hl, Sprites
|
||||
xor a
|
||||
ld [hConnectionStripLength], a
|
||||
ld [hMapObjectIndexBuffer], a
|
||||
ld b, $6
|
||||
ld e, $a8
|
||||
.asm_3fc65
|
||||
@ -9497,10 +9497,10 @@ Function3fc5b: ; 3fc5b
|
||||
inc hl
|
||||
ld [hl], e
|
||||
inc hl
|
||||
ld a, [hConnectionStripLength]
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
ld [hli], a
|
||||
inc a
|
||||
ld [hConnectionStripLength], a
|
||||
ld [hMapObjectIndexBuffer], a
|
||||
ld a, $1
|
||||
ld [hli], a
|
||||
ld a, d
|
||||
@ -9508,9 +9508,9 @@ Function3fc5b: ; 3fc5b
|
||||
ld d, a
|
||||
dec c
|
||||
jr nz, .asm_3fc69
|
||||
ld a, [hConnectionStripLength]
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
add $3
|
||||
ld [hConnectionStripLength], a
|
||||
ld [hMapObjectIndexBuffer], a
|
||||
ld a, e
|
||||
add $8
|
||||
ld e, a
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
dw $0000 ; padding
|
||||
dw 0 ; padding
|
||||
|
||||
BattleCommandPointers: ; 3fd28
|
||||
dw BattleCommand01 ; 34084
|
||||
|
@ -7257,7 +7257,7 @@ BattleCommand23: ; 3680f
|
||||
ld c, $14
|
||||
call DelayFrames
|
||||
hlcoord 1, 0
|
||||
ld bc, $040a
|
||||
lb bc, 4, 10
|
||||
call ClearBox
|
||||
ld c, $14
|
||||
call DelayFrames
|
||||
@ -7351,7 +7351,7 @@ BattleCommand23: ; 3680f
|
||||
ld c, $14
|
||||
call DelayFrames
|
||||
hlcoord 9, 7
|
||||
ld bc, $050b
|
||||
lb bc, 5, 11
|
||||
call ClearBox
|
||||
ld c, $14
|
||||
call DelayFrames
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
INCLUDE "macros.asm"
|
||||
|
||||
INCLUDE "gbhw.asm"
|
||||
|
@ -38,3 +38,5 @@ const_value SET 1
|
||||
const ANIM_GFX_ANGELS
|
||||
const ANIM_GFX_WAVE
|
||||
const ANIM_GFX_AEROBLAST
|
||||
|
||||
TILESIZE EQU $10
|
||||
|
@ -369,3 +369,46 @@ ITEMMENU_NOUSE EQU 0
|
||||
ITEMMENU_CURRENT EQU 4
|
||||
ITEMMENU_PARTY EQU 5
|
||||
ITEMMENU_CLOSE EQU 6
|
||||
|
||||
const_def
|
||||
const MARTTYPE_STANDARD
|
||||
const MARTTYPE_BITTER
|
||||
const MARTTYPE_BARGAIN
|
||||
const MARTTYPE_PHARMACY
|
||||
const MARTTYPE_ROOFTOP
|
||||
|
||||
const_def
|
||||
const MART_CHERRYGROVE
|
||||
const MART_CHERRYGROVE_DEX
|
||||
const MART_VIOLET
|
||||
const MART_AZALEA
|
||||
const MART_CIANWOOD
|
||||
const MART_GOLDENROD_2F_1
|
||||
const MART_GOLDENROD_2F_2
|
||||
const MART_GOLDENROD_3F
|
||||
const MART_GOLDENROD_4F
|
||||
const MART_GOLDENROD_5F_1
|
||||
const MART_GOLDENROD_5F_2
|
||||
const MART_GOLDENROD_5F_3
|
||||
const MART_GOLDENROD_5F_4
|
||||
const MART_OLIVINE
|
||||
const MART_ECRUTEAK
|
||||
const MART_MAHOGANY_1
|
||||
const MART_MAHOGANY_2
|
||||
const MART_BLACKTHORN
|
||||
const MART_VIRIDIAN
|
||||
const MART_PEWTER
|
||||
const MART_CERULEAN
|
||||
const MART_LAVENDER
|
||||
const MART_VERMILION
|
||||
const MART_CELADON_2F_1
|
||||
const MART_CELADON_2F_2
|
||||
const MART_CELADON_3F
|
||||
const MART_CELADON_4F
|
||||
const MART_CELADON_5F_1
|
||||
const MART_CELADON_5F_2
|
||||
const MART_FUCHSIA
|
||||
const MART_SAFFRON
|
||||
const MART_MT_MOON
|
||||
const MART_INDIGO_PLATEAU
|
||||
const MART_UNDERGROUND
|
||||
|
@ -516,9 +516,9 @@ const_value SET 1
|
||||
const OBJECT_SPRITE
|
||||
const OBJECT_MAP_OBJECT_INDEX
|
||||
const OBJECT_SPRITE_TILE
|
||||
const OBJECT_03
|
||||
const OBJECT_04
|
||||
const OBJECT_FLAGS
|
||||
const OBJECT_MOVEMENTTYPE
|
||||
const OBJECT_FLAGS1
|
||||
const OBJECT_FLAGS2
|
||||
const OBJECT_PALETTE
|
||||
const OBJECT_DIRECTION_WALKING
|
||||
const OBJECT_FACING
|
||||
@ -572,10 +572,10 @@ MAPOBJECT_SCREEN_WIDTH EQU 12
|
||||
OBJECT_STRUCT_3_DATA_WIDTH EQU 6
|
||||
OBJECT_STRUCT_3_DATA_HEIGHT EQU 37
|
||||
|
||||
OW_DOWN EQU $0
|
||||
OW_UP EQU $4
|
||||
OW_LEFT EQU $8
|
||||
OW_RIGHT EQU $c
|
||||
OW_DOWN EQU DOWN << 2
|
||||
OW_UP EQU UP << 2
|
||||
OW_LEFT EQU LEFT << 2
|
||||
OW_RIGHT EQU RIGHT << 2
|
||||
|
||||
const_def
|
||||
const EMOTE_SHOCK ; 0
|
||||
@ -586,10 +586,8 @@ OW_RIGHT EQU $c
|
||||
const EMOTE_BOLT ; 5
|
||||
const EMOTE_SLEEP ; 6
|
||||
const EMOTE_FISH ; 7
|
||||
const EMOTE_ROD_DOWN ; 8
|
||||
const EMOTE_ROD_UP ; 9
|
||||
const EMOTE_ROD_LEFT ; a
|
||||
const EMOTE_ROD_RIGHT ; b
|
||||
const EMOTE_ROD ; 8 - add directional constant
|
||||
EMOTE_MEM EQU -1
|
||||
|
||||
const_def
|
||||
const SIGNPOST_READ
|
||||
|
@ -1,5 +1,3 @@
|
||||
NONE EQU 0
|
||||
|
||||
PARTY_LENGTH EQU 6
|
||||
|
||||
MAX_ITEMS EQU 20
|
||||
|
@ -181,7 +181,48 @@ const_value SET 1
|
||||
const PAL_OW_TREE
|
||||
const PAL_OW_ROCK
|
||||
|
||||
; sprite movements
|
||||
; sprite movement data table indices
|
||||
const_def
|
||||
const SPRITEMOVEDATA_00
|
||||
const SPRITEMOVEDATA_01
|
||||
const SPRITEMOVEDATA_02
|
||||
const SPRITEMOVEDATA_03
|
||||
const SPRITEMOVEDATA_WALK_UP_DOWN
|
||||
const SPRITEMOVEDATA_WALK_LEFT_RIGHT
|
||||
const SPRITEMOVEDATA_STANDING_DOWN
|
||||
const SPRITEMOVEDATA_STANDING_UP
|
||||
const SPRITEMOVEDATA_STANDING_LEFT
|
||||
const SPRITEMOVEDATA_STANDING_RIGHT
|
||||
const SPRITEMOVEDATA_0A
|
||||
const SPRITEMOVEDATA_0B
|
||||
const SPRITEMOVEDATA_0C
|
||||
const SPRITEMOVEDATA_0D
|
||||
const SPRITEMOVEDATA_0E
|
||||
const SPRITEMOVEDATA_0F
|
||||
const SPRITEMOVEDATA_10
|
||||
const SPRITEMOVEDATA_11
|
||||
const SPRITEMOVEDATA_12
|
||||
const SPRITEMOVEDATA_13
|
||||
const SPRITEMOVEDATA_14
|
||||
const SPRITEMOVEDATA_15
|
||||
const SPRITEMOVEDATA_16
|
||||
const SPRITEMOVEDATA_17
|
||||
const SPRITEMOVEDATA_18
|
||||
const SPRITEMOVEDATA_19
|
||||
const SPRITEMOVEDATA_1A
|
||||
const SPRITEMOVEDATA_1B
|
||||
const SPRITEMOVEDATA_1C
|
||||
const SPRITEMOVEDATA_1D
|
||||
const SPRITEMOVEDATA_1E
|
||||
const SPRITEMOVEDATA_1F
|
||||
const SPRITEMOVEDATA_20
|
||||
const SPRITEMOVEDATA_21
|
||||
const SPRITEMOVEDATA_22
|
||||
const SPRITEMOVEDATA_23
|
||||
const SPRITEMOVEDATA_24
|
||||
const SPRITEMOVEDATA_25
|
||||
|
||||
; sprite movement functions
|
||||
const_def
|
||||
const SPRITEMOVEFN_00
|
||||
const SPRITEMOVEFN_01
|
||||
@ -211,9 +252,3 @@ const_value SET 1
|
||||
const SPRITEMOVEFN_19
|
||||
const SPRITEMOVEFN_1A
|
||||
const SPRITEMOVEFN_1B
|
||||
const SPRITEMOVEFN_1C
|
||||
const SPRITEMOVEFN_1D
|
||||
const SPRITEMOVEFN_1E
|
||||
const SPRITEMOVEFN_1F
|
||||
const SPRITEMOVEFN_20
|
||||
const SPRITEMOVEFN_21
|
||||
|
@ -773,7 +773,7 @@ BattleTowerMons1:
|
||||
|
||||
db UNOWN
|
||||
db BERRY
|
||||
db HIDDEN_POWER, NONE, NONE, NONE
|
||||
db HIDDEN_POWER, 0, 0, 0
|
||||
dw 0 ; OT ID
|
||||
dt 1000 ; Exp
|
||||
; Stat exp
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user