From cd649184f556db777d592671a7274bfa4a8423d7 Mon Sep 17 00:00:00 2001 From: "U-Daniel-PC\\Daniel" Date: Fri, 3 Jul 2015 14:37:53 -0500 Subject: Rename/organize part 1 of 4 rename functions, clean up address/wram comments, other misc only broken up so that all changes are viewable on github --- home/init.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/init.asm') diff --git a/home/init.asm b/home/init.asm index cc89ad34..4ac2a4eb 100644 --- a/home/init.asm +++ b/home/init.asm @@ -1,7 +1,7 @@ SoftReset:: call StopAllSounds call GBPalWhiteOut - ld c, $20 + ld c, 32 call DelayFrames ; fallthrough -- cgit v1.3.1-sl0p From 99df5f0fd79f063ee4c7ec364eadd175a3d83c42 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 12 Jul 2015 16:37:06 -0700 Subject: use constant for bg transfer dest hram var --- engine/HoF_room_pc.asm | 2 +- engine/battle/animations.asm | 2 +- engine/battle/core.asm | 4 ++-- engine/titlescreen.asm | 2 +- home/init.asm | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'home/init.asm') diff --git a/engine/HoF_room_pc.asm b/engine/HoF_room_pc.asm index c33e9141..14382288 100755 --- a/engine/HoF_room_pc.asm +++ b/engine/HoF_room_pc.asm @@ -130,7 +130,7 @@ Func_74164: ; 74164 (1d:4164) ld a, l ld [H_AUTOBGTRANSFERDEST], a ld a, h - ld [$ffbd], a + ld [H_AUTOBGTRANSFERDEST + 1], a ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a jp Delay3 diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index 8b3b9147..a54233d0 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -2871,7 +2871,7 @@ Func_79de9: ; 79de9 (1e:5de9) Func_79e0d: ; 79e0d (1e:5e0d) ld a, h - ld [$ffbd], a + ld [H_AUTOBGTRANSFERDEST + 1], a ld a, l ld [H_AUTOBGTRANSFERDEST], a jp Delay3 diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 364b184b..bb7c4990 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6943,12 +6943,12 @@ InitBattle_Common: ; 3efeb (f:6feb) call SaveScreenTilesToBuffer1 call ClearScreen ld a, $98 - ld [$ffbd], a + ld [H_AUTOBGTRANSFERDEST + 1], a ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a call Delay3 ld a, $9c - ld [$ffbd], a + ld [H_AUTOBGTRANSFERDEST + 1], a call LoadScreenTilesFromBuffer1 hlCoord 9, 7 ld bc, $50a diff --git a/engine/titlescreen.asm b/engine/titlescreen.asm index e582d1be..1d640909 100755 --- a/engine/titlescreen.asm +++ b/engine/titlescreen.asm @@ -348,7 +348,7 @@ Func_4524: ; 4524 (1:4524) jp LoadFrontSpriteByMonIndex Func_4533: ; 4533 (1:4533) - ld [$ffbd], a + ld [H_AUTOBGTRANSFERDEST + 1], a jp Delay3 LoadCopyrightAndTextBoxTiles: ; 4538 (1:4538) diff --git a/home/init.asm b/home/init.asm index 4ac2a4eb..5a74dca9 100644 --- a/home/init.asm +++ b/home/init.asm @@ -101,9 +101,9 @@ rLCDC_DEFAULT EQU %11100011 ld [wc0ef], a ld [wc0f0], a ld a, $9c - ld [$ffbd], a + ld [H_AUTOBGTRANSFERDEST + 1], a xor a - ld [$ffbc], a + ld [H_AUTOBGTRANSFERDEST], a dec a ld [wUpdateSpritesEnabled], a -- cgit v1.3.1-sl0p From f66a74b9fcb762d693e89415836386bcad2475b5 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Mon, 13 Jul 2015 13:35:35 -0700 Subject: comment slot machine --- constants/misc_constants.asm | 13 + engine/HoF_room_pc.asm | 4 +- engine/battle/animations.asm | 6 +- engine/game_corner_slots.asm | 24 +- engine/menu/diploma.asm | 2 +- engine/menu/naming_screen.asm | 2 +- engine/mon_party_sprites.asm | 4 +- engine/slot_machine.asm | 596 ++++++++++++++++++++++-------------------- engine/town_map.asm | 8 +- home.asm | 2 +- home/init.asm | 4 +- scripts/celadongamecorner.asm | 4 +- wram.asm | 109 +++++++- 13 files changed, 449 insertions(+), 329 deletions(-) (limited to 'home/init.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 8aac849e..323e2ab6 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -72,6 +72,19 @@ PARTY_TO_BOX EQU 1 DAYCARE_TO_PARTY EQU 2 PARTY_TO_DAYCARE EQU 3 +; emotion bubbles +EXCLAMATION_BUBBLE EQU 0 +QUESTION_BUBBLE EQU 1 +SMILE_BUBBLE EQU 2 + +; slot symbols +SLOTS7 EQU $0200 +SLOTSBAR EQU $0604 +SLOTSCHERRY EQU $0A08 +SLOTSFISH EQU $0E0C +SLOTSBIRD EQU $1210 +SLOTSMOUSE EQU $1614 + ; serial ESTABLISH_CONNECTION_WITH_INTERNAL_CLOCK EQU $01 diff --git a/engine/HoF_room_pc.asm b/engine/HoF_room_pc.asm index 14382288..7a2226be 100755 --- a/engine/HoF_room_pc.asm +++ b/engine/HoF_room_pc.asm @@ -77,7 +77,7 @@ DisplayCreditsMon: ; 740cb (1d:40cb) call Func_74164 call FillMiddleOfScreenWithWhite ld a,$FC - ld [$FF47],a + ld [rBGP],a ld bc,7 .next call Func_74140 @@ -94,7 +94,7 @@ DisplayCreditsMon: ; 740cb (1d:40cb) xor a ld [hWY],a ld a,$C0 - ld [$FF47],a + ld [rBGP],a ret INCLUDE "data/credit_mons.asm" diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index a54233d0..ea879e53 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -2645,16 +2645,16 @@ Unknown_79c50: ; 79c50 (1e:5c50) AnimationLeavesFalling: ; 79c74 (1e:5c74) ; Makes leaves float down from the top of the screen. This is used ; in Razor Leaf's animation. - ld a, [$ff48] + ld a, [rOBP0] push af ld a, [wcc79] - ld [$ff48], a + ld [rOBP0], a ld d, $37 ld a, $3 ld [W_SUBANIMTRANSFORM], a call Func_79c97 pop af - ld [$ff48], a + ld [rOBP0], a ret AnimationPetalsFalling: ; 79c8a (1e:5c8a) diff --git a/engine/game_corner_slots.asm b/engine/game_corner_slots.asm index 01d42d21..b3b2490c 100755 --- a/engine/game_corner_slots.asm +++ b/engine/game_corner_slots.asm @@ -1,5 +1,5 @@ StartSlotMachine: ; 37e2d (d:7e2d) - ld a, [wTrainerSpriteOffset] + ld a, [wHiddenObjectFunctionArgument] cp $fd jr z, .printOutOfOrder cp $fe @@ -7,23 +7,23 @@ StartSlotMachine: ; 37e2d (d:7e2d) cp $ff jr z, .printSomeonesKeys callba AbleToPlaySlotsCheck - ld a, [wTrainerSpriteOffset] + ld a, [wHiddenObjectFunctionArgument] and a ret z - ld a, [wUnknownSlotVar] + ld a, [wLuckySlotHiddenObjectIndex] ld b, a - ld a, [wTrainerFacingDirection] + ld a, [wHiddenObjectIndex] inc a cp b - jr z, .asm_37e58 - ld a, $fd - jr .asm_37e5a -.asm_37e58 - ld a, $fa -.asm_37e5a - ld [wcc5b], a + jr z, .match + ld a, 253 + jr .next +.match + ld a, 250 +.next + ld [wSlotMachineSevenAndBarModeChance], a ld a, [H_LOADEDROMBANK] - ld [wcc5e], a + ld [wSlotMachineSavedROMBank], a call PromptUserToPlaySlots ret .printOutOfOrder diff --git a/engine/menu/diploma.asm b/engine/menu/diploma.asm index 067cd7d2..9305bb0c 100755 --- a/engine/menu/diploma.asm +++ b/engine/menu/diploma.asm @@ -56,7 +56,7 @@ DisplayDiploma: ; 566e2 (15:66e2) call Delay3 call GBPalNormal ld a, $90 - ld [$ff48], a + ld [rOBP0], a call WaitForTextScrollButtonPress ld hl, wd730 res 6, [hl] diff --git a/engine/menu/naming_screen.asm b/engine/menu/naming_screen.asm index bd1c39dd..f77f7331 100755 --- a/engine/menu/naming_screen.asm +++ b/engine/menu/naming_screen.asm @@ -114,7 +114,7 @@ DisplayNamingScreen: ; 6596 (1:6596) ld hl, wHPBarMaxHP + 1 ld [hli], a ld [hli], a - ld [wPartyMonAnimCounter], a + ld [wAnimCounter], a .asm_65ed call PrintAlphabet call GBPalNormal diff --git a/engine/mon_party_sprites.asm b/engine/mon_party_sprites.asm index e3323cfc..e3ccde57 100755 --- a/engine/mon_party_sprites.asm +++ b/engine/mon_party_sprites.asm @@ -27,7 +27,7 @@ GetAnimationSpeed: ; 7170a (1c:570a) ld c, a add a ld b, a - ld a, [wPartyMonAnimCounter] + ld a, [wAnimCounter] and a jr z, .resetSprites cp c @@ -38,7 +38,7 @@ GetAnimationSpeed: ; 7170a (1c:570a) jr nz, .skipResetTimer xor a ; reset timer .skipResetTimer - ld [wPartyMonAnimCounter], a + ld [wAnimCounter], a jp DelayFrame .resetSprites push bc diff --git a/engine/slot_machine.asm b/engine/slot_machine.asm index 6dae7293..f30a361c 100755 --- a/engine/slot_machine.asm +++ b/engine/slot_machine.asm @@ -10,13 +10,13 @@ PromptUserToPlaySlots: ; 3730e (d:730e) call YesNoChoice ld a, [wCurrentMenuItem] and a - jr nz, .skip + jr nz, .done ; if player chose No dec a ld [wUpdateSpritesEnabled], a - ld hl, wcd4f + ld hl, wSlotMachineRerollCounter xor a ld [hli], a - ld [hl], $2 + ld [hl], SMILE_BUBBLE predef EmotionBubble call GBPalWhiteOutWithDelay3 call LoadSlotMachineTiles @@ -25,30 +25,30 @@ PromptUserToPlaySlots: ; 3730e (d:730e) call GoPAL_SET call GBPalNormal ld a, $e4 - ld [$ff48], a + ld [rOBP0], a ld hl, wd730 set 6, [hl] xor a - ld [W_SUBANIMSUBENTRYADDR], a - ld hl, wTrainerSpriteOffset + ld [wSlotMachineAllowMatchesCounter], a + ld hl, wStoppingWhichSlotMachineWheel ld bc, $0014 call FillMemory call MainSlotMachineLoop ld hl, wd730 res 6, [hl] xor a - ld [W_SUBANIMSUBENTRYADDR], a + ld [wSlotMachineAllowMatchesCounter], a call GBPalWhiteOutWithDelay3 ld a, $1 ld [wUpdateSpritesEnabled], a call GoPAL_SET_CF1C call ReloadMapSpriteTilePatterns call ReloadTilesetTilePatterns -.skip +.done call LoadScreenTilesFromBuffer2 call Delay3 call GBPalNormal - ld a, [wcc5e] + ld a, [wSlotMachineSavedROMBank] push af jp CloseTextDisplay @@ -57,43 +57,43 @@ PlaySlotMachineText: ; 37390 (d:7390) db "@" MainSlotMachineLoop: ; 37395 (d:7395) - call SlotMachine_37754 + call SlotMachine_PrintCreditCoins xor a - ld hl, wcd4a + ld hl, wPayoutCoins ld [hli], a ld [hl], a - call SlotMachine_3775f + call SlotMachine_PrintPayoutCoins ld hl, BetHowManySlotMachineText call PrintText call SaveScreenTilesToBuffer1 .loop - ld a, $3 + ld a, A_BUTTON | B_BUTTON ld [wMenuWatchedKeys], a - ld a, $2 + ld a, 2 ld [wMaxMenuItem], a - ld a, $c + ld a, 12 ld [wTopMenuItemY], a - ld a, $f + ld a, 15 ld [wTopMenuItemX], a xor a ld [wCurrentMenuItem], a ld [wLastMenuItem], a ld [wMenuWatchMovingOutOfBounds], a - ld hl, wTileMap + $ea - ld b, $5 - ld c, $4 + hlCoord 14, 11 + ld b, 5 + ld c, 4 call TextBoxBorder - ld hl, wTileMap + $100 + hlCoord 16, 12 ld de, CoinMultiplierSlotMachineText call PlaceString call HandleMenuInput - and $2 + and B_BUTTON jp nz, LoadScreenTilesFromBuffer1 ld a, [wCurrentMenuItem] ld b, a - ld a, $3 + ld a, 3 sub b - ld [wcd50], a + ld [wSlotMachineBet], a ld hl, wPlayerCoins ld c, a ld a, [hli] @@ -107,11 +107,11 @@ MainSlotMachineLoop: ; 37395 (d:7395) jr .loop .skip1 call LoadScreenTilesFromBuffer1 - call SlotMachine_37741 - call SlotMachine_377d5 - call SlotMachine_37480 - ld a, $4 - ld hl, wcd4d + call SlotMachine_SubtractBetFromPlayerCoins + call SlotMachine_LightBalls + call SlotMachine_SetFlags + ld a, 4 + ld hl, wSlotMachineWheel1SlipCounter ld [hli], a ld [hli], a ld [hl], a @@ -120,8 +120,8 @@ MainSlotMachineLoop: ; 37395 (d:7395) call PlaySound ld hl, StartSlotMachineText call PrintText - call SlotMachine_374ad - call SlotMachine_37588 + call SlotMachine_SpinWheels + call SlotMachine_CheckForMatches ld hl, wPlayerCoins ld a, [hli] or [hl] @@ -143,7 +143,7 @@ MainSlotMachineLoop: ; 37395 (d:7395) ld a, [wCurrentMenuItem] and a ret nz - call SlotMachine_377ce + call SlotMachine_PutOutLitBalls jp MainSlotMachineLoop CoinMultiplierSlotMachineText: ; 3745e (d:745e) @@ -171,55 +171,55 @@ OneMoreGoSlotMachineText: ; 3747b (d:747b) TX_FAR _OneMoreGoSlotMachineText db "@" -SlotMachine_37480: ; 37480 (d:7480) - ld hl, wcd4c +SlotMachine_SetFlags: ; 37480 (d:7480) + ld hl, wSlotMachineFlags bit 7, [hl] ret nz - ld a, [W_SUBANIMSUBENTRYADDR] + ld a, [wSlotMachineAllowMatchesCounter] and a - jr nz, .skip1 + jr nz, .allowMatches call Random and a - jr z, .skip2 + jr z, .setAllowMatchesCounter ; 1/256 (~0.4%) chance ld b, a - ld a, [wcc5b] + ld a, [wSlotMachineSevenAndBarModeChance] cp b - jr c, .skip3 - ld a, $d2 + jr c, .allowSevenAndBarMatches + ld a, 210 cp b - jr c, .skip1 - ld [hl], $0 + jr c, .allowMatches ; 55/256 (~21.5%) chance + ld [hl], 0 ret -.skip1 +.allowMatches set 6, [hl] ret -.skip2 - ld a, $3c - ld [W_SUBANIMSUBENTRYADDR], a +.setAllowMatchesCounter + ld a, 60 + ld [wSlotMachineAllowMatchesCounter], a ret -.skip3 +.allowSevenAndBarMatches set 7, [hl] ret -SlotMachine_374ad: ; 374ad (d:74ad) +SlotMachine_SpinWheels: ; 374ad (d:74ad) ld c, 20 .loop1 push bc - call SlotMachine_37813 - call SlotMachine_37823 - call SlotMachine_37833 + call SlotMachine_AnimWheel1 + call SlotMachine_AnimWheel2 + call SlotMachine_AnimWheel3 ld c, 2 call DelayFrames pop bc dec c jr nz, .loop1 xor a - ld [wTrainerSpriteOffset], a + ld [wStoppingWhichSlotMachineWheel], a .loop2 - call SlotMachine_37882 - call SlotMachine_374df - call SlotMachine_374fb - call SlotMachine_37517 + call SlotMachine_HandleInputWhileWheelsSpin + call SlotMachine_StopOrAnimWheel1 + call SlotMachine_StopOrAnimWheel2 + call SlotMachine_StopOrAnimWheel3 ret c ld a, [wOnSGB] xor $1 @@ -228,194 +228,214 @@ SlotMachine_374ad: ; 374ad (d:74ad) call DelayFrames jr .loop2 -SlotMachine_374df: ; 374df (d:74df) - ld a, [wTrainerSpriteOffset] - cp $1 - jr c, .skip - ld de, wTrainerEngageDistance +; Note that the wheels can only stop when a symbol is centred in the wheel +; and thus 3 full symbols rather than 2 full symbols and 2 half symbols are +; visible. The 3 functions below ensure this by checking if the wheel offset +; is even before stopping the wheel. + +SlotMachine_StopOrAnimWheel1: ; 374df (d:74df) + ld a, [wStoppingWhichSlotMachineWheel] + cp 1 + jr c, .animWheel + ld de, wSlotMachineWheel1Offset ld a, [de] rra - jr nc, .skip - ld hl, wcd4d + jr nc, .animWheel ; check that a symbol is centred in the wheel + ld hl, wSlotMachineWheel1SlipCounter ld a, [hl] and a ret z dec [hl] - call SlotMachine_3752c + call SlotMachine_StopWheel1Early ret nz -.skip - jp SlotMachine_37813 - -SlotMachine_374fb: ; 374fb (d:74fb) - ld a, [wTrainerSpriteOffset] - cp $2 - jr c, .skip - ld de, wTrainerFacingDirection +.animWheel + jp SlotMachine_AnimWheel1 + +SlotMachine_StopOrAnimWheel2: ; 374fb (d:74fb) + ld a, [wStoppingWhichSlotMachineWheel] + cp 2 + jr c, .animWheel + ld de, wSlotMachineWheel2Offset ld a, [de] rra - jr nc, .skip - ld hl, wcd4e + jr nc, .animWheel ; check that a symbol is centred in the wheel + ld hl, wSlotMachineWheel2SlipCounter ld a, [hl] and a ret z dec [hl] - call SlotMachine_37552 + call SlotMachine_StopWheel2Early ret z -.skip - jp SlotMachine_37823 - -SlotMachine_37517: ; 37517 (d:7517) - ld a, [wTrainerSpriteOffset] - cp $3 - jr c, .skip - ld de, wTrainerScreenY +.animWheel + jp SlotMachine_AnimWheel2 + +SlotMachine_StopOrAnimWheel3: ; 37517 (d:7517) + ld a, [wStoppingWhichSlotMachineWheel] + cp 3 + jr c, .animWheel + ld de, wSlotMachineWheel3Offset ld a, [de] rra - jr nc, .skip + jr nc, .animWheel ; check that a symbol is centred in the wheel +; wheel 3 stops as soon as possible scf ret -.skip - call SlotMachine_37833 +.animWheel + call SlotMachine_AnimWheel3 and a ret -SlotMachine_3752c: ; 3752c (d:752c) - call SlotMachine_GetWheelOneTile - ld hl, wTrainerScreenX - ld a, [wcd4c] +SlotMachine_StopWheel1Early: ; 3752c (d:752c) + call SlotMachine_GetWheel1Tiles + ld hl, wSlotMachineWheel1BottomTile + ld a, [wSlotMachineFlags] and $80 - jr nz, .skip1 + jr nz, .sevenAndBarMode +; Stop early if the middle symbol is not a cherry. inc hl ld a, [hl] - cp $a - jr nz, .skip2 + cp SLOTSCHERRY >> 8 + jr nz, .stopWheel ret -.skip1 +; It looks like this was intended to make the wheel stop when a 7 symbol was +; visible, but it has a bug and so the wheel stops randomly. +.sevenAndBarMode ld c, $3 .loop ld a, [hli] - cp $2 - jr c, .skip2 + cp SLOTS7 >> 8 + jr c, .stopWheel ; condition never true dec c jr nz, .loop ret -.skip2 +.stopWheel inc a - ld hl, wcd4d - ld [hl], $0 + ld hl, wSlotMachineWheel1SlipCounter + ld [hl], 0 ret -SlotMachine_37552: ; 37552 (d:7552) - call SlotMachine_GetWheelTwoTile - ld a, [wcd4c] +SlotMachine_StopWheel2Early: ; 37552 (d:7552) + call SlotMachine_GetWheel2Tiles + ld a, [wSlotMachineFlags] and $80 - jr nz, .skip1 - call SlotMachine_3756e + jr nz, .sevenAndBarMode +; Stop early if any symbols are lined up in the first two wheels. + call SlotMachine_FindWheel1Wheel2Matches ret nz - jr .skip2 -.skip1 - call SlotMachine_3756e + jr .stopWheel +; Stop early if two 7 symbols or two bar symbols are lined up in the first two +; wheels OR if no symbols are lined up and the bottom symbol in wheel 2 is a +; 7 symbol or bar symbol. The second part could be a bug or a way to reduce the +; player's odds. +.sevenAndBarMode + call SlotMachine_FindWheel1Wheel2Matches ld a, [de] - cp $7 + cp (SLOTSBAR >> 8) + 1 ret nc -.skip2 +.stopWheel xor a - ld [wcd4e], a + ld [wSlotMachineWheel2SlipCounter], a ret -SlotMachine_3756e: ; 3756e (d:756e) - ld hl, wTrainerScreenX - ld de, wcd44 +SlotMachine_FindWheel1Wheel2Matches: ; 3756e (d:756e) +; return whether wheel 1 and wheel 2's current positions allow a match (given +; that wheel 3 stops in a good position) in Z + ld hl, wSlotMachineWheel1BottomTile + ld de, wSlotMachineWheel2BottomTile ld a, [de] - cp [hl] + cp [hl] ; wheel 1 bottom, wheel 2 bottom ret z inc de ld a, [de] - cp [hl] + cp [hl] ; wheel 1 bottom, wheel 2 middle ret z inc hl - cp [hl] + cp [hl] ; wheel 1 middle, wheel 2 middle ret z inc hl - cp [hl] + cp [hl] ; wheel 1 top, wheel 2 middle ret z inc de ld a, [de] - cp [hl] + cp [hl] ; wheel 1 top, wheel 2 top ret z dec de dec de ret -SlotMachine_37588: ; 37588 (d:7588) - call SlotMachine_GetWheelThreeTile - ld a, [wcd50] - cp $2 - jr z, .skip1 - cp $1 - jr z, .skip2 - ld hl, wTrainerScreenX - ld de, wcd45 - ld bc, wcd49 +SlotMachine_CheckForMatches: ; 37588 (d:7588) + call SlotMachine_GetWheel3Tiles + ld a, [wSlotMachineBet] + cp 2 + jr z, .checkMatchesFor2CoinBet + cp 1 + jr z, .checkMatchFor1CoinBet +; 3 coin bet allows diagonal matches (plus the matches for 1/2 coin bets) + ld hl, wSlotMachineWheel1BottomTile + ld de, wSlotMachineWheel2MiddleTile + ld bc, wSlotMachineWheel3TopTile call SlotMachine_CheckForMatch - jp z, .skip5 - ld hl, wcd43 - ld de, wcd45 - ld bc, wcd47 + jp z, .foundMatch + ld hl, wSlotMachineWheel1TopTile + ld de, wSlotMachineWheel2MiddleTile + ld bc, wSlotMachineWheel3BottomTile call SlotMachine_CheckForMatch - jr z, .skip5 -.skip1 - ld hl, wcd43 - ld de, wcd46 - ld bc, wcd49 + jr z, .foundMatch +; 2 coin bet allows top/bottom horizontal matches (plus the match for a 1 coin bet) +.checkMatchesFor2CoinBet + ld hl, wSlotMachineWheel1TopTile + ld de, wSlotMachineWheel2TopTile + ld bc, wSlotMachineWheel3TopTile call SlotMachine_CheckForMatch - jr z, .skip5 - ld hl, wTrainerScreenX - ld de, wcd44 - ld bc, wcd47 + jr z, .foundMatch + ld hl, wSlotMachineWheel1BottomTile + ld de, wSlotMachineWheel2BottomTile + ld bc, wSlotMachineWheel3BottomTile call SlotMachine_CheckForMatch - jr z, .skip5 -.skip2 - ld hl, wcd42 - ld de, wcd45 - ld bc, wcd48 + jr z, .foundMatch +; 1 coin bet only allows a middle horizontal match +.checkMatchFor1CoinBet + ld hl, wSlotMachineWheel1MiddleTile + ld de, wSlotMachineWheel2MiddleTile + ld bc, wSlotMachineWheel3MiddleTile call SlotMachine_CheckForMatch - jr z, .skip5 - ld a, [wcd4c] + jr z, .foundMatch + ld a, [wSlotMachineFlags] and $c0 - jr z, .skip3 - ld hl, wcd4f + jr z, .noMatch + ld hl, wSlotMachineRerollCounter dec [hl] - jr nz, .skip4 -.skip3 + jr nz, .rollWheel3DownByOneSymbol +.noMatch ld hl, NotThisTimeText call PrintText -.loop +.done xor a ld [wc002], a ret -.skip4 - call SlotMachine_37833 +.rollWheel3DownByOneSymbol + call SlotMachine_AnimWheel3 call DelayFrame - call SlotMachine_37833 + call SlotMachine_AnimWheel3 call DelayFrame - jp SlotMachine_37588 -.skip5 - ld a, [wcd4c] + jp SlotMachine_CheckForMatches +.foundMatch + ld a, [wSlotMachineFlags] and $c0 - jr z, .skip4 + jr z, .rollWheel3DownByOneSymbol ; roll wheel if player isn't allowed to win and $80 - jr nz, .skip6 + jr nz, .acceptMatch +; if 7/bar matches aren't enabled and the match was a 7/bar symbol, roll wheel ld a, [hl] - cp $7 - jr c, .skip4 -.skip6 + cp (SLOTSBAR >> 8) + 1 + jr c, .rollWheel3DownByOneSymbol +.acceptMatch ld a, [hl] sub $2 - ld [wTrainerScreenX], a + ld [wSlotMachineWinningSymbol], a ld hl, SlotRewardPointers ld c, a - ld b, $0 + ld b, 0 add hl, bc ld a, [hli] ld e, a @@ -426,39 +446,39 @@ SlotMachine_37588: ; 37588 (d:7588) ld h, [hl] ld l, a ld de, wcf4b - ld bc, $0004 + ld bc, 4 call CopyData pop hl - ld de, .asm_37638 + ld de, .flashScreenLoop push de jp [hl] -.asm_37638 - ld a, [$ff47] +.flashScreenLoop + ld a, [rBGP] xor $40 - ld [$ff47], a + ld [rBGP], a ld c, 5 call DelayFrames dec b - jr nz, .asm_37638 - ld hl, wcd4a + jr nz, .flashScreenLoop + ld hl, wPayoutCoins ld [hl], d inc hl ld [hl], e - call SlotMachine_3775f - ld hl, SlotsMachineText_37665 + call SlotMachine_PrintPayoutCoins + ld hl, SymbolLinedUpSlotMachineText call PrintText call WaitForTextScrollButtonPress - call SlotMachine_3776b - call SlotMachine_3775f + call SlotMachine_PayCoinsToPlayer + call SlotMachine_PrintPayoutCoins ld a, $e4 - ld [$ff48], a - jp .loop + ld [rOBP0], a + jp .done -SlotsMachineText_37665: ; 37665 (d:7665) +SymbolLinedUpSlotMachineText: ; 37665 (d:7665) TX_ASM push bc - call SlotMachine_37728 + call SlotMachine_PrintWinningSymbol ld hl, LinedUpText pop bc inc bc @@ -510,28 +530,28 @@ SlotMachine_CheckForMatch: ; 376a2 (d:76a2) cp [hl] ret -SlotMachine_GetWheelThreeTile: ; 376a8 (d:76a8) - ld de, wcd47 +SlotMachine_GetWheel3Tiles: ; 376a8 (d:76a8) + ld de, wSlotMachineWheel3BottomTile ld hl, SlotMachineWheel3 - ld a, [wTrainerScreenY] - call SlotMachine_GetWheelTile + ld a, [wSlotMachineWheel3Offset] + call SlotMachine_GetWheelTiles -SlotMachine_GetWheelTwoTile: ; 376b4 (d:76b4) - ld de, wcd44 +SlotMachine_GetWheel2Tiles: ; 376b4 (d:76b4) + ld de, wSlotMachineWheel2BottomTile ld hl, SlotMachineWheel2 - ld a, [wTrainerFacingDirection] - call SlotMachine_GetWheelTile + ld a, [wSlotMachineWheel2Offset] + call SlotMachine_GetWheelTiles -SlotMachine_GetWheelOneTile: ; 376c0 (d:76c0) - ld de, wTrainerScreenX +SlotMachine_GetWheel1Tiles: ; 376c0 (d:76c0) + ld de, wSlotMachineWheel1BottomTile ld hl, SlotMachineWheel1 - ld a, [wTrainerEngageDistance] + ld a, [wSlotMachineWheel1Offset] -SlotMachine_GetWheelTile: ; 376c9 (d:76c9) +SlotMachine_GetWheelTiles: ; 376c9 (d:76c9) ld c, a - ld b, $0 + ld b, 0 add hl, bc - ld c, $3 + ld c, 3 .loop ld a, [hli] ld [de], a @@ -542,7 +562,7 @@ SlotMachine_GetWheelTile: ; 376c9 (d:76c9) ret SlotReward8Func: ; 376d7 (d:76d7) - ld hl, W_SUBANIMSUBENTRYADDR + ld hl, wSlotMachineAllowMatchesCounter ld a, [hl] and a jr z, .skip @@ -553,7 +573,7 @@ SlotReward8Func: ; 376d7 (d:76d7) ret SlotReward15Func: ; 376e5 (d:76e5) - ld hl, W_SUBANIMSUBENTRYADDR + ld hl, wSlotMachineAllowMatchesCounter ld a, [hl] and a jr z, .skip @@ -567,7 +587,7 @@ SlotReward100Func: ; 376f3 (d:76f3) ld a, (SFX_1f_42 - SFX_Headers_1f) / 3 call PlaySound xor a - ld [wcd4c], a + ld [wSlotMachineFlags], a ld b, $8 ld de, 100 ret @@ -581,9 +601,9 @@ SlotReward300Func: ; 37702 (d:7702) cp $80 ld a, $0 jr c, .skip - ld [wcd4c], a + ld [wSlotMachineFlags], a .skip - ld [W_SUBANIMSUBENTRYADDR], a + ld [wSlotMachineAllowMatchesCounter], a ld b, $14 ld de, 300 ret @@ -592,26 +612,27 @@ YeahText: ; 37722 (d:7722) TX_FAR _YeahText db $0a, "@" -SlotMachine_37728: ; 37728 (d:7728) - ld hl, wTileMap + $11a - ld a, [wTrainerScreenX] +SlotMachine_PrintWinningSymbol: ; 37728 (d:7728) +; prints winning symbol and down arrow in text box + hlCoord 2, 14 + ld a, [wSlotMachineWinningSymbol] add $25 ld [hli], a inc a ld [hld], a inc a - ld de, $ffec + ld de, -SCREEN_WIDTH add hl, de ld [hli], a inc a ld [hl], a - ld hl, wTileMap + $152 - ld [hl], $ee + hlCoord 18, 16 + ld [hl], $ee ; down arrow ret -SlotMachine_37741: ; 37741 (d:7741) - ld hl, wcd4b - ld a, [wcd50] +SlotMachine_SubtractBetFromPlayerCoins: ; 37741 (d:7741) + ld hl, wTempCoins2 + 1 + ld a, [wSlotMachineBet] ld [hld], a xor a ld [hli], a @@ -619,136 +640,143 @@ SlotMachine_37741: ; 37741 (d:7741) ld c, $2 predef SubBCDPredef -SlotMachine_37754: ; 37754 (d:7754) - ld hl, wTileMap + $19 +SlotMachine_PrintCreditCoins: ; 37754 (d:7754) + hlCoord 5, 1 ld de, wPlayerCoins ld c, $2 jp PrintBCDNumber -SlotMachine_3775f: ; 3775f (d:775f) - ld hl, wTileMap + $1f - ld de, wcd4a - ld bc, $8204 +SlotMachine_PrintPayoutCoins: ; 3775f (d:775f) + hlCoord 11, 1 + ld de, wPayoutCoins + ld bc, $8204 ; 2 bytes, 4 digits, leading zeroes jp PrintNumber -SlotMachine_3776b: ; 3776b (d:776b) +SlotMachine_PayCoinsToPlayer: ; 3776b (d:776b) ld a, $1 ld [wc002], a call WaitForSoundToFinish - ld hl, wcd46 + +; Put 1 in the temp coins variable. This value is added to the player's coins +; repeatedly so the player can watch the value go up 1 coin at a time. + ld hl, wTempCoins1 xor a ld [hli], a inc a ld [hl], a - ld a, $5 - ld [W_SUBANIMTRANSFORM], a + + ld a, 5 + ld [wAnimCounter], a + +; Subtract 1 from the payout amount and add 1 to the player's coins each +; iteration until the payout amount reaches 0. .loop - ld a, [wcd4b] + ld a, [wPayoutCoins + 1] ld l, a - ld a, [wcd4a] + ld a, [wPayoutCoins] ld h, a or l ret z - ld de, $ffff + ld de, -1 add hl, de ld a, l - ld [wcd4b], a + ld [wPayoutCoins + 1], a ld a, h - ld [wcd4a], a - ld hl, wcd47 + ld [wPayoutCoins], a + ld hl, wTempCoins1 + 1 ld de, wPlayerCoins + 1 ld c, $2 predef AddBCDPredef - call SlotMachine_37754 - call SlotMachine_3775f + call SlotMachine_PrintCreditCoins + call SlotMachine_PrintPayoutCoins ld a, (SFX_1f_65 - SFX_Headers_1f) / 3 call PlaySound - ld a, [W_SUBANIMTRANSFORM] + ld a, [wAnimCounter] dec a jr nz, .skip1 - ld a, [$ff48] - xor $40 - ld [$ff48], a - ld a, $5 + ld a, [rOBP0] + xor $40 ; make the slot wheel symbols flash + ld [rOBP0], a + ld a, 5 .skip1 - ld [W_SUBANIMTRANSFORM], a - ld a, [wTrainerScreenX] - cp $7 + ld [wAnimCounter], a + ld a, [wSlotMachineWinningSymbol] + cp (SLOTSBAR >> 8) + 1 ld c, 8 jr nc, .skip2 - srl c + srl c ; c = 4 (make the the coins transfer faster if the symbol was 7 or bar) .skip2 call DelayFrames jr .loop -SlotMachine_377ce: ; 377ce (d:77ce) +SlotMachine_PutOutLitBalls: ; 377ce (d:77ce) ld a, $23 ld [wd08a], a - jr SlotMachine_377e3 + jr SlotMachine_UpdateThreeCoinBallTiles -SlotMachine_377d5: ; 377d5 (d:77d5) +SlotMachine_LightBalls: ; 377d5 (d:77d5) ld a, $14 ld [wd08a], a - ld a, [wcd50] + ld a, [wSlotMachineBet] dec a - jr z, SlotMachine_377fb + jr z, SlotMachine_UpdateOneCoinBallTiles dec a - jr z, SlotMachine_377ef + jr z, SlotMachine_UpdateTwoCoinBallTiles -SlotMachine_377e3: ; 377e3 (d:77e3) - ld hl, wTileMap + $2b - call SlotMachine_377fe - ld hl, wTileMap + $cb - call SlotMachine_377fe +SlotMachine_UpdateThreeCoinBallTiles: ; 377e3 (d:77e3) + hlCoord 3, 2 + call SlotMachine_UpdateBallTiles + hlCoord 3, 10 + call SlotMachine_UpdateBallTiles -SlotMachine_377ef: ; 377ef (d:77ef) - ld hl, wTileMap + $53 - call SlotMachine_377fe - ld hl, wTileMap + $a3 - call SlotMachine_377fe +SlotMachine_UpdateTwoCoinBallTiles: ; 377ef (d:77ef) + hlCoord 3, 4 + call SlotMachine_UpdateBallTiles + hlCoord 3, 8 + call SlotMachine_UpdateBallTiles -SlotMachine_377fb: ; 377fb (d:77fb) - ld hl, wTileMap + $7b +SlotMachine_UpdateOneCoinBallTiles: ; 377fb (d:77fb) + hlCoord 3, 6 -SlotMachine_377fe: ; 377fe (d:77fe) +SlotMachine_UpdateBallTiles: ; 377fe (d:77fe) ld a, [wd08a] ld [hl], a - ld bc, $000d + ld bc, 13 add hl, bc ld [hl], a - ld bc, $0007 + ld bc, 7 add hl, bc inc a ld [hl], a - ld bc, $000d + ld bc, 13 add hl, bc ld [hl], a ret -SlotMachine_37813: ; 37813 (d:7813) +SlotMachine_AnimWheel1: ; 37813 (d:7813) ld bc, SlotMachineWheel1 - ld de, wTrainerEngageDistance + ld de, wSlotMachineWheel1Offset ld hl, wOAMBuffer ld a, $30 ld [W_BASECOORDX], a - jr SlotMachine_37841 + jr SlotMachine_AnimWheel -SlotMachine_37823: ; 37823 (d:7823) +SlotMachine_AnimWheel2: ; 37823 (d:7823) ld bc, SlotMachineWheel2 - ld de, wTrainerFacingDirection + ld de, wSlotMachineWheel2Offset ld hl, wOAMBuffer + $30 ld a, $50 ld [W_BASECOORDX], a - jr SlotMachine_37841 + jr SlotMachine_AnimWheel -SlotMachine_37833: ; 37833 (d:7833) +SlotMachine_AnimWheel3: ; 37833 (d:7833) ld bc, SlotMachineWheel3 - ld de, wTrainerScreenY + ld de, wSlotMachineWheel3Offset ld hl, wOAMBuffer + $60 ld a, $70 ld [W_BASECOORDX], a -SlotMachine_37841: ; 37841 (d:7841) +SlotMachine_AnimWheel: ; 37841 (d:7841) ld a, $58 ld [W_BASECOORDY], a push de @@ -756,10 +784,9 @@ SlotMachine_37841: ; 37841 (d:7841) ld d, b add c ld e, a - jr nc, SlotMachine_3784e + jr nc, .loop inc d - -SlotMachine_3784e: ; 3784e (d:784e) +.loop ld a, [W_BASECOORDY] ld [hli], a ld a, [W_BASECOORDX] @@ -783,30 +810,30 @@ SlotMachine_3784e: ; 3784e (d:784e) sub $8 ld [W_BASECOORDY], a cp $28 - jr nz, SlotMachine_3784e + jr nz, .loop pop de ld a, [de] - inc a - cp $1e + inc a ; advance the offset so that the wheel animates + cp 30 jr nz, .skip - xor a + xor a ; wrap around to 0 when the offset reaches 30 .skip ld [de], a ret -SlotMachine_37882: ; 37882 (d:7882) +SlotMachine_HandleInputWhileWheelsSpin: ; 37882 (d:7882) call DelayFrame call JoypadLowSensitivity ld a, [hJoy5] - and $1 + and A_BUTTON ret z - ld hl, wTrainerSpriteOffset + ld hl, wStoppingWhichSlotMachineWheel ld a, [hl] dec a - ld de, wcd4d + ld de, wSlotMachineWheel1SlipCounter jr z, .skip dec a - ld de, wcd4e + ld de, wSlotMachineWheel2SlipCounter jr z, .skip .loop inc [hl] @@ -845,20 +872,13 @@ LoadSlotMachineTiles: ; 378a8 (d:78a8) ld [hli], a ld [hli], a ld [hl], a - call SlotMachine_37813 - call SlotMachine_37823 - jp SlotMachine_37833 + call SlotMachine_AnimWheel1 + call SlotMachine_AnimWheel2 + jp SlotMachine_AnimWheel3 SlotMachineMap: ; 378f5 (d:78f5) INCBIN "gfx/tilemaps/slotmachine.map" -SLOTS7 EQU $0200 -SLOTSBAR EQU $0604 -SLOTSCHERRY EQU $0A08 -SLOTSFISH EQU $0E0C -SLOTSBIRD EQU $1210 -SLOTSMOUSE EQU $1614 - INCLUDE "data/slot_machine_wheels.asm" SlotMachineTiles1: ; 37a51 (d:7a51) diff --git a/engine/town_map.asm b/engine/town_map.asm index 0dd84226..d90dab95 100755 --- a/engine/town_map.asm +++ b/engine/town_map.asm @@ -79,7 +79,7 @@ Func_70e92: ; 70e92 (1c:4e92) xor a ld [wTownMapSpriteBlinkingEnabled], a ld [hJoy7], a - ld [wTownMapSpriteBlinkingCounter], a + ld [wAnimCounter], a call Func_711ab pop hl pop af @@ -319,7 +319,7 @@ LoadTownMap: ; 7109b (1c:509b) call Delay3 call GBPalNormal xor a - ld [wTownMapSpriteBlinkingCounter], a + ld [wAnimCounter], a inc a ld [wTownMapSpriteBlinkingEnabled], a ret @@ -577,7 +577,7 @@ MonNestIcon: ; 716be (1c:56be) INCBIN "gfx/mon_nest_icon.1bpp" TownMapSpriteBlinkingAnimation: ; 716c6 (1c:56c6) - ld a, [wTownMapSpriteBlinkingCounter] + ld a, [wAnimCounter] inc a cp 25 jr z, .hideSprites @@ -601,5 +601,5 @@ TownMapSpriteBlinkingAnimation: ; 716c6 (1c:56c6) jr nz, .hideSpritesLoop ld a, 25 .done - ld [wTownMapSpriteBlinkingCounter], a + ld [wAnimCounter], a jp DelayFrame diff --git a/home.asm b/home.asm index f6a1c914..f7da6e3a 100644 --- a/home.asm +++ b/home.asm @@ -3928,7 +3928,7 @@ HandleMenuInputPokemonSelection:: ; 3ac2 (0:3ac2) ld [H_DOWNARROWBLINKCNT2],a ; blinking down arrow timing value 2 .loop1 xor a - ld [wPartyMonAnimCounter],a ; counter for pokemon shaking animation + ld [wAnimCounter],a ; counter for pokemon shaking animation call PlaceMenuCursor call Delay3 .loop2 diff --git a/home/init.asm b/home/init.asm index 5a74dca9..b3f31944 100644 --- a/home/init.asm +++ b/home/init.asm @@ -31,8 +31,8 @@ rLCDC_DEFAULT EQU %11100011 ld [$ff4a], a ld [$ff06], a ld [$ff07], a - ld [$ff47], a - ld [$ff48], a + ld [rBGP], a + ld [rOBP0], a ld [$ff49], a ld a, rLCDC_ENABLE_MASK diff --git a/scripts/celadongamecorner.asm b/scripts/celadongamecorner.asm index 6887c9c4..64701f08 100755 --- a/scripts/celadongamecorner.asm +++ b/scripts/celadongamecorner.asm @@ -12,7 +12,7 @@ CeladonGameCornerScript_48bcf: ; 48bcf (12:4bcf) res 6, [hl] ret z call Random - ld a, [$ffd3] + ld a, [hRandomAdd] cp $7 jr nc, .asm_48be2 ld a, $8 @@ -20,7 +20,7 @@ CeladonGameCornerScript_48bcf: ; 48bcf (12:4bcf) srl a srl a srl a - ld [wUnknownSlotVar], a + ld [wLuckySlotHiddenObjectIndex], a ret CeladonGameCornerScript_48bec: ; 48bec (12:4bec) diff --git a/wram.asm b/wram.asm index a1b9f1d3..c1002fcd 100755 --- a/wram.asm +++ b/wram.asm @@ -357,6 +357,13 @@ wNPCMovementScriptBank:: ; cc58 ds 2 +wSlotMachineSevenAndBarModeChance:: ; cc5b +; If a random number greater than this value is generated, then the player is +; allowed to have three 7 symbols or bar symbols line up. +; So, this value is actually the chance of NOT entering that mode. +; If the slot is lucky, it equals 250, giving a 5/256 (~2%) chance. +; Otherwise, it equals 253, giving a 2/256 (~0.8%) chance. + wHallOfFame:: ; cc5b wBoostExpByExpAll:: ; cc5b wAnimationType:: ; cc5b @@ -365,7 +372,12 @@ wAnimationType:: ; cc5b wcc5b:: ds 1 ; these upcoming values below are miscellaneous storage values wcc5c:: ds 1 ; used in pokedex evaluation as well wcc5d:: ds 1 ; used in pokedex evaluation -wcc5e:: ds 13 ; as well as used as miscellaneous storage value, this is also used for the game corner slots + +wSlotMachineSavedROMBank:: ; cc5e +; ROM back to return to when the player is done with the slot machine + ds 1 + + ds 12 wcc6b:: ds 14 ; doesn't seem to be used for anything, probably just more storage wcc79:: ds 30 ; used in battle animations @@ -463,7 +475,7 @@ wPlayerMonMinimized:: ds 1 ; ccf7 ds 13 -wUnknownSlotVar:: ; cd05 +wLuckySlotHiddenObjectIndex:: ; cd05 wEnemyNumHits:: ; cd05 ; number of hits by enemy in attacks like Double Slap, etc. @@ -588,6 +600,10 @@ wOverrideSimulatedJoypadStatesMask:: ; cd3b ds 1 +wStoppingWhichSlotMachineWheel:: ; cd3d +; which wheel the player is trying to stop +; 0 = none, 1 = wheel 1, 2 = wheel 2, 3 or greater = wheel 3 + wTradedPlayerMonSpecies:: ; cd3d wTradingWhichPlayerMon:: ; cd3d @@ -611,6 +627,8 @@ wWhichTrade:: ; cd3d wTrainerSpriteOffset:: ; cd3d ds 1 +wSlotMachineWheel1Offset:: ; cd3e + wTradedEnemyMonSpecies:: ; cd3e wTradingWhichEnemyMon:: ; cd3e @@ -626,6 +644,8 @@ wHiddenObjectFunctionRomBank:: ; cd3e wTrainerEngageDistance:: ; cd3e ds 1 +wSlotMachineWheel2Offset:: ; cd3f + wNameOfPlayerMonToBeTraded:: ; cd3f wFlyAnimBirdSpriteImageIndex:: ; cd3f @@ -640,6 +660,8 @@ wTrainerFacingDirection:: ; cd3f wcd3f:: ; used with daycare text for money amount ds 1 +wSlotMachineWheel3Offset:: ; cd40 + wPlayerSpinInPlaceAnimSoundID:: ; cd40 wHiddenObjectY:: ; cd40 @@ -651,30 +673,89 @@ wTradedPlayerMonOT:: ; cd41 wHiddenObjectX:: ; cd41 +wSlotMachineWinningSymbol:: ; cd42 +; the OAM tile number of the upper left corner of the winning symbol minus 2 + +wSlotMachineWheel1BottomTile:: ; cd41 + wTrainerScreenX:: ; cd41 ds 1 ; a lot of the uses for these values use more than the said address +wSlotMachineWheel1MiddleTile:: ; cd42 + wcd42:: ds 1 ; used in pewter center script, printing field mon moves, slot machines and HoF PC + +wSlotMachineWheel1TopTile:: ; cd43 + wcd43:: ds 1 ; slot machine stuff and GetMonFieldMoves -wcd44:: ds 1 ; just slot machine -wcd45:: ds 1 ; slot machine... -wcd46:: ds 1 ; slot machine... + +wSlotMachineWheel2BottomTile:: ; cd44 + ds 1 + +wSlotMachineWheel2MiddleTile:: ; cd45 + ds 1 + +wTempCoins1:: ; cd46 +; 2 bytes +; temporary variable used to add payout amount to the player's coins + +wSlotMachineWheel2TopTile:: ; cd46 + ds 1 + +wSlotMachineWheel3BottomTile:: ; cd47 + wcd47:: ds 1 ; used in slot machine and spinning player sprite + +wSlotMachineWheel3MiddleTile:: ; cd48 + wcd48:: ds 1 ; same as above + +wSlotMachineWheel3TopTile:: ; cd49 + wcd49:: ds 1 ; used in slot machine, displaying the gym leaders/badges on the trainer card, and displaying the town map -wcd4a:: ds 1 ; probably used in one of the above mentioned functions -wcd4b:: ds 1 ; same as above + +wTempCoins2:: ; cd4a +; 2 bytes +; temporary variable used to subtract the bet amount from the player's coins + +wPayoutCoins:: ; cd4a +; 2 bytes + ds 1 + +wcd4b:: ; cd4b +; used in player animations + ds 1 wTradedPlayerMonOTID:: ; cd4c -wcd4c:: ds 1 ; slot machine and probably other above stuff +wSlotMachineFlags:: ; cd4c +; These flags are set randomly and control when the wheels stop. +; bit 6: allow the player to win in general +; bit 7: allow the player to win with 7 or bar (plus the effect of bit 6) + ds 1 + +wSlotMachineWheel1SlipCounter:: ; cd4d +; wheel 1 can "slip" while this is non-zero + wcd4d:: ds 1 ; used with cut and slot machine +wSlotMachineWheel2SlipCounter:: ; cd4e +; wheel 2 can "slip" while this is non-zero + wTradedEnemyMonOT:: ; cd4e wcd4e:: ds 1 ; used with in-game trades and slot machine + +wSlotMachineRerollCounter:: ; cd4f +; The remaining number of times wheel 3 will roll down a symbol until a match is +; found, when winning is enabled. It's initialized to 4 each bet. + wcd4f:: ds 1 ; used with in-game trades, emotion bubbles, and player animations + +wSlotMachineBet:: ; cd50 +; how many coins the player bet on the slot machine (1 to 3) + wcd50:: ds 9 ; used with in-game trades, emotion bubbles, and player and miscellaneous sprite animations wTradedEnemyMonOTID:: ; cd59 @@ -1194,9 +1275,8 @@ wTradedMonMovingRight:: ; d08a wd08a:: ds 1 ; used with sprites and displaying the option menu on the main menu screen? -wTownMapSpriteBlinkingCounter:: ; d08b - -wPartyMonAnimCounter:: ; d08b +wAnimCounter:: ; d08b +; generic counter variable for various animations W_SUBANIMTRANSFORM:: ; d08b ; controls what transformations are applied to the subanimation @@ -1222,6 +1302,13 @@ wEndBattleTextRomBank:: ; d092 W_SUBANIMADDRPTR:: ; d094 ; the address _of the address_ of the current subanimation entry ds 2 + +wSlotMachineAllowMatchesCounter:: ; d096 +; If non-zero, the allow matches flag is always set. +; There is a 1/256 (~0.4%) chance that this value will be set to 60, which is +; the only way it can increase. Winning certain payout amounts will decrement it +; or zero it. + W_SUBANIMSUBENTRYADDR:: ; d096 ; the address of the current subentry of the current subanimation ds 2 -- cgit v1.3.1-sl0p From 07dd7056372288de7bb5b64f9416d741adb3b499 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Tue, 14 Jul 2015 19:46:52 -0700 Subject: hall of fame / credits --- constants/misc_constants.asm | 2 +- engine/HoF_room_pc.asm | 124 +++++++++++++++++++++++-------------------- engine/battle/animations.asm | 2 +- engine/battle/core.asm | 4 +- engine/hall_of_fame.asm | 118 ++++++++++++++++++++-------------------- engine/menu/bills_pc.asm | 6 +-- engine/menu/league_pc.asm | 44 +++++++-------- engine/menu/main_menu.asm | 8 +-- engine/oak_speech.asm | 10 ++-- engine/overworld/cut.asm | 4 +- engine/overworld/cut2.asm | 2 +- engine/save.asm | 8 +-- engine/titlescreen.asm | 6 +-- engine/titlescreen2.asm | 4 +- home.asm | 6 +-- home/init.asm | 2 +- home/text.asm | 6 +-- scripts/halloffameroom.asm | 4 +- scripts/vermiliondock.asm | 4 +- sram.asm | 2 +- wram.asm | 34 ++++++++++-- 21 files changed, 221 insertions(+), 179 deletions(-) (limited to 'home/init.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index eca97408..2495f17f 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -8,7 +8,7 @@ NUM_BOXES EQU 12 HOF_MON EQU $10 HOF_TEAM EQU PARTY_LENGTH * HOF_MON -NUM_HOF_TEAMS EQU 50 +HOF_TEAM_CAPACITY EQU 50 A_BUTTON EQU %00000001 diff --git a/engine/HoF_room_pc.asm b/engine/HoF_room_pc.asm index 98c77903..77a07ea3 100755 --- a/engine/HoF_room_pc.asm +++ b/engine/HoF_room_pc.asm @@ -6,10 +6,10 @@ HallOfFamePC: ; 7405c (1d:405c) call DisableLCD ld hl, vFont ld bc, $800 / 2 - call Func_74171 + call ZeroMemory ld hl, vChars2 + $600 ld bc, $200 / 2 - call Func_74171 + call ZeroMemory ld hl, vChars2 + $7e0 ld bc, $10 ld a, $ff @@ -30,12 +30,12 @@ HallOfFamePC: ; 7405c (1d:405c) call DelayFrames xor a ld [wWhichTrade], a - ld [wTrainerEngageDistance], a + ld [wNumCreditsMonsDisplayed], a jp Credits -Func_740ba: ; 740ba (1d:40ba) +FadeInCreditsText: ; 740ba (1d:40ba) ld hl, HoFGBPalettes - ld b, $4 + ld b, 4 .asm_740bf ld a, [hli] ld [rBGP], a @@ -52,7 +52,7 @@ DisplayCreditsMon: ; 740cb (1d:40cb) call FillMiddleOfScreenWithWhite ; display the next monster from CreditsMons - ld hl,wTrainerEngageDistance + ld hl,wNumCreditsMonsDisplayed ld c,[hl] ; how many monsters have we displayed so far? inc [hl] ld b,0 @@ -65,62 +65,69 @@ DisplayCreditsMon: ; 740cb (1d:40cb) call GetMonHeader call LoadFrontSpriteByMonIndex ld hl,vBGMap0 + $c - call Func_74164 + call CopyTileMapToVRAM xor a ld [H_AUTOBGTRANSFERENABLED],a call LoadScreenTilesFromBuffer1 ld hl,vBGMap0 - call Func_74164 + call CopyTileMapToVRAM ld a,$A7 - ld [$FF4B],a + ld [rWX],a ld hl,vBGMap1 - call Func_74164 + call CopyTileMapToVRAM call FillMiddleOfScreenWithWhite - ld a,$FC + ld a,%11111100 ; make the mon a black silhouette ld [rBGP],a + +; scroll the mon left by one tile 7 times ld bc,7 -.next - call Func_74140 +.scrollLoop1 + call ScrollCreditsMonLeft dec c - jr nz,.next - ld c,$14 -.next2 - call Func_74140 - ld a,[$FF4B] + jr nz,.scrollLoop1 + +; scroll the mon left by one tile 20 times +; This time, we have to move the window left too in order to hide the text that +; is wrapping around to the right side of the screen. + ld c,20 +.scrollLoop2 + call ScrollCreditsMonLeft + ld a,[rWX] sub 8 - ld [$FF4B],a + ld [rWX],a dec c - jr nz,.next2 + jr nz,.scrollLoop2 + xor a ld [hWY],a - ld a,$C0 + ld a,%11000000 ld [rBGP],a ret INCLUDE "data/credit_mons.asm" -Func_74140: ; 74140 (1d:4140) +ScrollCreditsMonLeft: ; 74140 (1d:4140) ld h, b ld l, $20 - call Func_74152 + call ScrollCreditsMonLeft_SetSCX ld h, $0 ld l, $70 - call Func_74152 + call ScrollCreditsMonLeft_SetSCX ld a, b add $8 ld b, a ret -Func_74152: ; 74152 (1d:4152) - ld a, [$ff44] +ScrollCreditsMonLeft_SetSCX: ; 74152 (1d:4152) + ld a, [rLY] cp l - jr nz, Func_74152 + jr nz, ScrollCreditsMonLeft_SetSCX ld a, h ld [rSCX], a -.asm_7415a - ld a, [$ff44] +.loop + ld a, [rLY] cp h - jr z, .asm_7415a + jr z, .loop ret HoFGBPalettes: ; 74160 (1d:4160) @@ -129,7 +136,7 @@ HoFGBPalettes: ; 74160 (1d:4160) db %11100000 db %11110000 -Func_74164: ; 74164 (1d:4164) +CopyTileMapToVRAM: ; 74164 (1d:4164) ld a, l ld [H_AUTOBGTRANSFERDEST], a ld a, h @@ -138,14 +145,15 @@ Func_74164: ; 74164 (1d:4164) ld [H_AUTOBGTRANSFERENABLED], a jp Delay3 -Func_74171: ; 74171 (1d:4171) - ld [hl], $0 +ZeroMemory: ; 74171 (1d:4171) +; zero bc bytes at hl + ld [hl], 0 inc hl inc hl dec bc ld a, b or c - jr nz, Func_74171 + jr nz, ZeroMemory ret FillFourRowsWithBlack: ; 7417b (1d:417b) @@ -162,26 +170,26 @@ FillMiddleOfScreenWithWhite: ; 74183 (1d:4183) Credits: ; 7418e (1d:418e) ld de, CreditsOrder push de -.asm_74192 +.nextCreditsScreen pop de hlCoord 9, 6 push hl call FillMiddleOfScreenWithWhite pop hl -.asm_7419b +.nextCreditsCommand ld a, [de] inc de push de cp $ff - jr z, .asm_741d5 + jr z, .fadeInTextAndShowMon cp $fe - jr z, .asm_741dc + jr z, .showTextAndShowMon cp $fd - jr z, .asm_741e6 + jr z, .fadeInText cp $fc - jr z, .asm_741ed + jr z, .showText cp $fb - jr z, .asm_741f4 + jr z, .showCopyrightText cp $fa jr z, .showTheEnd push hl @@ -189,7 +197,7 @@ Credits: ; 7418e (1d:418e) ld hl, CreditsTextPointers add a ld c, a - ld b, $0 + ld b, 0 add hl, bc ld e, [hl] inc hl @@ -205,32 +213,32 @@ Credits: ; 7418e (1d:418e) ld bc, SCREEN_WIDTH * 2 add hl, bc pop de - jr .asm_7419b -.asm_741d5 - call Func_740ba + jr .nextCreditsCommand +.fadeInTextAndShowMon + call FadeInCreditsText ld c, 90 - jr .asm_741de -.asm_741dc + jr .next1 +.showTextAndShowMon ld c, 110 -.asm_741de +.next1 call DelayFrames call DisplayCreditsMon - jr .asm_74192 -.asm_741e6 - call Func_740ba + jr .nextCreditsScreen +.fadeInText + call FadeInCreditsText ld c, 120 - jr .asm_741ef -.asm_741ed + jr .next2 +.showText ld c, 140 -.asm_741ef +.next2 call DelayFrames - jr .asm_74192 -.asm_741f4 + jr .nextCreditsScreen +.showCopyrightText push de callba LoadCopyrightTiles pop de pop de - jr .asm_7419b + jr .nextCreditsCommand .showTheEnd ld c, 16 call DelayFrames @@ -246,7 +254,7 @@ Credits: ; 7418e (1d:418e) hlCoord 4, 9 inc de call PlaceString - jp Func_740ba + jp FadeInCreditsText TheEndTextString: ; 74229 (1d:4229) ; "T H E E N D" diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index 32f98f19..9f725cc9 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -1973,7 +1973,7 @@ AnimationWavyScreen: ; 79666 (1e:5666) push hl .asm_79680 call Func_796ae - ld a, [$ff44] + ld a, [rLY] cp e jr nz, .asm_79680 pop hl diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 5ef94998..9535a8c5 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6856,7 +6856,7 @@ DetermineWildOpponent: ; 3ef23 (f:6f23) InitBattleCommon: ; 3ef3d (f:6f3d) ld a, [wMapPalOffset] push af - ld hl, wd358 + ld hl, wLetterPrintingDelayFlags ld a, [hl] push af res 1, [hl] @@ -6963,7 +6963,7 @@ InitBattle_Common: ; 3efeb (f:6feb) call StartBattle callab EndOfBattle pop af - ld [wd358], a + ld [wLetterPrintingDelayFlags], a pop af ld [wMapPalOffset], a ld a, [wd0d4] diff --git a/engine/hall_of_fame.asm b/engine/hall_of_fame.asm index 7882a226..81ccffdc 100755 --- a/engine/hall_of_fame.asm +++ b/engine/hall_of_fame.asm @@ -1,5 +1,5 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) - call Func_70423 + call HoFFadeOutScreenAndMusic call ClearScreen ld c, 100 call DelayFrames @@ -21,16 +21,16 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) ld [wUpdateSpritesEnabled], a ld [hTilesetType], a ld [W_SPRITEFLIPPED], a - ld [wd358], a - ld [wTrainerScreenY], a + ld [wLetterPrintingDelayFlags], a ; no delay + ld [wHoFMonOrPlayer], a ; mon inc a ld [H_AUTOBGTRANSFERENABLED], a - ld hl, wd5a2 + ld hl, wNumHoFTeams ld a, [hl] inc a - jr z, .asm_701eb + jr z, .skipInc ; don't wrap around to 0 inc [hl] -.asm_701eb +.skipInc ld a, $90 ld [hWY], a ld c, BANK(Music_HallOfFame) @@ -38,23 +38,23 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) call PlayMusic ld hl, wPartySpecies ld c, $ff -.asm_701fb +.partyMonLoop ld a, [hli] cp $ff - jr z, .asm_70241 + jr z, .doneShowingParty inc c push hl push bc - ld [wWhichTrade], a + ld [wHoFMonSpecies], a ld a, c - ld [wTrainerEngageDistance], a + ld [wHoFPartyMonIndex], a ld hl, wPartyMon1Level ld bc, wPartyMon2 - wPartyMon1 call AddNTimes ld a, [hl] - ld [wTrainerFacingDirection], a - call Func_70278 - call Func_702e1 + ld [wHoFMonLevel], a + call HoFShowMonOrPlayer + call HoFDisplayAndRecordMonInfo ld c, 80 call DelayFrames hlCoord 2, 13 @@ -69,8 +69,8 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) call GBFadeOutToWhite pop bc pop hl - jr .asm_701fb -.asm_70241 + jr .partyMonLoop +.doneShowingParty ld a, c inc a ld hl, wHallOfFame @@ -79,12 +79,12 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) ld [hl], $ff call SaveHallOfFameTeams xor a - ld [wWhichTrade], a + ld [wHoFMonSpecies], a inc a - ld [wTrainerScreenY], a - call Func_70278 + ld [wHoFMonOrPlayer], a ; player + call HoFShowMonOrPlayer call HoFDisplayPlayerStats - call Func_70423 + call HoFFadeOutScreenAndMusic xor a ld [hWY], a ld hl, rLCDC @@ -94,69 +94,72 @@ AnimateHallOfFame: ; 701a0 (1c:41a0) HallOfFameText: ; 7026b (1c:426b) db "HALL OF FAME@" -Func_70278: ; 70278 (1c:4278) +HoFShowMonOrPlayer: ; 70278 (1c:4278) call ClearScreen ld a, $d0 ld [hSCY], a ld a, $c0 ld [hSCX], a - ld a, [wWhichTrade] + ld a, [wHoFMonSpecies] ld [wcf91], a ld [wd0b5], a ld [wBattleMonSpecies2], a ld [wcf1d], a - ld a, [wTrainerScreenY] + ld a, [wHoFMonOrPlayer] and a - jr z, .asm_7029d + jr z, .showMon +; show player call HoFLoadPlayerPics - jr .asm_702ab -.asm_7029d + jr .next1 +.showMon hlCoord 12, 5 call GetMonHeader call LoadFrontSpriteByMonIndex predef LoadMonBackPic -.asm_702ab +.next1 ld b, $b ld c, $0 call GoPAL_SET - ld a, $e4 + ld a, %11100100 ld [rBGP], a - ld c, $31 - call Func_7036d + ld c, $31 ; back pic + call HoFLoadMonPlayerPicTileIDs ld d, $a0 - ld e, $4 + ld e, 4 ld a, [wOnSGB] and a - jr z, .asm_702c7 - sla e -.asm_702c7 - call .asm_702d5 + jr z, .next2 + sla e ; scroll more slowly on SGB +.next2 + call .ScrollPic ; scroll back pic left xor a ld [hSCY], a - ld c, a - call Func_7036d - ld d, $0 - ld e, $fc -.asm_702d5 + ld c, a ; front pic + call HoFLoadMonPlayerPicTileIDs + ld d, 0 + ld e, -4 +; scroll front pic right + +.ScrollPic call DelayFrame ld a, [hSCX] add e ld [hSCX], a cp d - jr nz, .asm_702d5 + jr nz, .ScrollPic ret -Func_702e1: ; 702e1 (1c:42e1) - ld a, [wTrainerEngageDistance] +HoFDisplayAndRecordMonInfo: ; 702e1 (1c:42e1) + ld a, [wHoFPartyMonIndex] ld hl, wPartyMonNicks call GetPartyMonName - call Func_702f0 - jp Func_70404 + call HoFDisplayMonInfo + jp HoFRecordMonInfo -Func_702f0: ; 702f0 (1c:42f0) +HoFDisplayMonInfo: ; 702f0 (1c:42f0) hlCoord 0, 2 - ld b, $9 - ld c, $a + ld b, 9 + ld c, 10 call TextBoxBorder hlCoord 2, 6 ld de, HoFMonInfoText @@ -164,14 +167,14 @@ Func_702f0: ; 702f0 (1c:42f0) hlCoord 1, 4 ld de, wcd6d call PlaceString - ld a, [wTrainerFacingDirection] + ld a, [wHoFMonLevel] hlCoord 8, 7 call PrintLevelCommon - ld a, [wWhichTrade] + ld a, [wHoFMonSpecies] ld [wd0b5], a hlCoord 3, 9 predef PrintMonType - ld a, [wWhichTrade] + ld a, [wHoFMonSpecies] jp PlayCry HoFMonInfoText: ; 70329 (1c:4329) @@ -197,8 +200,9 @@ HoFLoadPlayerPics: ; 7033e (1c:433e) call InterlaceMergeSpriteBuffers ld c, $1 -Func_7036d: ; 7036d (1c:436d) - ld b, $0 +HoFLoadMonPlayerPicTileIDs: ; 7036d (1c:436d) +; c = base tile ID + ld b, 0 hlCoord 12, 5 predef_jump CopyTileIDsFromList @@ -261,14 +265,14 @@ DexRatingText: ; 703ff (1c:43ff) TX_FAR _DexRatingText db "@" -Func_70404: ; 70404 (1c:4404) +HoFRecordMonInfo: ; 70404 (1c:4404) ld hl, wHallOfFame ld bc, HOF_MON - ld a, [wTrainerEngageDistance] + ld a, [wHoFPartyMonIndex] call AddNTimes - ld a, [wWhichTrade] + ld a, [wHoFMonSpecies] ld [hli], a - ld a, [wTrainerFacingDirection] + ld a, [wHoFMonLevel] ld [hli], a ld e, l ld d, h @@ -276,7 +280,7 @@ Func_70404: ; 70404 (1c:4404) ld bc, $b jp CopyData -Func_70423: ; 70423 (1c:4423) +HoFFadeOutScreenAndMusic: ; 70423 (1c:4423) ld a, $a ld [wcfc8], a ld [wcfc9], a diff --git a/engine/menu/bills_pc.asm b/engine/menu/bills_pc.asm index fcc51af1..ec7d728a 100644 --- a/engine/menu/bills_pc.asm +++ b/engine/menu/bills_pc.asm @@ -2,13 +2,13 @@ Func_213c8:: ; 213c8 (8:53c8) xor a ld [H_AUTOBGTRANSFERENABLED], a call SaveScreenTilesToBuffer2 - ld a, [wd5a2] + ld a, [wNumHoFTeams] and a jr nz, .asm_213f3 ld a, [wd74b] bit 5, a jr z, .asm_213ea - ld a, [wd5a2] + ld a, [wNumHoFTeams] and a jr nz, .asm_213f3 hlCoord 0, 0 @@ -53,7 +53,7 @@ Func_213c8:: ; 213c8 (8:53c8) hlCoord 2, 6 ld de, OaksPCText call PlaceString - ld a, [wd5a2] + ld a, [wNumHoFTeams] and a jr z, .asm_2145a ld a, $4 diff --git a/engine/menu/league_pc.asm b/engine/menu/league_pc.asm index a6dd7021..c38ab86b 100755 --- a/engine/menu/league_pc.asm +++ b/engine/menu/league_pc.asm @@ -13,30 +13,32 @@ PKMNLeaguePC: ; 0x7657e ld [W_SPRITEFLIPPED], a ld [wUpdateSpritesEnabled], a ld [wTrainerScreenX], a - ld [wcd42], a - ld a, [wd5a2] + ld [wHoFTeamNo], a + ld a, [wNumHoFTeams] ld b, a - cp NUM_HOF_TEAMS + 1 - jr c, .first - ld b, NUM_HOF_TEAMS + cp HOF_TEAM_CAPACITY + 1 + jr c, .loop +; If the total number of hall of fame teams is greater than the storage +; capacity, then calculate the number of the first team that is still recorded. + ld b, HOF_TEAM_CAPACITY sub b - ld [wcd42], a -.first - ld hl, wcd42 + ld [wHoFTeamNo], a +.loop + ld hl, wHoFTeamNo inc [hl] push bc ld a, [wTrainerScreenX] - ld [wWhichTrade], a + ld [wHoFMonSpecies], a callba LoadHallOfFameTeams - call Func_765e5 + call LeaguePCShowTeam pop bc - jr c, .second + jr c, .doneShowingTeams ld hl, wTrainerScreenX inc [hl] ld a, [hl] cp b - jr nz, .first -.second + jr nz, .loop +.doneShowingTeams pop af ld [hTilesetType], a pop af @@ -48,11 +50,11 @@ PKMNLeaguePC: ; 0x7657e call GoPAL_SET_CF1C jp GBPalNormal -Func_765e5: ; 765e5 (1d:65e5) +LeaguePCShowTeam: ; 765e5 (1d:65e5) ld c, PARTY_LENGTH .loop push bc - call Func_76610 + call LeaguePCShowMon call WaitForTextScrollButtonPress ld a, [hJoyHeld] bit 1, a @@ -75,18 +77,18 @@ Func_765e5: ; 765e5 (1d:65e5) scf ret -Func_76610: ; 76610 (1d:6610) +LeaguePCShowMon: ; 76610 (1d:6610) call GBPalWhiteOutWithDelay3 call ClearScreen ld hl, wHallOfFame ld a, [hli] - ld [wWhichTrade], a + ld [wHoFMonSpecies], a ld [wcf91], a ld [wd0b5], a ld [wBattleMonSpecies2], a ld [wcf1d], a ld a, [hli] - ld [wTrainerFacingDirection], a + ld [wHoFMonLevel], a ld de, wcd6d ld bc, $000B call CopyData @@ -105,11 +107,11 @@ Func_76610: ; 76610 (1d:6610) ld de, HallOfFameNoText call PlaceString hlCoord 16, 15 - ld de, wcd42 + ld de, wHoFTeamNo ld bc, $0103 call PrintNumber - ld b, BANK(Func_702f0) - ld hl, Func_702f0 + ld b, BANK(HoFDisplayMonInfo) + ld hl, HoFDisplayMonInfo jp Bankswitch HallOfFameNoText: ; 76670 (1d:6670) diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm index 0856352c..55c559f5 100755 --- a/engine/menu/main_menu.asm +++ b/engine/menu/main_menu.asm @@ -109,7 +109,7 @@ MainMenu: ; 5af2 (1:5af2) ld [wd52a],a ld c,10 call DelayFrames - ld a,[wd5a2] + ld a,[wNumHoFTeams] and a jp z,SpecialEnterMap ld a,[W_CURMAP] ; map ID @@ -124,14 +124,14 @@ MainMenu: ; 5af2 (1:5af2) Func_5bff: ; 5bff (1:5bff) ld a,1 - ld [wd358],a + ld [wLetterPrintingDelayFlags],a ld a,3 ld [W_OPTIONS],a ret LinkMenu: ; 5c0a (1:5c0a) xor a - ld [wd358], a + ld [wLetterPrintingDelayFlags], a ld hl, wd72e set 6, [hl] ld hl, TextTerminator_6b20 @@ -452,7 +452,7 @@ DisplayOptionMenu: ; 5e8a (1:5e8a) ld [wCurrentMenuItem],a ld [wLastMenuItem],a inc a - ld [wd358],a + ld [wLetterPrintingDelayFlags],a ld [wTrainerScreenY],a ld a,3 ; text speed cursor Y coordinate ld [wTopMenuItemY],a diff --git a/engine/oak_speech.asm b/engine/oak_speech.asm index f333586d..df092d4c 100755 --- a/engine/oak_speech.asm +++ b/engine/oak_speech.asm @@ -1,5 +1,5 @@ SetDefaultNames: ; 60ca (1:60ca) - ld a, [wd358] + ld a, [wLetterPrintingDelayFlags] push af ld a, [W_OPTIONS] push af @@ -18,7 +18,7 @@ SetDefaultNames: ; 60ca (1:60ca) pop af ld [W_OPTIONS], a pop af - ld [wd358], a + ld [wLetterPrintingDelayFlags], a ld a, [wd08a] and a call z, Func_5bff @@ -193,18 +193,18 @@ IntroFadePalettes: ; 6282 (1:6282) MovePicLeft: ; 6288 (1:6288) ld a,119 - ld [$FF4B],a + ld [rWX],a call DelayFrame ld a,$E4 ld [rBGP],a .next call DelayFrame - ld a,[$FF4B] + ld a,[rWX] sub 8 cp $FF ret z - ld [$FF4B],a + ld [rWX],a jr .next Predef3B: ; 62a1 (1:62a1) diff --git a/engine/overworld/cut.asm b/engine/overworld/cut.asm index 163b32e7..8f171545 100755 --- a/engine/overworld/cut.asm +++ b/engine/overworld/cut.asm @@ -26,7 +26,7 @@ UsedCut: ; ef54 (3:6f54) db "@" .asm_ef82 - ld [wcd4d], a + ld [wCutTile], a ld a, $1 ld [wcd6a], a ld a, [wWhichPokemon] @@ -76,7 +76,7 @@ AnimateCutTree: ; eff7 (3:6ff7) ld [wWhichAnimationOffsets], a ld a, $e4 ld [rOBP1], a - ld a, [wcd4d] + ld a, [wCutTile] cp $52 jr z, .asm_f020 ld de, Overworld_GFX + $2d0 ; cuttable tree sprite top row diff --git a/engine/overworld/cut2.asm b/engine/overworld/cut2.asm index 9cb011b4..3194b39b 100755 --- a/engine/overworld/cut2.asm +++ b/engine/overworld/cut2.asm @@ -1,5 +1,5 @@ Func_79e96: ; 79e96 (1e:5e96) - ld a, [wcd4d] + ld a, [wCutTile] cp $52 jr z, .asm_79ec8 ld c, $8 diff --git a/engine/save.asm b/engine/save.asm index 4849c53e..ac97e6ba 100755 --- a/engine/save.asm +++ b/engine/save.asm @@ -620,9 +620,9 @@ SAVCheckRandomID: ; 73ad1 (1c:7ad1) ret SaveHallOfFameTeams: ; 73b0d (1c:7b0d) - ld a, [wd5a2] + ld a, [wNumHoFTeams] dec a - cp NUM_HOF_TEAMS + cp HOF_TEAM_CAPACITY jr nc, .asm_73b28 ld hl, sHallOfFame ld bc, HOF_TEAM @@ -636,10 +636,10 @@ SaveHallOfFameTeams: ; 73b0d (1c:7b0d) .asm_73b28 ld hl, sHallOfFame + HOF_TEAM ld de, sHallOfFame - ld bc, HOF_TEAM * (NUM_HOF_TEAMS - 1) + ld bc, HOF_TEAM * (HOF_TEAM_CAPACITY - 1) call HallOfFame_Copy ld hl, wcc5b - ld de, sHallOfFame + HOF_TEAM * (NUM_HOF_TEAMS - 1) + ld de, sHallOfFame + HOF_TEAM * (HOF_TEAM_CAPACITY - 1) ld bc, HOF_TEAM jr HallOfFame_Copy diff --git a/engine/titlescreen.asm b/engine/titlescreen.asm index 69a3a20e..7230f08f 100755 --- a/engine/titlescreen.asm +++ b/engine/titlescreen.asm @@ -12,7 +12,7 @@ SetDefaultNamesBeforeTitlescreen: ; 42b7 (1:42b7) call CopyFixedLengthText xor a ld [hWY], a - ld [wd358], a + ld [wLetterPrintingDelayFlags], a ld hl, wd732 ld [hli], a ld [hli], a @@ -284,7 +284,7 @@ Func_44c1: ; 44c1 (1:44c1) Func_44cf: ; 44cf (1:44cf) .wait - ld a, [$ff44] ; rLY + ld a, [rLY] cp l jr nz, .wait @@ -292,7 +292,7 @@ Func_44cf: ; 44cf (1:44cf) ld [rSCX], a .wait2 - ld a, [$ff44] ; rLY + ld a, [rLY] cp h jr z, .wait2 ret diff --git a/engine/titlescreen2.asm b/engine/titlescreen2.asm index 57e5c3d5..61b97edc 100755 --- a/engine/titlescreen2.asm +++ b/engine/titlescreen2.asm @@ -69,7 +69,7 @@ _TitleScroll: ; 3726a (d:726a) .ScrollBetween ; 37292 (d:7292) .wait - ld a, [$ff44] ; rLY + ld a, [rLY] ; rLY cp l jr nz, .wait @@ -77,7 +77,7 @@ _TitleScroll: ; 3726a (d:726a) ld [rSCX], a .wait2 - ld a, [$ff44] ; rLY + ld a, [rLY] ; rLY cp h jr z, .wait2 ret diff --git a/home.asm b/home.asm index bf5ed9c3..7f1a790e 100644 --- a/home.asm +++ b/home.asm @@ -3538,18 +3538,18 @@ Divide:: ; 38b9 (0:38b9) ; This function is used to wait a short period after printing a letter to the ; screen unless the player presses the A/B button or the delay is turned off -; through the [wd730] or [wd358] flags. +; through the [wd730] or [wLetterPrintingDelayFlags] flags. PrintLetterDelay:: ; 38d3 (0:38d3) ld a,[wd730] bit 6,a ret nz - ld a,[wd358] + ld a,[wLetterPrintingDelayFlags] bit 1,a ret z push hl push de push bc - ld a,[wd358] + ld a,[wLetterPrintingDelayFlags] bit 0,a jr z,.waitOneFrame ld a,[W_OPTIONS] diff --git a/home/init.asm b/home/init.asm index b3f31944..932797ac 100644 --- a/home/init.asm +++ b/home/init.asm @@ -27,7 +27,7 @@ rLCDC_DEFAULT EQU %11100011 ld [$ff42], a ld [rSB], a ld [rSC], a - ld [$ff4b], a + ld [rWX], a ld [$ff4a], a ld [$ff06], a ld [$ff07], a diff --git a/home/text.asm b/home/text.asm index b77e1930..ebdc83f4 100644 --- a/home/text.asm +++ b/home/text.asm @@ -368,13 +368,13 @@ ProtectedDelay3:: ; 1b3a (0:1b3a) ret TextCommandProcessor:: ; 1b40 (0:1b40) - ld a,[wd358] + ld a,[wLetterPrintingDelayFlags] push af set 1,a ld e,a ld a,[$fff4] xor e - ld [wd358],a + ld [wLetterPrintingDelayFlags],a ld a,c ld [wcc3a],a ld a,b @@ -385,7 +385,7 @@ NextTextCommand:: ; 1b55 (0:1b55) cp a, "@" ; terminator jr nz,.doTextCommand pop af - ld [wd358],a + ld [wLetterPrintingDelayFlags],a ret .doTextCommand push hl diff --git a/scripts/halloffameroom.asm b/scripts/halloffameroom.asm index 1d522e60..afdd4e0c 100755 --- a/scripts/halloffameroom.asm +++ b/scripts/halloffameroom.asm @@ -21,13 +21,13 @@ HallofFameRoomScript3: ; 5a4ba (16:64ba) HallofFameRoomScript2: ; 5a4bb (16:64bb) call Delay3 - ld a, [wd358] + ld a, [wLetterPrintingDelayFlags] push af xor a ld [wJoyIgnore], a predef HallOfFamePC pop af - ld [wd358], a + ld [wLetterPrintingDelayFlags], a ld hl, W_FLAGS_D733 res 1, [hl] inc hl diff --git a/scripts/vermiliondock.asm b/scripts/vermiliondock.asm index f070d377..361f4997 100755 --- a/scripts/vermiliondock.asm +++ b/scripts/vermiliondock.asm @@ -167,13 +167,13 @@ VermilionDock_1dc7c: ; 1dc7c (7:5c7c) ld h, $0 ld l, $80 .asm_1dc86 - ld a, [$ff44] + ld a, [rLY] cp l jr nz, .asm_1dc86 ld a, h ld [$ff43], a .asm_1dc8e - ld a, [$ff44] + ld a, [rLY] cp h jr z, .asm_1dc8e ret diff --git a/sram.asm b/sram.asm index f20f8adf..9d498df9 100644 --- a/sram.asm +++ b/sram.asm @@ -6,7 +6,7 @@ S_SPRITEBUFFER2:: ds SPRITEBUFFERSIZE ; a310 ds $100 -sHallOfFame:: ds HOF_TEAM * NUM_HOF_TEAMS ; a598 +sHallOfFame:: ds HOF_TEAM * HOF_TEAM_CAPACITY ; a598 SECTION "Save Data", SRAM, BANK[1] diff --git a/wram.asm b/wram.asm index c150b6c6..61dba700 100755 --- a/wram.asm +++ b/wram.asm @@ -601,6 +601,8 @@ wOverrideSimulatedJoypadStatesMask:: ; cd3b ds 1 +wHoFMonSpecies:: ; cd3d + wFieldMoves:: ; cd3d ; 4 bytes ; the current mon's field moves @@ -642,6 +644,11 @@ wWhichTrade:: ; cd3d wTrainerSpriteOffset:: ; cd3d ds 1 +wHoFPartyMonIndex:: ; cd3e + +wNumCreditsMonsDisplayed:: ; cd3e +; the number of credits mons that have been displayed so far + wBadgeNameTile:: ; cd3e ; first tile ID of the name being drawn @@ -665,6 +672,8 @@ wHiddenObjectFunctionRomBank:: ; cd3e wTrainerEngageDistance:: ; cd3e ds 1 +wHoFMonLevel:: ; cd3f + wBadgeOrFaceTiles:: ; cd3f ; 8 bytes ; a list of the first tile IDs of each badge or face (depending on whether the @@ -686,6 +695,11 @@ wTrainerFacingDirection:: ; cd3f wcd3f:: ; used with daycare text for money amount ds 1 +wHoFMonOrPlayer:: ; cd40 +; show mon or show player? +; 0 = mon +; 1 = player + wSlotMachineWheel3Offset:: ; cd40 wPlayerSpinInPlaceAnimSoundID:: ; cd40 @@ -710,6 +724,8 @@ wTrainerScreenX:: ; cd41 ds 1 ; a lot of the uses for these values use more than the said address +wHoFTeamNo:: ; cd42 + wSlotMachineWheel1MiddleTile:: ; cd42 wFieldMovesLeftmostXCoord:: ; cd42 @@ -776,7 +792,10 @@ wSlotMachineFlags:: ; cd4c wSlotMachineWheel1SlipCounter:: ; cd4d ; wheel 1 can "slip" while this is non-zero -wcd4d:: ds 1 ; used with cut and slot machine +wCutTile:: ; cd4d +; $3d = tree tile +; $52 = grass tile + ds 1 wSlotMachineWheel2SlipCounter:: ; cd4e ; wheel 2 can "slip" while this is non-zero @@ -1695,7 +1714,12 @@ W_OBTAINEDBADGES:: ; d356 ds 1 -wd358:: ds 1 ; bit 0 set = no delay when printing text (W_OPTIONS is still checked though) +wLetterPrintingDelayFlags:: ; d358 +; bit 0: If 0, limit the delay to 1 frame. Note that this has no effect if +; the delay has been disabled entirely through bit 1 of this variable +; or bit 6 of wd730. +; bit 1: If 0, no delay. + ds 1 wPlayerID:: ; d359 ds 2 @@ -1904,7 +1928,11 @@ wBoxItems:: ; d53b ds 1 ; end wd5a0:: ds 2 ; current box number -wd5a2:: ds 1 ; number of HOF teams + +wNumHoFTeams:: ; d5a2 +; number of HOF teams + ds 1 + wd5a3:: ds 1 ; unused? (written to when loading map data) wPlayerCoins:: ; d5a4 -- cgit v1.3.1-sl0p From c169073eed4f0362ef42170098a141a2fcbd71d0 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 18 Jul 2015 20:49:52 -0700 Subject: misc --- constants/misc_constants.asm | 1 - engine/HoF_room_pc.asm | 2 +- engine/battle/animations.asm | 10 +- engine/battle/core.asm | 2 +- engine/battle/experience.asm | 2 +- engine/battle/init_battle_variables.asm | 2 +- engine/cable_club.asm | 2 +- engine/evolution.asm | 67 ++++++------ engine/evos_moves.asm | 68 +++++++----- engine/experience.asm | 84 ++++++++------- engine/game_corner_slots.asm | 2 +- engine/game_corner_slots2.asm | 4 +- engine/give_pokemon.asm | 25 +++-- engine/hidden_object_functions17.asm | 6 +- engine/hidden_object_functions7.asm | 2 +- engine/items/itemfinder.asm | 32 +++--- engine/items/items.asm | 36 +++---- engine/menu/league_pc.asm | 8 +- engine/menu/main_menu.asm | 120 +++++++++++---------- engine/menu/pokedex.asm | 18 ++-- engine/menu/prize_menu.asm | 10 +- engine/menu/status_screen.asm | 43 ++++---- engine/oak_speech.asm | 4 +- engine/oam_dma.asm | 2 +- engine/overworld/hidden_items.asm | 44 ++++---- engine/overworld/hidden_objects.asm | 10 +- engine/overworld/movement.asm | 17 ++- engine/palettes.asm | 46 ++++---- engine/predefs.asm | 8 +- engine/save.asm | 181 +++++++++++++++++--------------- engine/slot_machine.asm | 2 +- engine/titlescreen.asm | 2 +- home/init.asm | 16 +-- hram.asm | 4 + macros.asm | 2 +- main.asm | 8 +- scripts/agatha.asm | 2 +- scripts/bruno.asm | 2 +- scripts/ceruleancity.asm | 2 +- scripts/daycarem.asm | 144 +++++++++++++------------ scripts/lance.asm | 2 +- scripts/lorelei.asm | 2 +- scripts/mansion3.asm | 2 +- scripts/mtmoonpokecenter.asm | 36 +++---- scripts/museum1f.asm | 8 +- scripts/oakslab.asm | 20 ++-- scripts/pewterpokecenter.asm | 34 +++--- scripts/safarizoneentrance.asm | 2 +- scripts/seafoamislands1.asm | 4 +- scripts/seafoamislands2.asm | 4 +- scripts/seafoamislands3.asm | 4 +- scripts/seafoamislands4.asm | 4 +- scripts/seafoamislands5.asm | 4 +- scripts/silphco7.asm | 2 +- scripts/vermiliondock.asm | 47 +++++---- scripts/victoryroad2.asm | 2 +- scripts/victoryroad3.asm | 8 +- sram.asm | 8 +- text/maps/daycare_1.asm | 20 ++-- text/maps/daycare_2.asm | 14 +-- wram.asm | 86 +++++++++++++-- 61 files changed, 743 insertions(+), 612 deletions(-) (limited to 'home/init.asm') diff --git a/constants/misc_constants.asm b/constants/misc_constants.asm index 5eecb38f..c06e7a65 100644 --- a/constants/misc_constants.asm +++ b/constants/misc_constants.asm @@ -10,7 +10,6 @@ HOF_MON EQU $10 HOF_TEAM EQU PARTY_LENGTH * HOF_MON HOF_TEAM_CAPACITY EQU 50 - A_BUTTON EQU %00000001 B_BUTTON EQU %00000010 SELECT EQU %00000100 diff --git a/engine/HoF_room_pc.asm b/engine/HoF_room_pc.asm index dc05814a..06c926db 100755 --- a/engine/HoF_room_pc.asm +++ b/engine/HoF_room_pc.asm @@ -29,7 +29,7 @@ HallOfFamePC: ; 7405c (1d:405c) ld c, 128 call DelayFrames xor a - ld [wWhichTrade], a + ld [wNumCreditsMonsDisplayed - 1], a ; not read ld [wNumCreditsMonsDisplayed], a jp Credits diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index 6803c38b..d21e07e5 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -796,9 +796,9 @@ DoBallShakeSpecialEffects: ; 78f96 (1e:4f96) dec a ret nz ; if it's the end of the ball shaking subanimation, check if more shakes are left and restart the subanimation - ld a,[wWhichTrade] ; number of shakes + ld a,[wNumShakes] ; number of shakes dec a ; decrement number of shakes - ld [wWhichTrade],a + ld [wNumShakes],a ret z ; if there are shakes left, restart the subanimation ld a,[W_SUBANIMSUBENTRYADDR] @@ -1998,11 +1998,11 @@ AnimationWavyScreen: ; 79666 (1e:5666) ret Func_796ae: ; 796ae (1e:56ae) - ld a, [$ff41] + ld a, [rSTAT] and $3 jr nz, Func_796ae ld a, [hl] - ld [$ff43], a + ld [rSCX], a inc hl ld a, [hl] cp d @@ -2895,7 +2895,7 @@ TossBallAnimation: ; 79e16 (1e:5e16) ; store these for later ld a,b and a,$F - ld [wWhichTrade],a + ld [wNumShakes],a ld hl,.PokeBallAnimations ; choose which toss animation to use diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 5deeb4dc..3cf3c9e9 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6298,7 +6298,7 @@ LoadEnemyMonData: ; 3eb01 (f:6b01) dec de dec de xor a - ld [wHPBarMaxHP], a + ld [wLearningMovesFromDayCare], a predef WriteMonMoves ; get moves based on current level .loadMovePPs ld hl, wEnemyMonMoves diff --git a/engine/battle/experience.asm b/engine/battle/experience.asm index 11a1e87c..6ec8c463 100644 --- a/engine/battle/experience.asm +++ b/engine/battle/experience.asm @@ -254,7 +254,7 @@ GainExperience: ; 5524f (15:524f) ld a, [wd0b5] ld [wd11e], a predef LearnMoveFromLevelUp - ld hl, wccd3 + ld hl, wCanEvolveFlags ld a, [wWhichPokemon] ld c, a ld b, $1 diff --git a/engine/battle/init_battle_variables.asm b/engine/battle/init_battle_variables.asm index 74df62aa..f10e9f5e 100644 --- a/engine/battle/init_battle_variables.asm +++ b/engine/battle/init_battle_variables.asm @@ -19,7 +19,7 @@ InitBattleVariables: ; 525af (14:65af) ld hl, wcf1d ld [hli], a ld [hl], a - ld hl, wccd3 + ld hl, wCanEvolveFlags ld b, $3c .loop ld [hli], a diff --git a/engine/cable_club.asm b/engine/cable_club.asm index fbdb6260..9ccffdbb 100755 --- a/engine/cable_club.asm +++ b/engine/cable_club.asm @@ -297,7 +297,7 @@ CallCurrentTradeCenterFunction: ld b, 0 ld a, [wTradeCenterPointerTableIndex] cp $ff - jp z, LoadTitlescreenGraphics + jp z, DisplayTitleScreen add a ld c, a add hl, bc diff --git a/engine/evolution.asm b/engine/evolution.asm index 9ed38c21..d110110a 100755 --- a/engine/evolution.asm +++ b/engine/evolution.asm @@ -20,11 +20,11 @@ EvolveMon: ; 7bde9 (1e:7de9) xor a ld [H_AUTOBGTRANSFERENABLED], a ld [hTilesetType], a - ld a, [wHPBarMaxHP] + ld a, [wEvoOldSpecies] ld [wcf1d], a ld c, $0 call EvolutionSetWholeScreenPalette - ld a, [wHPBarMaxHP + 1] + ld a, [wEvoNewSpecies] ld [wcf91], a ld [wd0b5], a call Evolution_LoadPic @@ -32,13 +32,13 @@ EvolveMon: ; 7bde9 (1e:7de9) ld hl, vBackPic ld bc, 7 * 7 call CopyVideoData - ld a, [wHPBarMaxHP] + ld a, [wEvoOldSpecies] ld [wcf91], a ld [wd0b5], a call Evolution_LoadPic ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a - ld a, [wHPBarMaxHP] + ld a, [wEvoOldSpecies] call PlayCry call WaitForSoundToFinish ld c, BANK(Music_SafariZone) @@ -49,23 +49,23 @@ EvolveMon: ; 7bde9 (1e:7de9) ld c, $1 call EvolutionSetWholeScreenPalette ld bc, $110 -.asm_7be63 +.animLoop push bc call Evolution_CheckForCancel jr c, .evolutionCancelled - call Func_7bec2 + call Evolution_BackAndForthAnim pop bc inc b dec c dec c - jr nz, .asm_7be63 + jr nz, .animLoop xor a - ld [wHPBarOldHP + 1], a + ld [wEvoCancelled], a ld a, $31 - ld [wHPBarOldHP], a - call Func_7bed6 - ld a, [wHPBarMaxHP + 1] -.afterCancellation + ld [wEvoMonTileOffset], a + call Evolution_ChangeMonPic ; show the new species pic + ld a, [wEvoNewSpecies] +.done ld [wcf1d], a ld a, $ff ld [wc0ee], a @@ -81,17 +81,17 @@ EvolveMon: ; 7bde9 (1e:7de9) pop bc pop de pop hl - ld a, [wHPBarOldHP + 1] + ld a, [wEvoCancelled] and a ret z scf ret .evolutionCancelled pop bc - ld a, $1 - ld [wHPBarOldHP + 1], a - ld a, [wHPBarMaxHP] - jr .afterCancellation + ld a, 1 + ld [wEvoCancelled], a + ld a, [wEvoOldSpecies] + jr .done EvolutionSetWholeScreenPalette: ; 7beb4 (1e:7eb4) ld b, $b @@ -102,37 +102,38 @@ Evolution_LoadPic: ; 7beb9 (1e:7eb9) coord hl, 7, 2 jp LoadFlippedFrontSpriteByMonIndex -Func_7bec2: ; 7bec2 (1e:7ec2) +Evolution_BackAndForthAnim: ; 7bec2 (1e:7ec2) +; show the mon change back and forth between the new and old species b times ld a, $31 - ld [wHPBarOldHP], a - call Func_7bed6 - ld a, $cf - ld [wHPBarOldHP], a - call Func_7bed6 + ld [wEvoMonTileOffset], a + call Evolution_ChangeMonPic + ld a, -$31 + ld [wEvoMonTileOffset], a + call Evolution_ChangeMonPic dec b - jr nz, Func_7bec2 + jr nz, Evolution_BackAndForthAnim ret -Func_7bed6: ; 7bed6 (1e:7ed6) +Evolution_ChangeMonPic: ; 7bed6 (1e:7ed6) push bc xor a ld [H_AUTOBGTRANSFERENABLED], a coord hl, 7, 2 - ld bc, $707 - ld de, $d -.asm_7bee3 + lb bc, 7, 7 + ld de, SCREEN_WIDTH - 7 +.loop push bc -.asm_7bee4 - ld a, [wHPBarOldHP] +.innerLoop + ld a, [wEvoMonTileOffset] add [hl] ld [hli], a dec c - jr nz, .asm_7bee4 + jr nz, .innerLoop pop bc add hl, de dec b - jr nz, .asm_7bee3 - ld a, $1 + jr nz, .loop + ld a, 1 ld [H_AUTOBGTRANSFERENABLED], a call Delay3 pop bc diff --git a/engine/evos_moves.asm b/engine/evos_moves.asm index 4a253c68..9a0f2d84 100755 --- a/engine/evos_moves.asm +++ b/engine/evos_moves.asm @@ -1,6 +1,6 @@ ; try to evolve the mon in [wWhichPokemon] TryEvolvingMon: ; 3ad0e (e:6d0e) - ld hl, wccd3 + ld hl, wCanEvolveFlags xor a ld [hl], a ld a, [wWhichPokemon] @@ -31,17 +31,17 @@ Evolution_PartyMonLoop: ; loop over party mons ld a, [hl] cp $ff ; have we reached the end of the party? jp z, .done - ld [wHPBarMaxHP], a + ld [wEvoOldSpecies], a push hl ld a, [wWhichPokemon] ld c, a - ld hl, wccd3 + ld hl, wCanEvolveFlags ld b, $2 call Evolution_FlagAction ld a, c and a ; is the mon's bit set? jp z, Evolution_PartyMonLoop ; if not, go to the next mon - ld a, [wHPBarMaxHP] + ld a, [wEvoOldSpecies] dec a ld b, 0 ld hl, EvosMovesPointerTable @@ -110,7 +110,7 @@ Evolution_PartyMonLoop: ; loop over party mons ld [wd121], a push hl ld a, [hl] - ld [wHPBarMaxHP + 1], a + ld [wEvoNewSpecies], a ld a, [wWhichPokemon] ld hl, wPartyMonNicks call GetPartyMonName @@ -122,7 +122,7 @@ Evolution_PartyMonLoop: ; loop over party mons xor a ld [H_AUTOBGTRANSFERENABLED], a coord hl, 0, 0 - ld bc, $c14 + lb bc, 12, 20 call ClearScreenArea ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a @@ -137,7 +137,7 @@ Evolution_PartyMonLoop: ; loop over party mons ld a, [hl] ld [wd0b5], a ld [wLoadedMonSpecies], a - ld [wHPBarMaxHP + 1], a + ld [wEvoNewSpecies], a ld a, MONSTER_NAME ld [wNameListType], a ld a, BANK(TrainerNames) ; bank is not used for monster names @@ -357,7 +357,7 @@ LearnMoveFromLevelUp: ; 3af5b (e:6f5b) ld bc, wPartyMon2 - wPartyMon1 call AddNTimes .next - ld b, $4 + ld b, NUM_MOVES .checkCurrentMovesLoop ; check if the move to learn is already known ld a, [hli] cp d @@ -377,14 +377,13 @@ LearnMoveFromLevelUp: ; 3af5b (e:6f5b) ; writes the moves a mon has at level [W_CURENEMYLVL] to [de] ; move slots are being filled up sequentially and shifted if all slots are full -; [wHPBarMaxHP]: (?) WriteMonMoves: ; 3afb8 (e:6fb8) call GetPredefRegisters push hl push de push bc ld hl, EvosMovesPointerTable - ld b, $0 + ld b, 0 ld a, [wcf91] ; cur mon ID dec a add a @@ -411,25 +410,30 @@ WriteMonMoves: ; 3afb8 (e:6fb8) ld a, [W_CURENEMYLVL] cp b jp c, .done ; mon level < move level (assumption: learnset is sorted by level) - ld a, [wHPBarMaxHP] + ld a, [wLearningMovesFromDayCare] and a jr z, .skipMinLevelCheck - ld a, [wWhichTrade] ; min move level) + ld a, [wDayCareStartLevel] cp b jr nc, .nextMove2 ; min level >= move level + .skipMinLevelCheck + +; check if the move is already known push de - ld c, $4 -.moveAlreadyLearnedCheckLoop + ld c, NUM_MOVES +.alreadyKnowsCheckLoop ld a, [de] inc de cp [hl] jr z, .nextMove dec c - jr nz, .moveAlreadyLearnedCheckLoop + jr nz, .alreadyKnowsCheckLoop + +; try to find an empty move slot pop de push de - ld c, $4 + ld c, NUM_MOVES .findEmptySlotLoop ld a, [de] and a @@ -437,47 +441,55 @@ WriteMonMoves: ; 3afb8 (e:6fb8) inc de dec c jr nz, .findEmptySlotLoop - pop de ; no empty move slots found + +; no empty move slots found + pop de push de push hl ld h, d ld l, e call WriteMonMoves_ShiftMoveData ; shift all moves one up (deleting move 1) - ld a, [wHPBarMaxHP] + ld a, [wLearningMovesFromDayCare] and a jr z, .writeMoveToSlot + +; shift PP as well if learning moves from day care push de - ld bc, $12 + ld bc, wPartyMon1PP - (wPartyMon1Moves + 3) add hl, bc ld d, h ld e, l call WriteMonMoves_ShiftMoveData ; shift all move PP data one up pop de + .writeMoveToSlot pop hl .writeMoveToSlot2 ld a, [hl] ld [de], a - ld a, [wHPBarMaxHP] + ld a, [wLearningMovesFromDayCare] and a jr z, .nextMove - push hl ; write move PP value + +; write move PP value if learning moves from day care + push hl ld a, [hl] - ld hl, $15 + ld hl, wPartyMon1PP - wPartyMon1Moves add hl, de push hl dec a ld hl, Moves - ld bc, $6 + ld bc, 6 call AddNTimes - ld de, wHPBarMaxHP + ld de, wBuffer ld a, BANK(Moves) call FarCopyData - ld a, [wHPBarNewHP + 1] + ld a, [wBuffer + 5] pop hl ld [hl], a pop hl jr .nextMove + .done pop bc pop de @@ -486,13 +498,13 @@ WriteMonMoves: ; 3afb8 (e:6fb8) ; shifts all move data one up (freeing 4th move slot) WriteMonMoves_ShiftMoveData: ; 3b04e (e:704e) - ld c, $3 -.asm_3b050 + ld c, NUM_MOVES - 1 +.loop inc de ld a, [de] ld [hli], a dec c - jr nz, .asm_3b050 + jr nz, .loop ret Evolution_FlagAction: ; 3b057 (e:7057) diff --git a/engine/experience.asm b/engine/experience.asm index 752536cf..b43fbcf9 100755 --- a/engine/experience.asm +++ b/engine/experience.asm @@ -10,15 +10,15 @@ CalcLevelFromExperience: ; 58f43 (16:4f43) push hl ld hl, wLoadedMonExp + 2 ; current exp ; compare exp needed for level d with current exp - ld a, [H_MULTIPLICAND + 2] + ld a, [hExperience + 2] ld c, a ld a, [hld] sub c - ld a, [H_MULTIPLICAND + 1] + ld a, [hExperience + 1] ld c, a ld a, [hld] sbc c - ld a, [H_MULTIPLICAND] + ld a, [hExperience] ld c, a ld a, [hl] sbc c @@ -33,7 +33,7 @@ CalcExperience: ; 58f6a (16:4f6a) add a add a ld c, a - ld b, $0 + ld b, 0 ld hl, GrowthRateTable add hl, bc call CalcDSquared @@ -50,96 +50,100 @@ CalcExperience: ; 58f6a (16:4f6a) ld [H_DIVISOR], a ld b, $4 call Divide - ld a, [H_MULTIPLICAND] ; (aliases: H_NUMTOPRINT) + ld a, [H_QUOTIENT + 1] push af - ld a, [H_MULTIPLICAND+1] + ld a, [H_QUOTIENT + 2] push af - ld a, [H_MULTIPLICAND+2] + ld a, [H_QUOTIENT + 3] push af call CalcDSquared ld a, [hl] and $7f ld [H_MULTIPLIER], a call Multiply - ld a, [H_MULTIPLICAND] ; (aliases: H_NUMTOPRINT) + ld a, [H_PRODUCT + 1] push af - ld a, [H_MULTIPLICAND+1] + ld a, [H_PRODUCT + 2] push af - ld a, [H_MULTIPLICAND+2] + ld a, [H_PRODUCT + 3] push af ld a, [hli] push af xor a ld [H_MULTIPLICAND], a - ld [H_MULTIPLICAND+1], a + ld [H_MULTIPLICAND + 1], a ld a, d - ld [H_MULTIPLICAND+2], a + ld [H_MULTIPLICAND + 2], a ld a, [hli] ld [H_MULTIPLIER], a call Multiply ld b, [hl] - ld a, [H_MULTIPLICAND+2] + ld a, [H_PRODUCT + 3] sub b - ld [H_MULTIPLICAND+2], a + ld [H_PRODUCT + 3], a ld b, $0 - ld a, [H_MULTIPLICAND+1] + ld a, [H_PRODUCT + 2] sbc b - ld [H_MULTIPLICAND+1], a - ld a, [H_MULTIPLICAND] + ld [H_PRODUCT + 2], a + ld a, [H_PRODUCT + 1] sbc b - ld [H_MULTIPLICAND], a + ld [H_PRODUCT + 1], a +; The difference of the linear term and the constant term consists of 3 bytes +; starting at H_PRODUCT + 1. Below, hExperience (an alias of that address) will +; be used instead for the further work of adding or subtracting the squared +; term and adding the cubed term. pop af and $80 jr nz, .subtractSquaredTerm ; check sign pop bc - ld a, [H_MULTIPLICAND+2] + ld a, [hExperience + 2] add b - ld [H_MULTIPLICAND+2], a + ld [hExperience + 2], a pop bc - ld a, [H_MULTIPLICAND+1] + ld a, [hExperience + 1] adc b - ld [H_MULTIPLICAND+1], a + ld [hExperience + 1], a pop bc - ld a, [H_MULTIPLICAND] + ld a, [hExperience] adc b - ld [H_MULTIPLICAND], a + ld [hExperience], a jr .addCubedTerm .subtractSquaredTerm pop bc - ld a, [H_MULTIPLICAND+2] + ld a, [hExperience + 2] sub b - ld [H_MULTIPLICAND+2], a + ld [hExperience + 2], a pop bc - ld a, [H_MULTIPLICAND+1] + ld a, [hExperience + 1] sbc b - ld [H_MULTIPLICAND+1], a + ld [hExperience + 1], a pop bc - ld a, [H_MULTIPLICAND] + ld a, [hExperience] sbc b - ld [H_MULTIPLICAND], a + ld [hExperience], a .addCubedTerm pop bc - ld a, [H_MULTIPLICAND+2] + ld a, [hExperience + 2] add b - ld [H_MULTIPLICAND+2], a + ld [hExperience + 2], a pop bc - ld a, [H_MULTIPLICAND+1] + ld a, [hExperience + 1] adc b - ld [H_MULTIPLICAND+1], a + ld [hExperience + 1], a pop bc - ld a, [H_MULTIPLICAND] + ld a, [hExperience] adc b - ld [H_MULTIPLICAND], a + ld [hExperience], a ret ; calculates d*d CalcDSquared: ; 59010 (16:5010) xor a - ld [H_MULTIPLICAND], a ; (aliases: H_NUMTOPRINT) - ld [H_MULTIPLICAND+1], a + ld [H_MULTIPLICAND], a + ld [H_MULTIPLICAND + 1], a ld a, d - ld [H_MULTIPLICAND+2], a - ld [H_MULTIPLIER], a ; (aliases: H_DIVISOR, H_REMAINDER, H_POWEROFTEN) + ld [H_MULTIPLICAND + 2], a + ld [H_MULTIPLIER], a jp Multiply ; each entry has the following scheme: diff --git a/engine/game_corner_slots.asm b/engine/game_corner_slots.asm index b3b2490c..ff17d4d3 100755 --- a/engine/game_corner_slots.asm +++ b/engine/game_corner_slots.asm @@ -7,7 +7,7 @@ StartSlotMachine: ; 37e2d (d:7e2d) cp $ff jr z, .printSomeonesKeys callba AbleToPlaySlotsCheck - ld a, [wHiddenObjectFunctionArgument] + ld a, [wCanPlaySlots] and a ret z ld a, [wLuckySlotHiddenObjectIndex] diff --git a/engine/game_corner_slots2.asm b/engine/game_corner_slots2.asm index 850b1f99..643536ea 100755 --- a/engine/game_corner_slots2.asm +++ b/engine/game_corner_slots2.asm @@ -1,4 +1,4 @@ -AbleToPlaySlotsCheck ; 2ff09 (b:7f09) +AbleToPlaySlotsCheck: ; 2ff09 (b:7f09) ld a, [wSpriteStateData1 + 2] and $8 jr z, .done ; not able @@ -19,7 +19,7 @@ AbleToPlaySlotsCheck ; 2ff09 (b:7f09) call PrintPredefTextID xor a .done - ld [wWhichTrade], a + ld [wCanPlaySlots], a ret GameCornerCoinCaseText: ; 2ff32 (b:7f32) diff --git a/engine/give_pokemon.asm b/engine/give_pokemon.asm index 45e88b9c..4b45631d 100755 --- a/engine/give_pokemon.asm +++ b/engine/give_pokemon.asm @@ -1,13 +1,16 @@ _GivePokemon: ; 4fda5 (13:7da5) +; returns success in carry +; and whether the mon was added to the party in [wAddedToParty] call EnableAutoTextBoxDrawing xor a - ld [wccd3], a + ld [wAddedToParty], a ld a, [wPartyCount] cp PARTY_LENGTH - jr c, .asm_4fe01 + jr c, .addToParty ld a, [W_NUMINBOX] cp MONS_PER_BOX - jr nc, .asm_4fdf9 + jr nc, .boxFull +; add to box xor a ld [W_ENEMYBATTSTATUS3], a ld a, [wcf91] @@ -19,32 +22,32 @@ _GivePokemon: ; 4fda5 (13:7da5) ld a, [wCurrentBoxNum] and $7f cp 9 - jr c, .asm_4fdec + jr c, .singleDigitBoxNum sub 9 ld [hl], "1" inc hl add "0" - jr .asm_4fdee -.asm_4fdec + jr .next +.singleDigitBoxNum add "1" -.asm_4fdee +.next ld [hli], a ld [hl], "@" ld hl, SetToBoxText call PrintText scf ret -.asm_4fdf9 +.boxFull ld hl, BoxIsFullText call PrintText and a ret -.asm_4fe01 +.addToParty call SetPokedexOwnedFlag call AddPartyMon - ld a, $1 + ld a, 1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a - ld [wccd3], a + ld [wAddedToParty], a scf ret diff --git a/engine/hidden_object_functions17.asm b/engine/hidden_object_functions17.asm index 841929b8..44941d36 100755 --- a/engine/hidden_object_functions17.asm +++ b/engine/hidden_object_functions17.asm @@ -55,7 +55,7 @@ KabutopsFossilText: ; 5dbd4 (17:5bd4) DisplayMonFrontSpriteInBox: ; 5dbd9 (17:5bd9) ; Displays a pokemon's front sprite in a pop-up window. ; [wcf91] = pokemon interal id number - ld a, $1 + ld a, 1 ld [H_AUTOBGTRANSFERENABLED], a call Delay3 xor a @@ -85,7 +85,7 @@ PrintBlackboardLinkCableText: ; 5dc1a (17:5c1a) call EnableAutoTextBoxDrawing ld a, $1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a - ld a, [wWhichTrade] + ld a, [wHiddenObjectFunctionArgument] call PrintPredefTextID ret @@ -310,7 +310,7 @@ VermilionGymTrashText: ; 5ddf7 (17:5df7) GymTrashScript: ; 5ddfc (17:5dfc) call EnableAutoTextBoxDrawing - ld a, [wWhichTrade] + ld a, [wHiddenObjectFunctionArgument] ld [wcd5b], a ; Don't do the trash can puzzle if it's already been done. diff --git a/engine/hidden_object_functions7.asm b/engine/hidden_object_functions7.asm index 31ae17a4..8e8b27b1 100755 --- a/engine/hidden_object_functions7.asm +++ b/engine/hidden_object_functions7.asm @@ -128,7 +128,7 @@ CinnabarGymQuiz: ; 1ea25 (7:6a25) TX_ASM xor a ld [wda38], a - ld a, [wWhichTrade] + ld a, [wHiddenObjectFunctionArgument] push af and $f ld [$ffdb], a diff --git a/engine/items/itemfinder.asm b/engine/items/itemfinder.asm index 96abecd3..51277632 100755 --- a/engine/items/itemfinder.asm +++ b/engine/items/itemfinder.asm @@ -1,14 +1,14 @@ HiddenItemNear: ; 7481f (1d:481f) ld hl, HiddenItemCoords - ld b, $0 -.asm_74824 - ld de, $0003 + ld b, 0 +.loop + ld de, 3 ld a, [W_CURMAP] call IsInRestOfArray ret nc ; return if current map has no hidden items push bc push hl - ld hl, wd6f0 + ld hl, wObtainedHiddenItemsFlags ld c, b ld b, $2 predef FlagActionPredef @@ -22,28 +22,30 @@ HiddenItemNear: ; 7481f (1d:481f) inc hl ld e, [hl] inc hl - jr nz, .asm_74824 + jr nz, .loop ; if the item has already been obtained +; check if the item is within 4-5 tiles (depending on the direction of item) ld a, [W_YCOORD] - call Func_7486b + call Sub5ClampTo0 cp d - jr nc, .asm_74824 + jr nc, .loop ld a, [W_YCOORD] - add $4 + add 4 cp d - jr c, .asm_74824 + jr c, .loop ld a, [W_XCOORD] - call Func_7486b + call Sub5ClampTo0 cp e - jr nc, .asm_74824 + jr nc, .loop ld a, [W_XCOORD] - add $5 + add 5 cp e - jr c, .asm_74824 + jr c, .loop scf ret -Func_7486b: ; 7486b (1d:486b) - sub $5 +Sub5ClampTo0: ; 7486b (1d:486b) +; subtract 5 but clamp to 0 + sub 5 cp $f0 ret c xor a diff --git a/engine/items/items.asm b/engine/items/items.asm index fe2d71c8..bc8d16fa 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -1216,11 +1216,11 @@ ItemUseMedicine: ; dabb (3:5abb) ld bc,-19 add hl,bc ; hl now points to experience ; update experience to minimum for new level - ld a,[$ff96] + ld a,[hExperience] ld [hli],a - ld a,[$ff97] + ld a,[hExperience + 1] ld [hli],a - ld a,[$ff98] + ld a,[hExperience + 2] ld [hl],a pop hl ld a,[wWhichPokemon] @@ -1618,8 +1618,8 @@ ItemUsePokeflute: ; e140 (3:6140) jp PrintText .inBattle xor a - ld [wWhichTrade],a ; initialize variable that indicates if any pokemon were woken up to zero - ld b,~SLP & $FF + ld [wWereAnyMonsAsleep],a + ld b,~SLP & $ff ld hl,wPartyMon1Status call WakeUpEntireParty ld a,[W_ISINBATTLE] @@ -1638,7 +1638,7 @@ ItemUsePokeflute: ; e140 (3:6140) and b ; remove Sleep status ld [hl],a call LoadScreenTilesFromBuffer2 ; restore saved screen - ld a,[wWhichTrade] + ld a,[wWereAnyMonsAsleep] and a ; were any pokemon asleep before playing the flute? ld hl,PlayedFluteNoEffectText jp z,PrintText ; if no pokemon were asleep @@ -1662,9 +1662,9 @@ ItemUsePokeflute: ; e140 (3:6140) ; INPUT: ; hl must point to status of first pokemon in party (player's or enemy's) ; b must equal ~SLP -; [wWhichTrade] should be initialized to 0 +; [wWereAnyMonsAsleep] should be initialized to 0 ; OUTPUT: -; [wWhichTrade]: set to 1 if any pokemon were asleep +; [wWereAnyMonsAsleep]: set to 1 if any pokemon were asleep WakeUpEntireParty: ; e1e5 (3:61e5) ld de,44 ld c,6 @@ -1674,7 +1674,7 @@ WakeUpEntireParty: ; e1e5 (3:61e5) and a,SLP ; is pokemon asleep? jr z,.notAsleep ld a,1 - ld [wWhichTrade],a ; indicate that a pokemon had to be woken up + ld [wWereAnyMonsAsleep],a ; indicate that a pokemon had to be woken up .notAsleep pop af and b ; remove Sleep status @@ -1874,7 +1874,7 @@ ItemUsePPRestore: ; e31e (3:631e) ld a,[wWhichPokemon] push af ld a,[wcf91] - ld [wWhichTrade],a + ld [wPPRestoreItem],a .chooseMon xor a ld [wUpdateSpritesEnabled],a @@ -1884,13 +1884,13 @@ ItemUsePPRestore: ; e31e (3:631e) jr nc,.chooseMove jp .itemNotUsed .chooseMove - ld a,[wWhichTrade] + ld a,[wPPRestoreItem] cp a,ELIXER jp nc,.useElixir ; if Elixir or Max Elixir ld a,$02 ld [wMoveMenuType],a ld hl,RaisePPWhichTechniqueText - ld a,[wWhichTrade] + ld a,[wPPRestoreItem] cp a,ETHER ; is it a PP Up? jr c,.printWhichTechniqueMessage ; if so, print the raise PP message ld hl,RestorePPWhichTechniqueText ; otherwise, print the restore PP message @@ -1911,7 +1911,7 @@ ItemUsePPRestore: ; e31e (3:631e) call GetMoveName call CopyStringToCF4B ; copy name to wcf4b pop hl - ld a,[wWhichTrade] + ld a,[wPPRestoreItem] cp a,ETHER jr nc,.useEther ; if Ether or Max Ether .usePPUp @@ -1973,7 +1973,7 @@ ItemUsePPRestore: ; e31e (3:631e) add hl,bc ; hl now points to move's PP ld a,[wd11e] ld b,a ; b = max PP - ld a,[wWhichTrade] + ld a,[wPPRestoreItem] cp a,MAX_ETHER jr z,.fullyRestorePP ld a,[hl] ; move PP @@ -2005,7 +2005,7 @@ ItemUsePPRestore: ; e31e (3:631e) jr .storeNewAmount .useElixir ; decrement the item ID so that ELIXER becomes ETHER and MAX_ELIXER becomes MAX_ETHER - ld hl,wWhichTrade + ld hl,wPPRestoreItem dec [hl] dec [hl] xor a @@ -2701,13 +2701,13 @@ SendNewMonToBox: ; e7a4 (3:67a4) ld d, a callab CalcExperience pop de - ld a, [H_NUMTOPRINT] ; (aliases: H_MULTIPLICAND) + ld a, [hExperience] ld [de], a inc de - ld a, [$ff97] + ld a, [hExperience + 1] ld [de], a inc de - ld a, [$ff98] + ld a, [hExperience + 2] ld [de], a inc de xor a diff --git a/engine/menu/league_pc.asm b/engine/menu/league_pc.asm index 560ed421..06a7894c 100755 --- a/engine/menu/league_pc.asm +++ b/engine/menu/league_pc.asm @@ -12,7 +12,7 @@ PKMNLeaguePC: ; 0x7657e ld [hTilesetType], a ld [W_SPRITEFLIPPED], a ld [wUpdateSpritesEnabled], a - ld [wTrainerScreenX], a + ld [wHoFTeamIndex2], a ld [wHoFTeamNo], a ld a, [wNumHoFTeams] ld b, a @@ -27,13 +27,13 @@ PKMNLeaguePC: ; 0x7657e ld hl, wHoFTeamNo inc [hl] push bc - ld a, [wTrainerScreenX] - ld [wHoFMonSpecies], a + ld a, [wHoFTeamIndex2] + ld [wHoFTeamIndex], a callba LoadHallOfFameTeams call LeaguePCShowTeam pop bc jr c, .doneShowingTeams - ld hl, wTrainerScreenX + ld hl, wHoFTeamIndex2 inc [hl] ld a, [hl] cp b diff --git a/engine/menu/main_menu.asm b/engine/menu/main_menu.asm index 9e160f81..5dc6e61f 100755 --- a/engine/menu/main_menu.asm +++ b/engine/menu/main_menu.asm @@ -1,17 +1,16 @@ MainMenu: ; 5af2 (1:5af2) ; Check save file - call Func_5bff + call InitOptions xor a - ld [wd08a],a + ld [wOptionsInitialized],a inc a - ld [wd088],a - call Func_609e - jr nc,.next0 + ld [wSaveFileStatus],a + call CheckForPlayerNameInSRAM + jr nc,.mainMenuLoop - ; Predef 52 loads the save from SRAM to RAM predef LoadSAV -.next0 +.mainMenuLoop ld c,20 call DelayFrames xor a ; LINK_STATE_NONE @@ -30,9 +29,10 @@ MainMenu: ; 5af2 (1:5af2) call LoadFontTilePatterns ld hl,wd730 set 6,[hl] - ld a,[wd088] + ld a,[wSaveFileStatus] cp a,1 - jr z,.next1 + jr z,.noSaveFile +; there's a save file coord hl, 0, 0 ld b,6 ld c,13 @@ -41,7 +41,7 @@ MainMenu: ; 5af2 (1:5af2) ld de,ContinueText call PlaceString jr .next2 -.next1 +.noSaveFile coord hl, 0, 0 ld b,4 ld c,13 @@ -63,31 +63,33 @@ MainMenu: ; 5af2 (1:5af2) ld [wTopMenuItemY],a ld a,$B ld [wMenuWatchedKeys],a - ld a,[wd088] + ld a,[wSaveFileStatus] ld [wMaxMenuItem],a call HandleMenuInput - bit 1,a - jp nz,LoadTitlescreenGraphics ; load title screen (gfx and arrangement) + bit 1,a ; pressed B? + jp nz,DisplayTitleScreen ; if so, go back to the title screen ld c,20 call DelayFrames ld a,[wCurrentMenuItem] ld b,a - ld a,[wd088] + ld a,[wSaveFileStatus] cp a,2 - jp z,.next3 - inc b ; adjust MenuArrow_Counter -.next3 + jp z,.skipInc +; If there's no save file, increment the current menu item so that the numbers +; are the same whether or not there's a save file. + inc b +.skipInc ld a,b and a - jr z,.next4 ; if press_A on Continue + jr z,.choseContinue cp a,1 - jp z,Func_5d52 ; if press_A on NewGame - call DisplayOptionMenu ; if press_a on Options + jp z,StartNewGame + call DisplayOptionMenu ld a,1 - ld [wd08a],a - jp .next0 -.next4 - call ContinueGame + ld [wOptionsInitialized],a + jp .mainMenuLoop +.choseContinue + call DisplayContinueGameInfo ld hl,wd126 set 5,[hl] .inputLoop @@ -100,7 +102,7 @@ MainMenu: ; 5af2 (1:5af2) bit 0,a jr nz,.pressedA bit 1,a - jp nz,.next0 ; pressedB + jp nz,.mainMenuLoop ; pressed B jr .inputLoop .pressedA call GBPalWhiteOutWithDelay3 @@ -122,10 +124,10 @@ MainMenu: ; 5af2 (1:5af2) call SpecialWarpIn jp SpecialEnterMap -Func_5bff: ; 5bff (1:5bff) - ld a,1 +InitOptions: ; 5bff (1:5bff) + ld a,1 ; no delay ld [wLetterPrintingDelayFlags],a - ld a,3 + ld a,3 ; medium speed ld [W_OPTIONS],a ret @@ -301,7 +303,7 @@ LinkCanceledText: ; 5d4d (1:5d4d) TX_FAR _LinkCanceledText db "@" -Func_5d52: ; 5d52 (1:5d52) +StartNewGame: ; 5d52 (1:5d52) ld hl, wd732 res 1, [hl] call OakSpeech @@ -337,12 +339,12 @@ CableClubOptionsText: ; 5d97 (1:5d97) db "COLOSSEUM", $4e db "CANCEL@" -ContinueGame: ; 5db5 (1:5db5) +DisplayContinueGameInfo: ; 5db5 (1:5db5) xor a ld [H_AUTOBGTRANSFERENABLED], a coord hl, 4, 7 - ld b, $8 - ld c, $e + ld b, 8 + ld c, 14 call TextBoxBorder coord hl, 5, 9 ld de, SaveScreenInfoText @@ -351,12 +353,12 @@ ContinueGame: ; 5db5 (1:5db5) ld de, wPlayerName call PlaceString coord hl, 17, 11 - call Func_5e2f + call PrintNumBadges coord hl, 16, 13 - call Func_5e42 + call PrintNumOwnedMons coord hl, 13, 15 - call Func_5e55 - ld a, $1 + call PrintPlayTime + ld a, 1 ld [H_AUTOBGTRANSFERENABLED], a ld c, 30 jp DelayFrames @@ -377,17 +379,17 @@ PrintSaveScreenText: ; 5def (1:5def) ld de, wPlayerName call PlaceString coord hl, 17, 4 - call Func_5e2f + call PrintNumBadges coord hl, 16, 6 - call Func_5e42 + call PrintNumOwnedMons coord hl, 13, 8 - call Func_5e55 + call PrintPlayTime ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a ld c, 30 jp DelayFrames -Func_5e2f: ; 5e2f (1:5e2f) +PrintNumBadges: ; 5e2f (1:5e2f) push hl ld hl, W_OBTAINEDBADGES ld b, $1 @@ -397,7 +399,7 @@ Func_5e2f: ; 5e2f (1:5e2f) ld bc, $102 jp PrintNumber -Func_5e42: ; 5e42 (1:5e42) +PrintNumOwnedMons: ; 5e42 (1:5e42) push hl ld hl, wPokedexOwned ld b, wPokedexOwnedEnd - wPokedexOwned @@ -407,7 +409,7 @@ Func_5e42: ; 5e42 (1:5e42) ld bc, $103 jp PrintNumber -Func_5e55: ; 5e55 (1:5e55) +PrintPlayTime: ; 5e55 (1:5e55) ld de, W_PLAYTIMEHOURS + 1 ld bc, $103 call PrintNumber @@ -678,28 +680,32 @@ TextSpeedOptionData: ; 6096 (1:6096) db 7 ; default X coordinate (Medium) db $ff ; terminator -Func_609e: ; 609e (1:609e) - ld a, $a - ld [$0], a +CheckForPlayerNameInSRAM: ; 609e (1:609e) +; Check if the player name data in SRAM has a string terminator character +; (indicating that a name may have been saved there) and return whether it does +; in carry. + ld a, SRAM_ENABLE + ld [MBC1SRamEnable], a ld a, $1 - ld [$6000], a - ld [$4000], a + ld [MBC1SRamBankingMode], a + ld [MBC1SRamBank], a ld b, $b - ld hl, $a598 -.asm_60b0 + ld hl, sPlayerName +.loop ld a, [hli] - cp $50 - jr z, .asm_60c1 + cp "@" + jr z, .found dec b - jr nz, .asm_60b0 + jr nz, .loop +; not found xor a - ld [$0], a - ld [$6000], a + ld [MBC1SRamEnable], a + ld [MBC1SRamBankingMode], a and a ret -.asm_60c1 +.found xor a - ld [$0], a - ld [$6000], a + ld [MBC1SRamEnable], a + ld [MBC1SRamBankingMode], a scf ret diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm index 08ce0da9..4e173bc0 100755 --- a/engine/menu/pokedex.asm +++ b/engine/menu/pokedex.asm @@ -71,8 +71,8 @@ HandlePokedexSideMenu: ; 4006d (10:406d) ld [wd11e],a ld a,[wd11e] push af - ld a,[wWhichTrade] - push af + ld a,[wDexMaxSeenMon] + push af ; this doesn't need to be preserved ld hl,wPokedexSeen call IsPokemonBitSet ld b,2 @@ -108,7 +108,7 @@ HandlePokedexSideMenu: ; 4006d (10:406d) ld b,1 .exitSideMenu pop af - ld [wWhichTrade],a + ld [wDexMaxSeenMon],a pop af ld [wd11e],a pop af @@ -207,7 +207,7 @@ HandlePokedexListMenu: ; 40111 (10:4111) jr .maxSeenPokemonLoop .storeMaxSeenPokemon ld a,b - ld [wWhichTrade],a ; max seen pokemon + ld [wDexMaxSeenMon],a .loop xor a ld [H_AUTOBGTRANSFERENABLED],a @@ -218,7 +218,7 @@ HandlePokedexListMenu: ; 40111 (10:4111) ld a,[wListScrollOffset] ld [wd11e],a ld d,7 - ld a,[wWhichTrade] + ld a,[wDexMaxSeenMon] cp a,7 jr nc,.printPokemonLoop ld d,a @@ -294,9 +294,9 @@ HandlePokedexListMenu: ; 40111 (10:4111) bit 7,a ; was Down pressed? jr z,.checkIfRightPressed .downPressed ; scroll down one row - ld a,[wWhichTrade] + ld a,[wDexMaxSeenMon] cp a,7 - jp c,.loop + jp c,.loop ; can't if the list is shorter than 7 sub a,7 ld b,a ld a,[wListScrollOffset] @@ -309,9 +309,9 @@ HandlePokedexListMenu: ; 40111 (10:4111) bit 4,a ; was Right pressed? jr z,.checkIfLeftPressed .rightPressed ; scroll down 7 rows - ld a,[wWhichTrade] + ld a,[wDexMaxSeenMon] cp a,7 - jp c,.loop + jp c,.loop ; can't if the list is shorter than 7 sub a,6 ld b,a ld a,[wListScrollOffset] diff --git a/engine/menu/prize_menu.asm b/engine/menu/prize_menu.asm index d1fa0c72..b1b751b9 100755 --- a/engine/menu/prize_menu.asm +++ b/engine/menu/prize_menu.asm @@ -231,18 +231,24 @@ HandlePrizeChoice: ; 528c6 (14:68c6) pop af ld b,a call GivePokemon + +; If either the party or box was full, wait after displaying message. push af - ld a,[wccd3] ; XXX is there room? + ld a,[wAddedToParty] and a call z,WaitForTextScrollButtonPress pop af + +; If the mon couldn't be given to the player (because both the party and box +; were full), return without subtracting coins. ret nc + .SubtractCoins call LoadCoinsToSubtract ld hl,hCoins + 1 ld de,wPlayerCoins + 1 ld c,$02 ; how many bytes - predef SubBCDPredef ; subtract coins (BCD daa operations) + predef SubBCDPredef jp PrintPrizePrice .BagFull ld hl,PrizeRoomBagIsFullTextPtr diff --git a/engine/menu/status_screen.asm b/engine/menu/status_screen.asm index 75de182b..3bf3464a 100755 --- a/engine/menu/status_screen.asm +++ b/engine/menu/status_screen.asm @@ -297,8 +297,8 @@ StatusScreen2: ; 12b57 (4:6b57) push af xor a ld [hTilesetType], a - ld [$ffba], a - ld bc, $0005 + ld [H_AUTOBGTRANSFERENABLED], a + ld bc, NUM_MOVES + 1 ld hl, wMoves call FillMemory ld hl, wLoadedMonMoves @@ -307,13 +307,13 @@ StatusScreen2: ; 12b57 (4:6b57) call CopyData callab FormatMovesString coord hl, 9, 2 - ld bc, $050a + lb bc, 5, 10 call ClearScreenArea ; Clear under name coord hl, 19, 3 ld [hl], $78 coord hl, 0, 8 - ld b, $8 - ld c, $12 + ld b, 8 + ld c, 18 call TextBoxBorder ; Draw move container coord hl, 2, 9 ld de, wMovesString @@ -387,9 +387,9 @@ StatusScreen2: ; 12b57 (4:6b57) jr nz, .PrintPP .PPDone coord hl, 9, 3 - ld de, EXPPointsText + ld de, StatusScreenExpText call PlaceString - ld a, [wLoadedMonLevel] ; level + ld a, [wLoadedMonLevel] push af cp MAX_LEVEL jr z, .Level100 @@ -407,11 +407,11 @@ StatusScreen2: ; 12b57 (4:6b57) coord hl, 12, 4 ld bc, $0307 call PrintNumber ; exp - call .asm_12c86 + call CalcExpToLevelUp ld de, wLoadedMonExp coord hl, 7, 6 ld bc, $0307 - call PrintNumber + call PrintNumber ; exp needed to level up coord hl, 9, 0 call StatusScreen_ClearName coord hl, 9, 1 @@ -422,7 +422,7 @@ StatusScreen2: ; 12b57 (4:6b57) coord hl, 9, 1 call PlaceString ld a, $1 - ld [$ffba], a + ld [H_AUTOBGTRANSFERENABLED], a call Delay3 call WaitForTextScrollButtonPress ; wait for button pop af @@ -433,25 +433,26 @@ StatusScreen2: ; 12b57 (4:6b57) ld [$ff24], a call GBPalWhiteOut jp ClearScreen -.asm_12c86 ; This does some magic with lvl/exp? - ld a, [wLoadedMonLevel] ; Load level + +CalcExpToLevelUp: ; 12c86 (4:6c86) + ld a, [wLoadedMonLevel] cp MAX_LEVEL - jr z, .asm_12ca7 ; If 100 + jr z, .atMaxLevel inc a ld d, a callab CalcExperience ld hl, wLoadedMonExp + 2 - ld a, [$ff98] + ld a, [hExperience + 2] sub [hl] ld [hld], a - ld a, [$ff97] + ld a, [hExperience + 1] sbc [hl] ld [hld], a - ld a, [$ff96] + ld a, [hExperience] sbc [hl] ld [hld], a ret -.asm_12ca7 +.atMaxLevel ld hl, wLoadedMonExp xor a ld [hli], a @@ -459,11 +460,9 @@ StatusScreen2: ; 12b57 (4:6b57) ld [hl], a ret -EXPPointsText: ; 12caf (4:6caf) - db "EXP POINTS", $4e - -LevelUpText: ; 12cba (4:6cba) - db "LEVEL UP@" +StatusScreenExpText: ; 12caf (4:6caf) + db "EXP POINTS" + next "LEVEL UP@" StatusScreen_ClearName: ; 12cc3 (4:6cc3) ld bc, 10 diff --git a/engine/oak_speech.asm b/engine/oak_speech.asm index c7b2f4d6..9b9b1c7e 100755 --- a/engine/oak_speech.asm +++ b/engine/oak_speech.asm @@ -19,9 +19,9 @@ SetDefaultNames: ; 60ca (1:60ca) ld [W_OPTIONS], a pop af ld [wLetterPrintingDelayFlags], a - ld a, [wd08a] + ld a, [wOptionsInitialized] and a - call z, Func_5bff + call z, InitOptions ld hl, NintenText ld de, wPlayerName ld bc, $b diff --git a/engine/oam_dma.asm b/engine/oam_dma.asm index bd89677a..7326445e 100644 --- a/engine/oam_dma.asm +++ b/engine/oam_dma.asm @@ -15,7 +15,7 @@ WriteDMACodeToHRAM: DMARoutine: ; initiate DMA ld a, wOAMBuffer / $100 - ld [$ff46], a + ld [rDMA], a ; wait for DMA to finish ld a, $28 diff --git a/engine/overworld/hidden_items.asm b/engine/overworld/hidden_items.asm index 910fcf04..3fb4ffca 100755 --- a/engine/overworld/hidden_items.asm +++ b/engine/overworld/hidden_items.asm @@ -1,9 +1,9 @@ HiddenItems: ; 76688 (1d:6688) ld hl, HiddenItemCoords - call Func_76857 - ld [wTrainerScreenX], a - ld hl, wd6f0 - ld a, [wTrainerScreenX] + call FindHiddenItemOrCoinsIndex + ld [wHiddenItemOrCoinsIndex], a + ld hl, wObtainedHiddenItemsFlags + ld a, [wHiddenItemOrCoinsIndex] ld c, a ld b, $2 predef FlagActionPredef @@ -11,9 +11,9 @@ HiddenItems: ; 76688 (1d:6688) and a ret nz call EnableAutoTextBoxDrawing - ld a, $1 + ld a, 1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a - ld a, [wWhichTrade] ; item ID + ld a, [wHiddenObjectFunctionArgument] ; item ID ld [wd11e], a call GetItemName tx_pre_jump FoundHiddenItemText @@ -23,12 +23,12 @@ INCLUDE "data/hidden_item_coords.asm" FoundHiddenItemText: ; 7675b (1d:675b) TX_FAR _FoundHiddenItemText TX_ASM - ld a, [wWhichTrade] ; item ID + ld a, [wHiddenObjectFunctionArgument] ; item ID ld b, a ld c, 1 call GiveItem jr nc, .BagFull - ld hl, wd6f0 + ld hl, wObtainedHiddenItemsFlags ld a, [wTrainerScreenX] ld c, a ld b, $1 @@ -56,10 +56,10 @@ HiddenCoins: ; 76799 (1d:6799) and a ret z ld hl, HiddenCoinCoords - call Func_76857 - ld [wTrainerScreenX], a - ld hl, wd6fe - ld a, [wTrainerScreenX] + call FindHiddenItemOrCoinsIndex + ld [wHiddenItemOrCoinsIndex], a + ld hl, wObtainedHiddenCoinsFlags + ld a, [wHiddenItemOrCoinsIndex] ld c, a ld b, $2 predef FlagActionPredef @@ -70,7 +70,7 @@ HiddenCoins: ; 76799 (1d:6799) ld [hCoins - 1], a ld [hCoins], a ld [hCoins + 1], a - ld a, [wWhichTrade] + ld a, [wHiddenObjectFunctionArgument] sub COIN cp 10 jr z, .bcd10 @@ -99,7 +99,7 @@ HiddenCoins: ; 76799 (1d:6799) ld hl, hCoins + 1 ld c, $2 predef AddBCDPredef - ld hl, wd6fe + ld hl, wObtainedHiddenCoinsFlags ld a, [wTrainerScreenX] ld c, a ld b, $1 @@ -130,31 +130,31 @@ DroppedHiddenCoinsText: ; 7684d (1d:684d) TX_FAR _DroppedHiddenCoinsText db "@" -Func_76857: ; 76857 (1d:6857) - ld a, [wTrainerScreenY] +FindHiddenItemOrCoinsIndex: ; 76857 (1d:6857) + ld a, [wHiddenObjectY] ld d, a - ld a, [wTrainerScreenX] + ld a, [wHiddenObjectX] ld e, a ld a, [W_CURMAP] ld b, a - ld c, $ff + ld c, -1 .loop inc c ld a, [hli] cp $ff ; end of the list? ret z ; if so, we're done here cp b - jr nz, .asm_76877 + jr nz, .next1 ld a, [hli] cp d - jr nz, .asm_76878 + jr nz, .next2 ld a, [hli] cp e jr nz, .loop ld a, c ret -.asm_76877 +.next1 inc hl -.asm_76878 +.next2 inc hl jr .loop diff --git a/engine/overworld/hidden_objects.asm b/engine/overworld/hidden_objects.asm index ae67aeed..cabfc093 100755 --- a/engine/overworld/hidden_objects.asm +++ b/engine/overworld/hidden_objects.asm @@ -1,4 +1,4 @@ -Func_46981: ; 46981 (11:6981) +IsPlayerOnDungeonWarp: ; 46981 (11:6981) xor a ld [wWhichDungeonWarp], a ld a, [wd72d] @@ -6,7 +6,7 @@ Func_46981: ; 46981 (11:6981) ret nz call ArePlayerCoordsInArray ret nc - ld a, [wWhichTrade] + ld a, [wCoordIndex] ld [wWhichDungeonWarp], a ld hl, wd72d set 4, [hl] @@ -58,7 +58,7 @@ CheckForHiddenObject: ; 469a0 (11:69a0) ld [wHiddenObjectX], a ld c, a call CheckIfCoordsInFrontOfPlayerMatch - ld a, [$ffea] + ld a, [hCoordsInFrontOfPlayerMatch] and a jr z, .foundMatchingObject inc hl @@ -85,7 +85,7 @@ CheckForHiddenObject: ; 469a0 (11:69a0) ret ; checks if the coordinates in front of the player's sprite match Y in b and X in c -; [$ffea] = $00 if they match, $ff if they don't match +; [hCoordsInFrontOfPlayerMatch] = $00 if they match, $ff if they don't match CheckIfCoordsInFrontOfPlayerMatch: ; 46a01 (11:6a01) ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction cp SPRITE_FACING_UP @@ -127,7 +127,7 @@ CheckIfCoordsInFrontOfPlayerMatch: ; 46a01 (11:6a01) .didNotMatch ld a, $ff .done - ld [$ffea], a + ld [hCoordsInFrontOfPlayerMatch], a ret INCLUDE "data/hidden_objects.asm" diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm index 89b09bba..f618261e 100644 --- a/engine/overworld/movement.asm +++ b/engine/overworld/movement.asm @@ -210,9 +210,8 @@ UpdateNPCSprite: ; 4ed1 (1:4ed1) .moveDown ld de, 2*SCREEN_WIDTH add hl, de ; move tile pointer two rows down - ld de, $100 - - ld bc, $400 + lb de, 1, 0 + lb bc, 4, SPRITE_FACING_DOWN jr TryWalking .notDown cp $80 ; $40 <= a < $80: up (or right) @@ -223,8 +222,8 @@ UpdateNPCSprite: ; 4ed1 (1:4ed1) .moveUp ld de, -2*SCREEN_WIDTH add hl, de ; move tile pointer two rows up - ld de, $ff00 - ld bc, $804 + lb de, -1, 0 + lb bc, 8, SPRITE_FACING_UP jr TryWalking .notUp cp $c0 ; $80 <= a < $c0: left (or up) @@ -235,8 +234,8 @@ UpdateNPCSprite: ; 4ed1 (1:4ed1) .moveLeft dec hl dec hl ; move tile pointer two columns left - ld de, $ff - ld bc, $208 + lb de, 0, -1 + lb bc, 2, SPRITE_FACING_LEFT jr TryWalking .notLeft ; $c0 <= a: right (or down) ld a, [wCurSpriteMovement2] @@ -245,8 +244,8 @@ UpdateNPCSprite: ; 4ed1 (1:4ed1) .moveRight inc hl inc hl ; move tile pointer two columns right - ld de, $1 - ld bc, $10c + lb de, 0, 1 + lb bc, 1, SPRITE_FACING_RIGHT jr TryWalking ; changes facing direction by zeroing the movement delta and calling TryWalking diff --git a/engine/palettes.asm b/engine/palettes.asm index a9160d21..a325e0a3 100755 --- a/engine/palettes.asm +++ b/engine/palettes.asm @@ -328,10 +328,10 @@ SendSGBPacket: ; 71feb (1c:5feb) ld [$fff9],a ; send RESET signal (P14=LOW, P15=LOW) xor a - ld [$ff00],a + ld [rJOYP],a ; set P14=HIGH, P15=HIGH ld a,$30 - ld [$ff00],a + ld [rJOYP],a ;load length of packets (16 bytes) ld b,$10 .nextByte @@ -348,10 +348,10 @@ SendSGBPacket: ; 71feb (1c:5feb) ; else (if 0th bit is zero) set P14=LOW,P15=HIGH (send bit 0) ld a,$20 .next0 - ld [$ff00],a + ld [rJOYP],a ; must set P14=HIGH,P15=HIGH between each "pulse" ld a,$30 - ld [$ff00],a + ld [rJOYP],a ; rotation will put next bit in 0th position (so we can always use command ; "bit 0,d" to fetch the bit that has to be sent) rr d @@ -362,10 +362,10 @@ SendSGBPacket: ; 71feb (1c:5feb) jr nz,.nextByte ; send bit 1 as a "stop bit" (end of parameter data) ld a,$20 - ld [$ff00],a + ld [rJOYP],a ; set P14=HIGH,P15=HIGH ld a,$30 - ld [$ff00],a + ld [rJOYP],a xor a ld [$fff9],a ; wait for about 70000 cycles @@ -448,38 +448,38 @@ CheckSGB: ; 7209b (1c:609b) ld [$fff9], a ei call Wait7000 - ld a, [rJOYP] ; $ff0 + ld a, [rJOYP] and $3 cp $3 jr nz, .asm_720fd ld a, $20 - ld [rJOYP], a ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 + ld [rJOYP], a + ld a, [rJOYP] + ld a, [rJOYP] call Wait7000 call Wait7000 ld a, $30 - ld [rJOYP], a ; $ff0 + ld [rJOYP], a call Wait7000 call Wait7000 ld a, $10 - ld [rJOYP], a ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 + ld [rJOYP], a + ld a, [rJOYP] + ld a, [rJOYP] + ld a, [rJOYP] + ld a, [rJOYP] + ld a, [rJOYP] + ld a, [rJOYP] call Wait7000 call Wait7000 ld a, $30 - ld [rJOYP], a ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 - ld a, [rJOYP] ; $ff0 + ld [rJOYP], a + ld a, [rJOYP] + ld a, [rJOYP] + ld a, [rJOYP] call Wait7000 call Wait7000 - ld a, [rJOYP] ; $ff0 + ld a, [rJOYP] and $3 cp $3 jr nz, .asm_720fd diff --git a/engine/predefs.asm b/engine/predefs.asm index 17f94b73..73a22ad9 100755 --- a/engine/predefs.asm +++ b/engine/predefs.asm @@ -111,7 +111,7 @@ PredefPointers:: ; 4fe79 (13:7e79) add_predef InternalClockTradeAnim add_predef TrainerEngage add_predef IndexToPokedex - add_predef DisplayPicCenteredOrUpperRight; 3B display pic? + add_predef DisplayPicCenteredOrUpperRight add_predef UsedCut add_predef ShowPokedexData add_predef WriteMonMoves @@ -128,15 +128,15 @@ PredefPointers:: ; 4fe79 (13:7e79) add_predef DrawEnemyHUDAndHPBar add_predef LoadTownMap_Nest add_predef PrintMonType - add_predef EmotionBubble; 4C player exclamation + add_predef EmotionBubble add_predef EmptyFunc3; return immediately add_predef AskName add_predef PewterGuys add_predef SaveSAVtoSRAM2 - add_predef LoadSAVCheckSum2 + add_predef LoadSAV2 add_predef LoadSAV add_predef SaveSAVtoSRAM1 - add_predef DoInGameTradeDialogue ; 54 initiate trade + add_predef DoInGameTradeDialogue add_predef HallOfFamePC add_predef DisplayDexRating dbw $1E, _LeaveMapAnim ; wrong bank diff --git a/engine/save.asm b/engine/save.asm index 56468595..7265fa3c 100755 --- a/engine/save.asm +++ b/engine/save.asm @@ -4,11 +4,11 @@ LoadSAV: ; 735e8 (1c:75e8) call ClearScreen call LoadFontTilePatterns call LoadTextBoxTilePatterns - call LoadSAVCheckSum + call LoadSAV0 jr c, .badsum - call LoadSAVCheckSum1 + call LoadSAV1 jr c, .badsum - call LoadSAVCheckSum2 + call LoadSAV2 jr c, .badsum ld a, $2 ; good checksum jr .goodsum @@ -24,14 +24,14 @@ LoadSAV: ; 735e8 (1c:75e8) res 6, [hl] ld a, $1 ; bad checksum .goodsum - ld [wd088], a ; checksum flag + ld [wSaveFileStatus], a ret FileDataDestroyedText: ; 7361e (1c:761e) TX_FAR _FileDataDestroyedText db "@" -LoadSAVCheckSum: ; 73623 (1c:7623) +LoadSAV0: ; 73623 (1c:7623) ld a, SRAM_ENABLE ld [MBC1SRamEnable], a ld a, $1 @@ -43,7 +43,9 @@ LoadSAVCheckSum: ; 73623 (1c:7623) ld c, a ld a, [sMainDataCheckSum] ; SAV's checksum cp c - jp z, .Func_73652 + jp z, .checkSumsMatched + +; If the computed checksum didn't match the saved on, try again. ld hl, sPlayerName ld bc, sMainDataCheckSum - sPlayerName call SAVCheckSum @@ -52,7 +54,7 @@ LoadSAVCheckSum: ; 73623 (1c:7623) cp c jp nz, SAVBadCheckSum -.Func_73652 ; 73652 (1c:7652) +.checkSumsMatched ld hl, sPlayerName ld de, wPlayerName ld bc, 11 @@ -76,7 +78,7 @@ LoadSAVCheckSum: ; 73623 (1c:7623) and a jp SAVGoodChecksum -LoadSAVCheckSum1: ; 73690 (1c:7690) +LoadSAV1: ; 73690 (1c:7690) ld a, SRAM_ENABLE ld [MBC1SRamEnable], a ld a, $1 @@ -96,7 +98,7 @@ LoadSAVCheckSum1: ; 73690 (1c:7690) and a jp SAVGoodChecksum -LoadSAVCheckSum2: ; 736bd (1c:76bd) +LoadSAV2: ; 736bd (1c:76bd) ld a, SRAM_ENABLE ld [MBC1SRamEnable], a ld a, $1 @@ -129,10 +131,11 @@ SAVGoodChecksum: ; 736f8 (1c:76f8) ld [MBC1SRamEnable], a ret -Func_73701: ; 73701 (1c:7701) - call LoadSAVCheckSum - call LoadSAVCheckSum1 - jp LoadSAVCheckSum2 +LoadSAVIgnoreBadCheckSum: ; 73701 (1c:7701) +; unused function that loads save data and ignores bad checksums + call LoadSAV0 + call LoadSAV1 + jp LoadSAV2 SaveSAV: ; 7370a (1c:770a) callba PrintSaveScreenText @@ -140,7 +143,7 @@ SaveSAV: ; 7370a (1c:770a) call SaveSAVConfirm and a ;|0 = Yes|1 = No| ret nz - ld a,[wd088] + ld a,[wSaveFileStatus] dec a jr z,.save call SAVCheckRandomID @@ -270,14 +273,14 @@ SaveSAVtoSRAM2: ; 7380f (1c:780f) SaveSAVtoSRAM: ; 73848 (1c:7848) ld a, $2 - ld [wd088], a + ld [wSaveFileStatus], a call SaveSAVtoSRAM0 call SaveSAVtoSRAM1 jp SaveSAVtoSRAM2 SAVCheckSum: ; 73856 (1c:7856) ;Check Sum (result[1 byte] is complemented) - ld d, $0 + ld d, 0 .loop ld a, [hli] add d @@ -290,11 +293,11 @@ SAVCheckSum: ; 73856 (1c:7856) cpl ret -Func_73863: ; 73863 (1c:7863) +CalcIndividualBoxCheckSums: ; 73863 (1c:7863) ld hl, sBox1 ; sBox7 - ld de, sBoxes1CheckSum2 ; sBoxes2CheckSum2 + ld de, sBank2IndividualBoxChecksums ; sBank3IndividualBoxChecksums ld b, NUM_BOXES / 2 -.asm_7386b +.loop push bc push de ld bc, wBoxMonNicksEnd - W_NUMINBOX @@ -304,21 +307,23 @@ Func_73863: ; 73863 (1c:7863) inc de pop bc dec b - jr nz, .asm_7386b + jr nz, .loop ret -Func_7387b: ; 7387b (1c:787b) - ld hl, PointerTable_73895 +GetBoxSRAMLocation: ; 7387b (1c:787b) +; in: a = box num +; out: b = box SRAM bank, hl = pointer to start of box + ld hl, BoxSRAMPointerTable ld a, [wCurrentBoxNum] and $7f cp NUM_BOXES / 2 - ld b, $2 - jr c, .asm_7388c + ld b, 2 + jr c, .next inc b sub NUM_BOXES / 2 -.asm_7388c +.next ld e, a - ld d, $0 + ld d, 0 add hl, de add hl, de ld a, [hli] @@ -326,7 +331,7 @@ Func_7387b: ; 7387b (1c:787b) ld l, a ret -PointerTable_73895: ; 73895 (1c:7895) +BoxSRAMPointerTable: ; 73895 (1c:7895) dw sBox1 ; sBox7 dw sBox2 ; sBox8 dw sBox3 ; sBox9 @@ -342,9 +347,9 @@ ChangeBox:: ; 738a1 (1c:78a1) and a ret nz ; return if No was chosen ld hl, wCurrentBoxNum - bit 7, [hl] - call z, Func_73a29 - call Func_7393f + bit 7, [hl] ; is it the first time player is changing the box? + call z, EmptyAllSRAMBoxes ; if so, empty all boxes in SRAM + call DisplayChangeBoxMenu call UpdateSprites ld hl, hFlags_0xFFF6 set 1, [hl] @@ -353,17 +358,17 @@ ChangeBox:: ; 738a1 (1c:78a1) res 1, [hl] bit 1, a ret nz - call Func_7387b + call GetBoxSRAMLocation ld e, l ld d, h ld hl, W_NUMINBOX - call Func_7390e + call CopyBoxToOrFromSRAM ; copy old box from WRAM to SRAM ld a, [wCurrentMenuItem] set 7, a ld [wCurrentBoxNum], a - call Func_7387b + call GetBoxSRAMLocation ld de, W_NUMINBOX - call Func_7390e + call CopyBoxToOrFromSRAM ; copy new box from SRAM to WRAM ld hl, W_MAPTEXTPTR ld de, wChangeBoxSavedMapTextPointer ld a, [hli] @@ -384,7 +389,8 @@ WhenYouChangeBoxText: ; 73909 (1c:7909) TX_FAR _WhenYouChangeBoxText db "@" -Func_7390e: ; 7390e (1c:790e) +CopyBoxToOrFromSRAM: ; 7390e (1c:790e) +; copy an entire box from hl to de with b as the SRAM bank push hl ld a, SRAM_ENABLE ld [MBC1SRamEnable], a @@ -395,30 +401,33 @@ Func_7390e: ; 7390e (1c:790e) ld bc, wBoxMonNicksEnd - W_NUMINBOX call CopyData pop hl + +; mark the memory that the box was copied from as am empty box xor a ld [hli], a dec a ld [hl], a + ld hl, sBox1 ; sBox7 - ld bc, sBoxes1CheckSum - sBox1 + ld bc, sBank2AllBoxesChecksum - sBox1 call SAVCheckSum - ld [sBoxes1CheckSum], a ; sBoxes2CheckSum - call Func_73863 + ld [sBank2AllBoxesChecksum], a ; sBank3AllBoxesChecksum + call CalcIndividualBoxCheckSums xor a ld [MBC1SRamBankingMode], a ld [MBC1SRamEnable], a ret -Func_7393f: ; 7393f (1c:793f) +DisplayChangeBoxMenu: ; 7393f (1c:793f) xor a ld [H_AUTOBGTRANSFERENABLED], a - ld a, $3 + ld a, A_BUTTON | B_BUTTON ld [wMenuWatchedKeys], a - ld a, $b + ld a, 11 ld [wMaxMenuItem], a - ld a, $1 + ld a, 1 ld [wTopMenuItemY], a - ld a, $c + ld a, 12 ld [wTopMenuItemX], a xor a ld [wMenuWatchMovingOutOfBounds], a @@ -427,14 +436,14 @@ Func_7393f: ; 7393f (1c:793f) ld [wCurrentMenuItem], a ld [wLastMenuItem], a coord hl, 0, 0 - ld b, $2 - ld c, $9 + ld b, 2 + ld c, 9 call TextBoxBorder ld hl, ChooseABoxText call PrintText coord hl, 11, 0 - ld b, $c - ld c, $7 + ld b, 12 + ld c, 7 call TextBoxBorder ld hl, hFlags_0xFFF6 set 2, [hl] @@ -446,37 +455,37 @@ Func_7393f: ; 7393f (1c:793f) ld a, [wCurrentBoxNum] and $7f cp 9 - jr c, .asm_739a6 + jr c, .singleDigitBoxNum sub 9 coord hl, 8, 2 ld [hl], "1" add "0" - jr .asm_739a8 -.asm_739a6 + jr .next +.singleDigitBoxNum add "1" -.asm_739a8 +.next Coorda 9, 2 coord hl, 1, 2 ld de, BoxNoText call PlaceString - call Func_73a84 + call GetMonCountsForAllBoxes coord hl, 18, 1 - ld de, wWhichTrade + ld de, wBoxMonCounts ld bc, SCREEN_WIDTH ld a, $c -.asm_739c2 +.loop push af ld a, [de] - and a - jr z, .asm_739c9 - ld [hl], $78 -.asm_739c9 + and a ; is the box empty? + jr z, .skipPlacingPokeball + ld [hl], $78 ; place pokeball tile next to box name if box not empty +.skipPlacingPokeball add hl, bc inc de pop af dec a - jr nz, .asm_739c2 - ld a, $1 + jr nz, .loop + ld a, 1 ld [H_AUTOBGTRANSFERENABLED], a ret @@ -501,51 +510,54 @@ BoxNames: ; 739d9 (1c:79d9) BoxNoText: ; 73a21 (1c:7a21) db "BOX No.@" -Func_73a29: ; 73a29 (1c:7a29) +EmptyAllSRAMBoxes: ; 73a29 (1c:7a29) +; marks all boxes in SRAM as empty (initialisation for the first time the +; player changes the box) ld a, SRAM_ENABLE ld [MBC1SRamEnable], a ld a, $1 ld [MBC1SRamBankingMode], a - ld a, $2 + ld a, 2 ld [MBC1SRamBank], a - call Func_73a4b - ld a, $3 + call EmptySRAMBoxesInBank + ld a, 3 ld [MBC1SRamBank], a - call Func_73a4b + call EmptySRAMBoxesInBank xor a ld [MBC1SRamBankingMode], a ld [MBC1SRamEnable], a ret -Func_73a4b: ; 73a4b (1c:7a4b) +EmptySRAMBoxesInBank: ; 73a4b (1c:7a4b) +; marks every box in the current SRAM bank as empty ld hl, sBox1 ; sBox7 - call Func_73a7f + call EmptySRAMBox ld hl, sBox2 ; sBox8 - call Func_73a7f + call EmptySRAMBox ld hl, sBox3 ; sBox9 - call Func_73a7f + call EmptySRAMBox ld hl, sBox4 ; sBox10 - call Func_73a7f + call EmptySRAMBox ld hl, sBox5 ; sBox11 - call Func_73a7f + call EmptySRAMBox ld hl, sBox6 ; sBox12 - call Func_73a7f + call EmptySRAMBox ld hl, sBox1 ; sBox7 - ld bc, sBoxes1CheckSum - sBox1 + ld bc, sBank2AllBoxesChecksum - sBox1 call SAVCheckSum - ld [sBoxes1CheckSum], a ; sBoxes2CheckSum - call Func_73863 + ld [sBank2AllBoxesChecksum], a ; sBank3AllBoxesChecksum + call CalcIndividualBoxCheckSums ret -Func_73a7f: ; 73a7f (1c:7a7f) +EmptySRAMBox: ; 73a7f (1c:7a7f) xor a ld [hli], a dec a ld [hl], a ret -Func_73a84: ; 73a84 (1c:7a84) - ld hl, wWhichTrade +GetMonCountsForAllBoxes: ; 73a84 (1c:7a84) + ld hl, wBoxMonCounts push hl ld a, SRAM_ENABLE ld [MBC1SRamEnable], a @@ -553,24 +565,27 @@ Func_73a84: ; 73a84 (1c:7a84) ld [MBC1SRamBankingMode], a ld a, $2 ld [MBC1SRamBank], a - call Func_73ab8 + call GetMonCountsForBoxesInBank ld a, $3 ld [MBC1SRamBank], a - call Func_73ab8 + call GetMonCountsForBoxesInBank xor a ld [MBC1SRamBankingMode], a ld [MBC1SRamEnable], a pop hl + +; copy the count for the current box from WRAM ld a, [wCurrentBoxNum] and $7f ld c, a - ld b, $0 + ld b, 0 add hl, bc ld a, [W_NUMINBOX] ld [hl], a + ret -Func_73ab8: ; 73ab8 (1c:7ab8) +GetMonCountsForBoxesInBank: ; 73ab8 (1c:7ab8) ld a, [sBox1] ; sBox7 ld [hli], a ld a, [sBox2] ; sBox8 @@ -646,7 +661,7 @@ SaveHallOfFameTeams: ; 73b0d (1c:7b0d) LoadHallOfFameTeams: ; 73b3f (1c:7b3f) ld hl, sHallOfFame ld bc, HOF_TEAM - ld a, [wWhichTrade] + ld a, [wHoFTeamIndex] call AddNTimes ld de, wcc5b ld bc, HOF_TEAM diff --git a/engine/slot_machine.asm b/engine/slot_machine.asm index ea1eb315..cf6ad3d5 100755 --- a/engine/slot_machine.asm +++ b/engine/slot_machine.asm @@ -867,7 +867,7 @@ LoadSlotMachineTiles: ; 378a8 (d:78a8) ld bc, $00f0 call CopyData call EnableLCD - ld hl, wTrainerEngageDistance + ld hl, wSlotMachineWheel1Offset ld a, $1c ld [hli], a ld [hli], a diff --git a/engine/titlescreen.asm b/engine/titlescreen.asm index 3a4e2e4c..5acdd2c9 100755 --- a/engine/titlescreen.asm +++ b/engine/titlescreen.asm @@ -21,7 +21,7 @@ SetDefaultNamesBeforeTitlescreen: ; 42b7 (1:42b7) ld [wc0ef], a ld [wc0f0], a -LoadTitlescreenGraphics: ; 42dd (1:42dd) +DisplayTitleScreen: ; 42dd (1:42dd) call GBPalWhiteOut ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a diff --git a/home/init.asm b/home/init.asm index 932797ac..3e8d1d2b 100644 --- a/home/init.asm +++ b/home/init.asm @@ -23,17 +23,17 @@ rLCDC_DEFAULT EQU %11100011 xor a ld [rIF], a ld [rIE], a - ld [$ff43], a - ld [$ff42], a + ld [rSCX], a + ld [rSCY], a ld [rSB], a ld [rSC], a ld [rWX], a - ld [$ff4a], a - ld [$ff06], a - ld [$ff07], a + ld [rWY], a + ld [rTMA], a + ld [rTAC], a ld [rBGP], a ld [rOBP0], a - ld [$ff49], a + ld [rOBP1], a ld a, rLCDC_ENABLE_MASK ld [rLCDC], a @@ -66,10 +66,10 @@ rLCDC_DEFAULT EQU %11100011 xor a ld [hTilesetType], a - ld [$ff41], a + ld [rSTAT], a ld [hSCX], a ld [hSCY], a - ld [$ff0f], a + ld [rIF], a ld a, 1 << VBLANK + 1 << TIMER + 1 << SERIAL ld [rIE], a diff --git a/hram.asm b/hram.asm index a05f3d18..8bbf7150 100644 --- a/hram.asm +++ b/hram.asm @@ -90,6 +90,8 @@ hNPCSpriteOffset EQU $FF95 ; temp value used when swapping bytes hSwapTemp EQU $FF95 +hExperience EQU $FF96 ; 3 bytes, big endian + ; Multiplcation and division variables are meant ; to overlap for back-to-back usage. Big endian. @@ -261,6 +263,8 @@ hQuotient2 EQU $FFE7 hSpriteVRAMSlotAndFacing EQU $FFE9 +hCoordsInFrontOfPlayerMatch EQU $FFEA + hSpriteAnimFrameCounter EQU $FFEA H_WHOSETURN EQU $FFF3 ; 0 on player’s turn, 1 on enemy’s turn diff --git a/macros.asm b/macros.asm index 5f1deaf6..ba83e73a 100644 --- a/macros.asm +++ b/macros.asm @@ -14,7 +14,7 @@ dex EQUS "db $5f, $50" ; End a Pokedex entry. percent EQUS "* $ff / 100" lb: MACRO ; r, hi, lo - ld \1, (\2) << 8 + (\3) + ld \1, (\2) << 8 + ((\3) & $ff) ENDM diff --git a/main.asm b/main.asm index 08747a5a..c90f5436 100755 --- a/main.asm +++ b/main.asm @@ -3743,7 +3743,7 @@ _AddPartyMon: ; f2e5 (3:72e5) dec de dec de xor a - ld [wHPBarMaxHP], a + ld [wLearningMovesFromDayCare], a predef WriteMonMoves pop de ld a, [wPlayerID] ; set trainer ID to player ID @@ -3758,13 +3758,13 @@ _AddPartyMon: ; f2e5 (3:72e5) callab CalcExperience pop de inc de - ld a, [H_MULTIPLICAND] ; write experience + ld a, [hExperience] ; write experience ld [de], a inc de - ld a, [H_MULTIPLICAND+1] + ld a, [hExperience + 1] ld [de], a inc de - ld a, [H_MULTIPLICAND+2] + ld a, [hExperience + 2] ld [de], a xor a ld b, $a diff --git a/scripts/agatha.asm b/scripts/agatha.asm index e65b1fa2..850cc0bb 100755 --- a/scripts/agatha.asm +++ b/scripts/agatha.asm @@ -67,7 +67,7 @@ AgathaScript0: ; 76490 (1d:6490) ld [hJoyHeld], a ld [wSimulatedJoypadStatesEnd], a ld [wSimulatedJoypadStatesIndex], a - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $3 jr c, .asm_764b4 ld hl, wd865 diff --git a/scripts/bruno.asm b/scripts/bruno.asm index bd28917c..76a5919a 100755 --- a/scripts/bruno.asm +++ b/scripts/bruno.asm @@ -67,7 +67,7 @@ BrunoScript0: ; 76339 (1d:6339) ld [hJoyHeld], a ld [wSimulatedJoypadStatesEnd], a ld [wSimulatedJoypadStatesIndex], a - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $3 jr c, .asm_7635d ld hl, wd864 diff --git a/scripts/ceruleancity.asm b/scripts/ceruleancity.asm index 20873a81..2c7bd449 100755 --- a/scripts/ceruleancity.asm +++ b/scripts/ceruleancity.asm @@ -42,7 +42,7 @@ CeruleanCityScript0: ; 194c8 (6:54c8) ld hl, CeruleanCityCoords1 call ArePlayerCoordsInArray jr nc, .asm_194f7 - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 ld a, $8 ld b, SPRITE_FACING_DOWN diff --git a/scripts/daycarem.asm b/scripts/daycarem.asm index 330f2234..794d681e 100755 --- a/scripts/daycarem.asm +++ b/scripts/daycarem.asm @@ -9,19 +9,19 @@ DayCareMText1: ; 56254 (15:6254) call SaveScreenTilesToBuffer2 ld a, [W_DAYCARE_IN_USE] and a - jp nz, DayCareMScript_562e1 - ld hl, DayCareMText_5640f + jp nz, .daycareInUse + ld hl, DayCareIntroText call PrintText call YesNoChoice ld a, [wCurrentMenuItem] and a - ld hl, DayCareMText_5643b - jp nz, DayCareMScript_56409 + ld hl, DayCareComeAgainText + jp nz, .done ld a, [wPartyCount] dec a - ld hl, DayCareMText_56445 - jp z, DayCareMScript_56409 - ld hl, DayCareMText_56414 + ld hl, DayCareOnlyHaveOneMonText + jp z, .done + ld hl, DayCareWhichMonText call PrintText xor a ld [wUpdateSpritesEnabled], a @@ -33,17 +33,17 @@ DayCareMText1: ; 56254 (15:6254) call RestoreScreenTilesAndReloadTilePatterns call LoadGBPal pop af - ld hl, DayCareMText_56437 - jp c, DayCareMScript_56409 + ld hl, DayCareAllRightThenText + jp c, .done callab KnowsHMMove - ld hl, DayCareMText_5644a - jp c, DayCareMScript_56409 + ld hl, DayCareCantAcceptMonWithHMText + jp c, .done xor a ld [wPartyAndBillsPCSavedMenuItem], a ld a, [wWhichPokemon] ld hl, wPartyMonNicks call GetPartyMonName - ld hl, DayCareMText_56419 + ld hl, DayCareWillLookAfterMonText call PrintText ld a, 1 ld [W_DAYCARE_IN_USE], a @@ -55,10 +55,10 @@ DayCareMText1: ; 56254 (15:6254) call RemovePokemon ld a, [wcf91] call PlayCry - ld hl, DayCareMText_5641e - jp DayCareMScript_56409 + ld hl, DayCareComeSeeMeInAWhileText + jp .done -DayCareMScript_562e1: ; 562e1 (15:62e1) +.daycareInUse xor a ld hl, W_DAYCAREMONNAME call GetPartyMonName @@ -68,40 +68,41 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) callab CalcLevelFromExperience ld a, d cp MAX_LEVEL - jr c, .asm_56315 + jr c, .skipCalcExp + ld d, MAX_LEVEL callab CalcExperience ld hl, wDayCareMonExp - ld a, [H_NUMTOPRINT] + ld a, [hExperience] ld [hli], a - ld a, [$ff97] + ld a, [hExperience + 1] ld [hli], a - ld a, [$ff98] + ld a, [hExperience + 2] ld [hl], a ld d, MAX_LEVEL -.asm_56315 +.skipCalcExp xor a - ld [wTrainerEngageDistance], a + ld [wDayCareNumLevelsGrown], a ld hl, wDayCareMonBoxLevel ld a, [hl] - ld [wTrainerSpriteOffset], a + ld [wDayCareStartLevel], a cp d ld [hl], d - ld hl, DayCareMText_56432 - jr z, .asm_56333 - ld a, [wTrainerSpriteOffset] + ld hl, DayCareMonNeedsMoreTimeText + jr z, .next + ld a, [wDayCareStartLevel] ld b, a ld a, d sub b - ld [wTrainerEngageDistance], a - ld hl, DayCareMText_56423 + ld [wDayCareNumLevelsGrown], a + ld hl, DayCareMonHasGrownText -.asm_56333 +.next call PrintText ld a, [wPartyCount] cp PARTY_LENGTH - ld hl, DayCareMText_56440 + ld hl, DayCareNoRoomForMonText jp z, .asm_56403 ld de, wTrainerFacingDirection xor a @@ -112,7 +113,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) ld a, $1 ld [hli], a ld [hl], $0 - ld a, [wTrainerEngageDistance] + ld a, [wDayCareNumLevelsGrown] inc a ld b, a ld c, $2 @@ -126,13 +127,13 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) pop hl dec b jr nz, .asm_56357 - ld hl, DayCareMText_56428 + ld hl, DayCareOweMoneyText call PrintText ld a, $13 ld [wTextBoxID], a call DisplayTextBoxID call YesNoChoice - ld hl, DayCareMText_56437 + ld hl, DayCareAllRightThenText ld a, [wCurrentMenuItem] and a jp nz, .asm_56403 @@ -144,13 +145,13 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) ld [hMoney + 2], a call HasEnoughMoney jr nc, .asm_56396 - ld hl, DayCareMText_56454 + ld hl, DayCareNotEnoughMoneyText jp .asm_56403 .asm_56396 xor a ld [W_DAYCARE_IN_USE], a - ld hl, wTrainerEngageDistance + ld hl, wDayCareNumLevelsGrown ld [hli], a inc hl ld de, wPlayerMoney + 2 @@ -161,7 +162,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) ld a, MONEY_BOX ld [wTextBoxID], a call DisplayTextBoxID - ld hl, DayCareMText_5644f + ld hl, DayCareHeresYourMonText call PrintText ld a, DAYCARE_TO_PARTY ld [wMoveMonType], a @@ -178,10 +179,12 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) ld d, h ld e, l ld a, 1 - ld [wHPBarMaxHP], a + ld [wLearningMovesFromDayCare], a predef WriteMonMoves pop bc pop af + +; set mon's HP to max ld hl, wPartyMon1HP call AddNTimes ld d, h @@ -193,73 +196,74 @@ DayCareMScript_562e1: ; 562e1 (15:62e1) inc de ld a, [hl] ld [de], a + ld a, [wcf91] call PlayCry - ld hl, DayCareMText_5642d - jr DayCareMScript_56409 + ld hl, DayCareGotMonBackText + jr .done .asm_56403 - ld a, [wTrainerSpriteOffset] + ld a, [wDayCareStartLevel] ld [wDayCareMonBoxLevel], a -DayCareMScript_56409: ; 56409 (15:6409) +.done call PrintText jp TextScriptEnd -DayCareMText_5640f: ; 5640f (15:640f) - TX_FAR _DayCareMText_5640f +DayCareIntroText: ; 5640f (15:640f) + TX_FAR _DayCareIntroText db "@" -DayCareMText_56414: ; 56414 (15:6414) - TX_FAR _DayCareMText_56414 +DayCareWhichMonText: ; 56414 (15:6414) + TX_FAR _DayCareWhichMonText db "@" -DayCareMText_56419: ; 56419 (15:6419) - TX_FAR _DayCareMText_56419 +DayCareWillLookAfterMonText: ; 56419 (15:6419) + TX_FAR _DayCareWillLookAfterMonText db "@" -DayCareMText_5641e: ; 5641e (15:641e) - TX_FAR _DayCareMText_5641e +DayCareComeSeeMeInAWhileText: ; 5641e (15:641e) + TX_FAR _DayCareComeSeeMeInAWhileText db "@" -DayCareMText_56423: ; 56423 (15:6423) - TX_FAR _DayCareMText_56423 +DayCareMonHasGrownText: ; 56423 (15:6423) + TX_FAR _DayCareMonHasGrownText db "@" -DayCareMText_56428: ; 56428 (15:6428) - TX_FAR _DayCareMText_56428 +DayCareOweMoneyText: ; 56428 (15:6428) + TX_FAR _DayCareOweMoneyText db "@" -DayCareMText_5642d: ; 5642d (15:642d) - TX_FAR _DayCareMText_5642d +DayCareGotMonBackText: ; 5642d (15:642d) + TX_FAR _DayCareGotMonBackText db "@" -DayCareMText_56432: ; 56432 (15:6432) - TX_FAR _DayCareMText_56432 +DayCareMonNeedsMoreTimeText: ; 56432 (15:6432) + TX_FAR _DayCareMonNeedsMoreTimeText db "@" -DayCareMText_56437: ; 56437 (15:6437) - TX_FAR _DayCareMText_56437 -DayCareMText_5643b: ; 5643b (15:643b) - TX_FAR _DayCareMText_5643b +DayCareAllRightThenText: ; 56437 (15:6437) + TX_FAR _DayCareAllRightThenText +DayCareComeAgainText: ; 5643b (15:643b) + TX_FAR _DayCareComeAgainText db "@" -DayCareMText_56440: ; 56440 (15:6440) - TX_FAR _DayCareMText_56440 +DayCareNoRoomForMonText: ; 56440 (15:6440) + TX_FAR _DayCareNoRoomForMonText db "@" -DayCareMText_56445: ; 56445 (15:6445) - TX_FAR _DayCareMText_56445 +DayCareOnlyHaveOneMonText: ; 56445 (15:6445) + TX_FAR _DayCareOnlyHaveOneMonText db "@" -DayCareMText_5644a: ; 5644a (15:644a) - TX_FAR _DayCareMText_5644a +DayCareCantAcceptMonWithHMText: ; 5644a (15:644a) + TX_FAR _DayCareCantAcceptMonWithHMText db "@" -DayCareMText_5644f: ; 5644f (15:644f) - TX_FAR _DayCareMText_5644f +DayCareHeresYourMonText: ; 5644f (15:644f) + TX_FAR _DayCareHeresYourMonText db "@" -DayCareMText_56454: ; 56454 (15:6454) - TX_FAR _DayCareMText_56454 +DayCareNotEnoughMoneyText: ; 56454 (15:6454) + TX_FAR _DayCareNotEnoughMoneyText db "@" diff --git a/scripts/lance.asm b/scripts/lance.asm index e335914b..a4089be4 100755 --- a/scripts/lance.asm +++ b/scripts/lance.asm @@ -60,7 +60,7 @@ LanceScript0: ; 5a305 (16:6305) jp nc, CheckFightingMapTrainers xor a ld [hJoyHeld], a - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $3 jr nc, .asm_5a325 ld a, $1 diff --git a/scripts/lorelei.asm b/scripts/lorelei.asm index 1f1fcde0..eb6c3e7d 100755 --- a/scripts/lorelei.asm +++ b/scripts/lorelei.asm @@ -68,7 +68,7 @@ LoreleiScript0: ; 761e2 (1d:61e2) ld [hJoyHeld], a ld [wSimulatedJoypadStatesEnd], a ld [wSimulatedJoypadStatesIndex], a - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $3 jr c, .asm_76206 ld hl, wd863 diff --git a/scripts/mansion3.asm b/scripts/mansion3.asm index fa31718f..c22bf761 100755 --- a/scripts/mansion3.asm +++ b/scripts/mansion3.asm @@ -65,7 +65,7 @@ Mansion3Script_5225b: ; 5225b (14:625b) ret nz call ArePlayerCoordsInArray ret nc - ld a, [wWhichTrade] + ld a, [wCoordIndex] ld [wWhichDungeonWarp], a ld hl, wd72d set 4, [hl] diff --git a/scripts/mtmoonpokecenter.asm b/scripts/mtmoonpokecenter.asm index bba73dbd..d4996b4b 100755 --- a/scripts/mtmoonpokecenter.asm +++ b/scripts/mtmoonpokecenter.asm @@ -25,51 +25,51 @@ MtMoonPokecenterText4: ; 492ec (12:52ec) TX_ASM ld a, [wd7c6] add a - jp c, .asm_49353 + jp c, .alreadyBoughtMagikarp ld hl, MtMoonPokecenterText_4935c call PrintText - ld a, $13 + ld a, MONEY_BOX ld [wTextBoxID], a call DisplayTextBoxID call YesNoChoice ld a, [wCurrentMenuItem] and a - jp nz, .asm_4934e + jp nz, .choseNo ld [hMoney], a ld [hMoney + 2], a ld a, $5 ld [hMoney + 1], a call HasEnoughMoney - jr nc, .asm_faa09 + jr nc, .enoughMoney ld hl, MtMoonPokecenterText_49366 - jr .asm_49356 -.asm_faa09 + jr .printText +.enoughMoney ld bc,(MAGIKARP << 8) | 5 call GivePokemon - jr nc, .asm_49359 + jr nc, .done xor a - ld [wWhichTrade], a - ld [wTrainerFacingDirection], a + ld [wPriceTemp], a + ld [wPriceTemp + 2], a ld a, $5 - ld [wTrainerEngageDistance], a - ld hl, wTrainerFacingDirection + ld [wPriceTemp + 1], a + ld hl, wPriceTemp + 2 ld de, wPlayerMoney + 2 ld c, $3 predef SubBCDPredef - ld a, $13 + ld a, MONEY_BOX ld [wTextBoxID], a call DisplayTextBoxID ld hl, wd7c6 set 7, [hl] - jr .asm_49359 -.asm_4934e + jr .done +.choseNo ld hl, MtMoonPokecenterText_49361 - jr .asm_49356 -.asm_49353 + jr .printText +.alreadyBoughtMagikarp ld hl, MtMoonPokecenterText_4936b -.asm_49356 +.printText call PrintText -.asm_49359 +.done jp TextScriptEnd MtMoonPokecenterText_4935c: ; 4935c (12:535c) diff --git a/scripts/museum1f.asm b/scripts/museum1f.asm index 38c3f717..f4d7de10 100755 --- a/scripts/museum1f.asm +++ b/scripts/museum1f.asm @@ -96,11 +96,11 @@ Museum1FText1: ; 5c135 (17:4135) ld hl, wd754 set 0, [hl] xor a - ld [wMuseumPriceTemp], a - ld [wMuseumPriceTemp + 1], a + ld [wPriceTemp], a + ld [wPriceTemp + 1], a ld a, $50 - ld [wMuseumPriceTemp + 2], a - ld hl, wMuseumPriceTemp + 2 + ld [wPriceTemp + 2], a + ld hl, wPriceTemp + 2 ld de, wPlayerMoney + 2 ld c, $3 predef SubBCDPredef diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm index 5463b879..226c2d2d 100755 --- a/scripts/oakslab.asm +++ b/scripts/oakslab.asm @@ -307,7 +307,7 @@ OaksLabScript9: ; 1cd00 (7:4d00) ld a, $d ld [hSpriteIndexOrTextID], a call DisplayTextID - ld a, [wTrainerEngageDistance] + ld a, [wRivalStarterBallSpriteIndex] cp $2 jr nz, .asm_1cd28 ld a, HS_STARTER_BALL_1 @@ -323,7 +323,7 @@ OaksLabScript9: ; 1cd00 (7:4d00) ld [wcc4d], a predef HideObject call Delay3 - ld a, [wWhichTrade] + ld a, [wRivalStarterTemp] ld [W_RIVALSTARTER], a ld [wcf91], a ld [wd11e], a @@ -806,9 +806,9 @@ OaksLabText29: ; 1d102 (7:5102) OaksLabText2: ; 1d102 (7:5102) TX_ASM ld a, STARTER2 - ld [wWhichTrade], a + ld [wRivalStarterTemp], a ld a, $3 - ld [wTrainerEngageDistance], a + ld [wRivalStarterBallSpriteIndex], a ld a, STARTER1 ld b, $2 jr OaksLabScript_1d133 @@ -817,9 +817,9 @@ OaksLabText30: ; 1d113 (7:5113) OaksLabText3: ; 1d113 (7:5113) TX_ASM ld a, STARTER3 - ld [wWhichTrade], a + ld [wRivalStarterTemp], a ld a, $4 - ld [wTrainerEngageDistance], a + ld [wRivalStarterBallSpriteIndex], a ld a, STARTER2 ld b, $3 jr OaksLabScript_1d133 @@ -828,9 +828,9 @@ OaksLabText31: ; 1d124 (7:5124) OaksLabText4: ; 1d124 (7:5124) TX_ASM ld a, STARTER1 - ld [wWhichTrade], a + ld [wRivalStarterTemp], a ld a, $2 - ld [wTrainerEngageDistance], a + ld [wRivalStarterBallSpriteIndex], a ld a, STARTER3 ld b, $4 @@ -858,13 +858,13 @@ OaksLabScript_1d157: ; 1d157 (7:5157) ld a, $9 ld [H_SPRITEDATAOFFSET], a call GetPointerWithinSpriteStateData1 - ld [hl], $0 + ld [hl], SPRITE_FACING_DOWN ld a, $1 ld [H_SPRITEINDEX], a ld a, $9 ld [H_SPRITEDATAOFFSET], a call GetPointerWithinSpriteStateData1 - ld [hl], $c + ld [hl], SPRITE_FACING_RIGHT ld hl, wd730 set 6, [hl] predef StarterDex ; StarterDex diff --git a/scripts/pewterpokecenter.asm b/scripts/pewterpokecenter.asm index 42bc3086..584878eb 100755 --- a/scripts/pewterpokecenter.asm +++ b/scripts/pewterpokecenter.asm @@ -26,39 +26,45 @@ PewterPokecenterText3: ; 5c59b (17:459b) ld c, 32 call DelayFrames ld hl, JigglypuffFacingDirections - ld de, wTrainerFacingDirection - ld bc, $0004 + ld de, wJigglypuffFacingDirections + ld bc, 4 call CopyData - ld a, [wSpriteStateData1 + $32] - ld hl, wTrainerFacingDirection -.asm_5c5c3 + + ld a, [wSpriteStateData1 + 3 * $10 + $2] + ld hl, wJigglypuffFacingDirections +.findMatchingFacingDirectionLoop cp [hl] inc hl - jr nz, .asm_5c5c3 + jr nz, .findMatchingFacingDirectionLoop dec hl push hl ld c, BANK(Music_JigglypuffSong) ld a, MUSIC_JIGGLYPUFF_SONG call PlayMusic pop hl -.asm_5c5d1 +.loop ld a, [hl] - ld [wSpriteStateData1 + $32], a + ld [wSpriteStateData1 + 3 * $10 + $2], a + +; rotate the array push hl - ld hl, wTrainerFacingDirection - ld de, wTrainerEngageDistance - ld bc, $0004 + ld hl, wJigglypuffFacingDirections + ld de, wJigglypuffFacingDirections - 1 + ld bc, 4 call CopyData - ld a, [wTrainerEngageDistance] - ld [wcd42], a + ld a, [wJigglypuffFacingDirections - 1] + ld [wJigglypuffFacingDirections + 3], a pop hl + ld c, 24 call DelayFrames + ld a, [wc026] ld b, a ld a, [wc027] or b - jr nz, .asm_5c5d1 + jr nz, .loop + ld c, 48 call DelayFrames call PlayDefaultMusic diff --git a/scripts/safarizoneentrance.asm b/scripts/safarizoneentrance.asm index e89630fc..2e5b55f7 100755 --- a/scripts/safarizoneentrance.asm +++ b/scripts/safarizoneentrance.asm @@ -26,7 +26,7 @@ SafariZoneEntranceScriptPointers: ; 751d9 (1d:51d9) ld [hJoyHeld], a ld a, SPRITE_FACING_RIGHT ld [wSpriteStateData1 + 9], a - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr z, .asm_7520f ld a, $2 diff --git a/scripts/seafoamislands1.asm b/scripts/seafoamislands1.asm index 6a8b23ea..f71fc648 100755 --- a/scripts/seafoamislands1.asm +++ b/scripts/seafoamislands1.asm @@ -10,7 +10,7 @@ SeafoamIslands1Script: ; 447e9 (11:47e9) call CheckBoulderCoords ret nc ld hl, wd7e8 - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr nz, .asm_44819 set 6, [hl] @@ -36,7 +36,7 @@ SeafoamIslands1Script: ; 447e9 (11:47e9) ld a, $9f ld [wDungeonWarpDestinationMap], a ld hl, Seafoam1HolesCoords - jp Func_46981 + jp IsPlayerOnDungeonWarp Seafoam1HolesCoords: ; 44846 (11:4846) db $06,$11 diff --git a/scripts/seafoamislands2.asm b/scripts/seafoamislands2.asm index 44e92bd0..a62d6bda 100755 --- a/scripts/seafoamislands2.asm +++ b/scripts/seafoamislands2.asm @@ -8,7 +8,7 @@ SeafoamIslands2Script: ; 46315 (11:6315) call CheckBoulderCoords ret nc ld hl, wd87f - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr nz, .asm_46340 set 0, [hl] @@ -34,7 +34,7 @@ SeafoamIslands2Script: ; 46315 (11:6315) ld a, $a0 ld [wDungeonWarpDestinationMap], a ld hl, Seafoam2HolesCoords - jp Func_46981 + jp IsPlayerOnDungeonWarp Seafoam2HolesCoords: ; 4636d (11:636d) db $06,$12 diff --git a/scripts/seafoamislands3.asm b/scripts/seafoamislands3.asm index 882553ab..0b650135 100755 --- a/scripts/seafoamislands3.asm +++ b/scripts/seafoamislands3.asm @@ -8,7 +8,7 @@ SeafoamIslands3Script: ; 46451 (11:6451) call CheckBoulderCoords ret nc ld hl, wd880 - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr nz, .asm_4647c set 0, [hl] @@ -34,7 +34,7 @@ SeafoamIslands3Script: ; 46451 (11:6451) ld a, $a1 ld [wDungeonWarpDestinationMap], a ld hl, Seafoam3HolesCoords - jp Func_46981 + jp IsPlayerOnDungeonWarp Seafoam3HolesCoords: ; 464a9 (11:64a9) db $06,$13 diff --git a/scripts/seafoamislands4.asm b/scripts/seafoamislands4.asm index 8009e221..f16ab2c6 100755 --- a/scripts/seafoamislands4.asm +++ b/scripts/seafoamislands4.asm @@ -8,7 +8,7 @@ SeafoamIslands4Script: ; 4658d (11:658d) call CheckBoulderCoords ret nc ld hl, wd881 - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr nz, .asm_465b8 set 0, [hl] @@ -35,7 +35,7 @@ SeafoamIslands4Script: ; 4658d (11:658d) ld a, $a2 ld [wDungeonWarpDestinationMap], a ld hl, Seafoam4HolesCoords - call Func_46981 + call IsPlayerOnDungeonWarp ld a, [wd732] bit 4, a ret nz diff --git a/scripts/seafoamislands5.asm b/scripts/seafoamislands5.asm index 47583600..ab303728 100755 --- a/scripts/seafoamislands5.asm +++ b/scripts/seafoamislands5.asm @@ -34,7 +34,7 @@ SeafoamIslands5Script0: ; 467c7 (11:67c7) ld hl, CoordsData_467fe call ArePlayerCoordsInArray ret nc - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $3 jr nc, .asm_467e6 ld a, $40 @@ -81,7 +81,7 @@ SeafoamIslands5Script2: ; 46816 (11:6816) call ArePlayerCoordsInArray ld a, $0 jr nc, .asm_46849 - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr nz, .asm_46837 ld de, RLEMovementData_46859 diff --git a/scripts/silphco7.asm b/scripts/silphco7.asm index 8538d37f..5043b947 100755 --- a/scripts/silphco7.asm +++ b/scripts/silphco7.asm @@ -142,7 +142,7 @@ SilphCo7Script0: ; 51c23 (14:5c23) ld [H_SPRITEINDEX], a call SetSpriteMovementBytesToFF ld de, MovementData_51c7d - ld a, [wWhichTrade] + ld a, [wCoordIndex] ld [wcf0d], a cp $1 jr z, .asm_51c6c diff --git a/scripts/vermiliondock.asm b/scripts/vermiliondock.asm index a8cf3b8d..adae2e91 100755 --- a/scripts/vermiliondock.asm +++ b/scripts/vermiliondock.asm @@ -57,15 +57,15 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b) ld bc, $0078 ld a, $14 call FillMemory - ld a, $1 - ld [$ffba], a + ld a, 1 + ld [H_AUTOBGTRANSFERENABLED], a call Delay3 xor a - ld [$ffba], a - ld [wWhichTrade], a - ld [$ff49], a - ld a, $58 - ld [wTrainerEngageDistance], a + ld [H_AUTOBGTRANSFERENABLED], a + ld [wSSAnneSmokeDriftAmount], a + ld [rOBP1], a + ld a, 88 + ld [wSSAnneSmokeX], a ld hl, wMapViewVRAMPointer ld c, [hl] inc hl @@ -88,11 +88,11 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b) push hl push de call ScheduleEastColumnRedraw - call VermilionDock_1dc59 + call VermilionDock_EmitSmokePuff pop de ld b, $10 .asm_1dc11 - call VermilionDock_1dc42 + call VermilionDock_AnimSmokePuffDriftRight ld c, $8 .asm_1dc16 call VermilionDock_1dc7c @@ -105,7 +105,7 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b) dec e jr nz, .asm_1dbfa xor a - ld [$ff4a], a + ld [rWY], a ld [hWY], a call VermilionDock_1dc94 ld a, $90 @@ -122,33 +122,34 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b) dec [hl] ret -VermilionDock_1dc42: ; 1dc42 (7:5c42) +VermilionDock_AnimSmokePuffDriftRight: ; 1dc42 (7:5c42) push bc push de ld hl, wOAMBuffer + $11 - ld a, [wWhichTrade] + ld a, [wSSAnneSmokeDriftAmount] swap a ld c, a - ld de, $0004 -.asm_1dc50 + ld de, 4 +.loop inc [hl] inc [hl] add hl, de dec c - jr nz, .asm_1dc50 + jr nz, .loop pop de pop bc ret -VermilionDock_1dc59: ; 1dc59 (7:5c59) - ld a, [wTrainerEngageDistance] - sub $10 - ld [wTrainerEngageDistance], a +VermilionDock_EmitSmokePuff: ; 1dc59 (7:5c59) +; new smoke puff above the S.S. Anne's front smokestack + ld a, [wSSAnneSmokeX] + sub 16 + ld [wSSAnneSmokeX], a ld c, a - ld b, $64 - ld a, [wWhichTrade] + ld b, 100 ; Y + ld a, [wSSAnneSmokeDriftAmount] inc a - ld [wWhichTrade], a + ld [wSSAnneSmokeDriftAmount], a ld a, $1 ld de, VermilionDockOAMBlock call WriteOAMBlock @@ -171,7 +172,7 @@ VermilionDock_1dc7c: ; 1dc7c (7:5c7c) cp l jr nz, .asm_1dc86 ld a, h - ld [$ff43], a + ld [rSCX], a .asm_1dc8e ld a, [rLY] cp h diff --git a/scripts/victoryroad2.asm b/scripts/victoryroad2.asm index 51346032..fd095638 100755 --- a/scripts/victoryroad2.asm +++ b/scripts/victoryroad2.asm @@ -49,7 +49,7 @@ VictoryRoad2Script0: ; 517f1 (14:57f1) call CheckBoulderCoords jp nc, CheckFightingMapTrainers ld hl, wd7ee - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $2 jr z, .asm_5180b bit 0, [hl] diff --git a/scripts/victoryroad3.asm b/scripts/victoryroad3.asm index 9aeb1d18..14b6895d 100755 --- a/scripts/victoryroad3.asm +++ b/scripts/victoryroad3.asm @@ -34,7 +34,7 @@ VictoryRoad3Script0: ; 449b7 (11:49b7) ld hl, .coordsData_449f9 call CheckBoulderCoords jp nc, .asm_449fe - ld a, [wWhichTrade] + ld a, [wCoordIndex] cp $1 jr nz, .asm_449dc ld hl, wd126 @@ -60,11 +60,11 @@ VictoryRoad3Script0: ; 449b7 (11:49b7) db $FF .asm_449fe - ld a, $c2 + ld a, VICTORY_ROAD_2 ld [wDungeonWarpDestinationMap], a ld hl, .coordsData_449f9 - call Func_46981 - ld a, [wWhichTrade] + call IsPlayerOnDungeonWarp + ld a, [wCoordIndex] cp $1 jr nz, .asm_44a1b ld hl, wd72d diff --git a/sram.asm b/sram.asm index 9d498df9..f0cf6fac 100644 --- a/sram.asm +++ b/sram.asm @@ -29,8 +29,8 @@ sBox3:: ds wBoxMonNicksEnd - W_NUMINBOX ; a8c4 sBox4:: ds wBoxMonNicksEnd - W_NUMINBOX ; ad26 sBox5:: ds wBoxMonNicksEnd - W_NUMINBOX ; b188 sBox6:: ds wBoxMonNicksEnd - W_NUMINBOX ; b5ea -sBoxes1CheckSum:: ds 1 ; ba4c -sBoxes1CheckSum2:: ds 6 ; ba4d +sBank2AllBoxesChecksum:: ds 1 ; ba4c +sBank2IndividualBoxChecksums:: ds 6 ; ba4d SECTION "Saved Boxes 2", SRAM, BANK[3] @@ -41,5 +41,5 @@ sBox9:: ds wBoxMonNicksEnd - W_NUMINBOX ; a8c4 sBox10:: ds wBoxMonNicksEnd - W_NUMINBOX ; ad26 sBox11:: ds wBoxMonNicksEnd - W_NUMINBOX ; b188 sBox12:: ds wBoxMonNicksEnd - W_NUMINBOX ; b5ea -sBoxes2CheckSum:: ds 1 ; ba4c -sBoxes2CheckSum2:: ds 6 ; ba4d +sBank3AllBoxesChecksum:: ds 1 ; ba4c +sBank3IndividualBoxChecksums:: ds 6 ; ba4d diff --git a/text/maps/daycare_1.asm b/text/maps/daycare_1.asm index a4182351..a42e3cf2 100644 --- a/text/maps/daycare_1.asm +++ b/text/maps/daycare_1.asm @@ -1,16 +1,16 @@ -_DayCareMText_5640f:: ; 8ab95 (22:6b95) +_DayCareIntroText:: ; 8ab95 (22:6b95) text "I run a DAYCARE." line "Would you like me" cont "to raise one of" cont "your #MON?" done -_DayCareMText_56414:: ; 8abd4 (22:6bd4) +_DayCareWhichMonText:: ; 8abd4 (22:6bd4) text "Which #MON" line "should I raise?" prompt -_DayCareMText_56419:: ; 8abf0 (22:6bf0) +_DayCareWillLookAfterMonText:: ; 8abf0 (22:6bf0) text "Fine, I'll look" line "after @" TX_RAM wcd6d @@ -18,12 +18,12 @@ _DayCareMText_56419:: ; 8abf0 (22:6bf0) cont "for a while." prompt -_DayCareMText_5641e:: ; 8ac19 (22:6c19) +_DayCareComeSeeMeInAWhileText:: ; 8ac19 (22:6c19) text "Come see me in" line "a while." done -_DayCareMText_56423:: ; 8ac32 (22:6c32) +_DayCareMonHasGrownText:: ; 8ac32 (22:6c32) text "Your @" TX_RAM wcd6d db $0 @@ -31,15 +31,13 @@ _DayCareMText_56423:: ; 8ac32 (22:6c32) para "By level, it's" line "grown by @" - -DayCareMText_8ac67:: ; 8ac67 (22:6c67) - TX_NUM wTrainerEngageDistance,$1,$3 + TX_NUM wDayCareNumLevelsGrown,$1,$3 text "!" para "Aren't I great?" prompt -_DayCareMText_56428:: ; 8ac7d (22:6c7d) +_DayCareOweMoneyText:: ; 8ac7d (22:6c7d) text "You owe me ¥@" TX_BCD wcd3f, $c2 db $0 @@ -47,14 +45,14 @@ _DayCareMText_56428:: ; 8ac7d (22:6c7d) cont "of this #MON." done -_DayCareMText_5642d:: ; 8acae (22:6cae) +_DayCareGotMonBackText:: ; 8acae (22:6cae) text $52, " got" line "@" TX_RAM W_DAYCAREMONNAME text " back!" done -_DayCareMText_56432:: ; 8acc1 (22:6cc1) +_DayCareMonNeedsMoreTimeText:: ; 8acc1 (22:6cc1) text "Back already?" line "Your @" TX_RAM wcd6d diff --git a/text/maps/daycare_2.asm b/text/maps/daycare_2.asm index c6478a76..b5104e60 100644 --- a/text/maps/daycare_2.asm +++ b/text/maps/daycare_2.asm @@ -1,8 +1,8 @@ -_DayCareMText_56437:: ; 8c000 (23:4000) +_DayCareAllRightThenText:: ; 8c000 (23:4000) text "All right then," line "@@" -_DayCareMText_5643b:: ; 8c013 (23:4013) +_DayCareComeAgainText:: ; 8c013 (23:4013) IF DEF(_YELLOW) text "Come again." ELSE @@ -10,28 +10,28 @@ ELSE ENDC done -_DayCareMText_56440:: ; 8c020 (23:4020) +_DayCareNoRoomForMonText:: ; 8c020 (23:4020) text "You have no room" line "for this #MON!" done -_DayCareMText_56445:: ; 8c041 (23:4041) +_DayCareOnlyHaveOneMonText:: ; 8c041 (23:4041) text "You only have one" line "#MON with you." done -_DayCareMText_5644a:: ; 8c063 (23:4063) +_DayCareCantAcceptMonWithHMText:: ; 8c063 (23:4063) text "I can't accept a" line "#MON that" cont "knows an HM move." done -_DayCareMText_5644f:: ; 8c090 (23:4090) +_DayCareHeresYourMonText:: ; 8c090 (23:4090) text "Thank you! Here's" line "your #MON!" prompt -_DayCareMText_56454:: ; 8c0ad (23:40ad) +_DayCareNotEnoughMoneyText:: ; 8c0ad (23:40ad) text "Hey, you don't" line "have enough ¥!" done diff --git a/wram.asm b/wram.asm index 8633e732..f089352b 100755 --- a/wram.asm +++ b/wram.asm @@ -424,6 +424,10 @@ wNumStepsToTake:: ; cca1 wRLEByteCount:: ; ccd2 ds 1 +wAddedToParty:: ; ccd3 +; 0 = not added +; 1 = added + wSimulatedJoypadStatesEnd:: ; ccd3 ; this is the end of the joypad states ; the list starts above this address and extends downwards in memory until here @@ -431,7 +435,13 @@ wSimulatedJoypadStatesEnd:: ; ccd3 wParentMenuItem:: ; ccd3 -wccd3:: ds 1 ; used in battle, pokemon, PC and game corner stuff +wCanEvolveFlags:: ; ccd3 +; 1 flag for each party member indicating whether it can evolve +; The purpose of these flags is to track which mons levelled up during the +; current battle at the end of the battle when evolution occurs. +; Other methods of evolution simply set it by calling TryEvolvingMon. + ds 1 + wForceEvolution:: wccd4:: ds 1 ; has a direct reference for simulated joypad stuff in vermillion and seafoam @@ -634,9 +644,33 @@ wOverrideSimulatedJoypadStatesMask:: ; cd3b ds 1 +wHoFTeamIndex:: ; cd3d + +wSSAnneSmokeDriftAmount:: ; cd3d +; multiplied by 16 to get the number of times to go right by 2 pixels + +wRivalStarterTemp:: ; cd3d + +wBoxMonCounts:: ; cd3d +; 12 bytes +; array of the number of mons in each box + +wDexMaxSeenMon:: ; cd3d + +wPPRestoreItem:: ; cd3d + +wWereAnyMonsAsleep:: ; cd3d + +wCanPlaySlots:: ; cd3d + +wNumShakes:: ; cd3d + +wDayCareStartLevel:: ; cd3d +; the level of the mon at the time it entered day care + wWhichBadge:: ; cd3d -wMuseumPriceTemp:: ; cd3d +wPriceTemp:: ; cd3d ; 3-byte BCD number wTitleMonSpecies:: ; cd3d @@ -701,6 +735,12 @@ wWhichTrade:: ; cd3d wTrainerSpriteOffset:: ; cd3d ds 1 +wSSAnneSmokeX:: ; cd3e + +wRivalStarterBallSpriteIndex:: ; cd3e + +wDayCareNumLevelsGrown:: ; cd3e + wOptionsBattleAnimCursorX:: ; cd3e wTrainerInfoTextBoxWidth:: ; cd3e @@ -733,6 +773,8 @@ wHiddenObjectFunctionRomBank:: ; cd3e wTrainerEngageDistance:: ; cd3e ds 1 +wJigglypuffFacingDirections:: ; cd3f + wOptionsBattleStyleCursorX:: ; cd3f wTrainerInfoTextBoxNextRowOffset:: ; cd3f @@ -774,6 +816,10 @@ wHiddenObjectY:: ; cd40 wTrainerScreenY:: ; cd40 ds 1 +wHoFTeamIndex2:: ; cd41 + +wHiddenItemOrCoinsIndex:: ; cd41 + wTradedPlayerMonOT:: ; cd41 wHiddenObjectX:: ; cd41 @@ -962,16 +1008,32 @@ wTileMapBackup2:: ; cd81 ; second buffer for temporarily saving and restoring current screen's tiles (e.g. if menus are drawn on top) ds 20 * 18 +wEvoOldSpecies:: ; cee9 + wBuffer:: ; cee9 ; Temporary storage area of 30 bytes. wTownMapCoords:: ; cee9 ; lower nybble is x, upper nybble is y +wLearningMovesFromDayCare:: ; cee9 +; whether WriteMonMoves is being used to make a mon learn moves from day care +; non-zero if so + wHPBarMaxHP:: ; cee9 - ds 2 + ds 1 + +wEvoNewSpecies:: ; ceea + ds 1 + +wEvoMonTileOffset:: ; ceeb + wHPBarOldHP:: ; ceeb - ds 2 + ds 1 + +wEvoCancelled:: ; ceec + ds 1 + wHPBarNewHP:: ; ceed ds 2 wHPBarDelta:: ; ceef @@ -1453,7 +1515,10 @@ W_SUBANIMCOUNTER:: ; d087 ; counts the number of subentries left in the current subanimation ds 1 -wd088:: ds 1 ; savefile checksum (if file is corrupted) +wSaveFileStatus:: +; 1 = no save file or save file is corrupted +; 2 = save file exists and no corruption has been detected + ds 1 W_NUMFBTILES:: ; d089 ; number of tiles in current battle animation frame block @@ -1462,6 +1527,8 @@ W_NUMFBTILES:: ; d089 wTradedMonMovingRight:: ; d08a ; $01 if mon is moving from left gameboy to right gameboy; $00 if vice versa +wOptionsInitialized:: ; d08a + wd08a:: ds 1 ; used with sprites and displaying the option menu on the main menu screen? wAnimCounter:: ; d08b @@ -2079,6 +2146,8 @@ wBoxItems:: ; d53b ds 1 ; end wCurrentBoxNum:: ; d5a0 +; bits 0-6: box number +; bit 7: whether the player has changed boxes before ds 2 wNumHoFTeams:: ; d5a2 @@ -2319,8 +2388,11 @@ W_ROUTE18GATECURSCRIPT:: ; d669 ds 134 -wd6f0:: ds 14 ; flags for hidden items? -wd6fe:: ds 2 ; flags for hidden coins? +wObtainedHiddenItemsFlags:: + ds 14 + +wObtainedHiddenCoinsFlags:: + ds 2 wWalkBikeSurfState:: ; d700 ; $00 = walking -- cgit v1.3.1-sl0p From b4081e851ac4b7ce5cf1fa7c9fc83a490a4c83ec Mon Sep 17 00:00:00 2001 From: dannye Date: Wed, 22 Jul 2015 09:57:31 -0500 Subject: Rename sound effect files --- audio.asm | 648 +++++++++++++++--------------- audio/headers/sfxheaders02.asm | 560 +++++++++++++------------- audio/headers/sfxheaders08.asm | 704 ++++++++++++++++----------------- audio/headers/sfxheaders1f.asm | 594 ++++++++++++++-------------- audio/sfx/59_1.asm | 11 + audio/sfx/59_3.asm | 11 + audio/sfx/arrow_tiles_1.asm | 6 + audio/sfx/arrow_tiles_3.asm | 6 + audio/sfx/ball_poof.asm | 11 + audio/sfx/ball_toss.asm | 11 + audio/sfx/battle_09.asm | 6 + audio/sfx/battle_0b.asm | 3 + audio/sfx/battle_0c.asm | 5 + audio/sfx/battle_0d.asm | 5 + audio/sfx/battle_0e.asm | 4 + audio/sfx/battle_0f.asm | 6 + audio/sfx/battle_12.asm | 6 + audio/sfx/battle_13.asm | 6 + audio/sfx/battle_14.asm | 6 + audio/sfx/battle_16.asm | 5 + audio/sfx/battle_17.asm | 6 + audio/sfx/battle_18.asm | 4 + audio/sfx/battle_19.asm | 5 + audio/sfx/battle_1b.asm | 4 + audio/sfx/battle_1c.asm | 5 + audio/sfx/battle_1e.asm | 16 + audio/sfx/battle_20.asm | 4 + audio/sfx/battle_21.asm | 7 + audio/sfx/battle_22.asm | 4 + audio/sfx/battle_23.asm | 7 + audio/sfx/battle_24.asm | 12 + audio/sfx/battle_25.asm | 7 + audio/sfx/battle_26.asm | 9 + audio/sfx/battle_27.asm | 27 ++ audio/sfx/battle_28.asm | 21 + audio/sfx/battle_29.asm | 18 + audio/sfx/battle_2a.asm | 28 ++ audio/sfx/battle_2b.asm | 21 + audio/sfx/battle_2c.asm | 25 ++ audio/sfx/battle_2e.asm | 27 ++ audio/sfx/battle_2f.asm | 21 + audio/sfx/battle_31.asm | 18 + audio/sfx/battle_32.asm | 12 + audio/sfx/battle_33.asm | 18 + audio/sfx/battle_34.asm | 22 ++ audio/sfx/battle_35.asm | 29 ++ audio/sfx/battle_36.asm | 47 +++ audio/sfx/caught_mon.asm | 61 +++ audio/sfx/collision_1.asm | 6 + audio/sfx/collision_3.asm | 6 + audio/sfx/cry00_1.asm | 21 + audio/sfx/cry00_2.asm | 21 + audio/sfx/cry00_3.asm | 21 + audio/sfx/cry01_1.asm | 24 ++ audio/sfx/cry01_2.asm | 24 ++ audio/sfx/cry01_3.asm | 24 ++ audio/sfx/cry02_1.asm | 17 + audio/sfx/cry02_2.asm | 17 + audio/sfx/cry02_3.asm | 17 + audio/sfx/cry03_1.asm | 30 ++ audio/sfx/cry03_2.asm | 30 ++ audio/sfx/cry03_3.asm | 30 ++ audio/sfx/cry04_1.asm | 32 ++ audio/sfx/cry04_2.asm | 32 ++ audio/sfx/cry04_3.asm | 32 ++ audio/sfx/cry05_1.asm | 19 + audio/sfx/cry05_2.asm | 19 + audio/sfx/cry05_3.asm | 19 + audio/sfx/cry06_1.asm | 22 ++ audio/sfx/cry06_2.asm | 22 ++ audio/sfx/cry06_3.asm | 22 ++ audio/sfx/cry07_1.asm | 21 + audio/sfx/cry07_2.asm | 21 + audio/sfx/cry07_3.asm | 21 + audio/sfx/cry08_1.asm | 23 ++ audio/sfx/cry08_2.asm | 23 ++ audio/sfx/cry08_3.asm | 23 ++ audio/sfx/cry09_1.asm | 35 ++ audio/sfx/cry09_2.asm | 35 ++ audio/sfx/cry09_3.asm | 35 ++ audio/sfx/cry0a_1.asm | 35 ++ audio/sfx/cry0a_2.asm | 35 ++ audio/sfx/cry0a_3.asm | 35 ++ audio/sfx/cry0b_1.asm | 37 ++ audio/sfx/cry0b_2.asm | 37 ++ audio/sfx/cry0b_3.asm | 37 ++ audio/sfx/cry0c_1.asm | 29 ++ audio/sfx/cry0c_2.asm | 29 ++ audio/sfx/cry0c_3.asm | 29 ++ audio/sfx/cry0d_1.asm | 40 ++ audio/sfx/cry0d_2.asm | 40 ++ audio/sfx/cry0d_3.asm | 40 ++ audio/sfx/cry0e_1.asm | 23 ++ audio/sfx/cry0e_2.asm | 23 ++ audio/sfx/cry0e_3.asm | 23 ++ audio/sfx/cry0f_1.asm | 29 ++ audio/sfx/cry0f_2.asm | 29 ++ audio/sfx/cry0f_3.asm | 29 ++ audio/sfx/cry10_1.asm | 31 ++ audio/sfx/cry10_2.asm | 31 ++ audio/sfx/cry10_3.asm | 31 ++ audio/sfx/cry11_1.asm | 34 ++ audio/sfx/cry11_2.asm | 34 ++ audio/sfx/cry11_3.asm | 34 ++ audio/sfx/cry12_1.asm | 24 ++ audio/sfx/cry12_2.asm | 24 ++ audio/sfx/cry12_3.asm | 24 ++ audio/sfx/cry13_1.asm | 30 ++ audio/sfx/cry13_2.asm | 30 ++ audio/sfx/cry13_3.asm | 30 ++ audio/sfx/cry14_1.asm | 21 + audio/sfx/cry14_2.asm | 21 + audio/sfx/cry14_3.asm | 21 + audio/sfx/cry15_1.asm | 30 ++ audio/sfx/cry15_2.asm | 30 ++ audio/sfx/cry15_3.asm | 30 ++ audio/sfx/cry16_1.asm | 21 + audio/sfx/cry16_2.asm | 21 + audio/sfx/cry16_3.asm | 21 + audio/sfx/cry17_1.asm | 24 ++ audio/sfx/cry17_2.asm | 24 ++ audio/sfx/cry17_3.asm | 24 ++ audio/sfx/cry18_1.asm | 34 ++ audio/sfx/cry18_2.asm | 34 ++ audio/sfx/cry18_3.asm | 34 ++ audio/sfx/cry19_1.asm | 18 + audio/sfx/cry19_2.asm | 18 + audio/sfx/cry19_3.asm | 18 + audio/sfx/cry1a_1.asm | 30 ++ audio/sfx/cry1a_2.asm | 30 ++ audio/sfx/cry1a_3.asm | 30 ++ audio/sfx/cry1b_1.asm | 26 ++ audio/sfx/cry1b_2.asm | 26 ++ audio/sfx/cry1b_3.asm | 26 ++ audio/sfx/cry1c_1.asm | 31 ++ audio/sfx/cry1c_2.asm | 31 ++ audio/sfx/cry1c_3.asm | 31 ++ audio/sfx/cry1d_1.asm | 29 ++ audio/sfx/cry1d_2.asm | 29 ++ audio/sfx/cry1d_3.asm | 29 ++ audio/sfx/cry1e_1.asm | 38 ++ audio/sfx/cry1e_2.asm | 38 ++ audio/sfx/cry1e_3.asm | 38 ++ audio/sfx/cry1f_1.asm | 24 ++ audio/sfx/cry1f_2.asm | 24 ++ audio/sfx/cry1f_3.asm | 24 ++ audio/sfx/cry20_1.asm | 24 ++ audio/sfx/cry20_2.asm | 24 ++ audio/sfx/cry20_3.asm | 24 ++ audio/sfx/cry21_1.asm | 27 ++ audio/sfx/cry21_2.asm | 27 ++ audio/sfx/cry21_3.asm | 27 ++ audio/sfx/cry22_1.asm | 24 ++ audio/sfx/cry22_2.asm | 24 ++ audio/sfx/cry22_3.asm | 24 ++ audio/sfx/cry23_1.asm | 25 ++ audio/sfx/cry23_2.asm | 25 ++ audio/sfx/cry23_3.asm | 25 ++ audio/sfx/cry24_1.asm | 33 ++ audio/sfx/cry24_2.asm | 33 ++ audio/sfx/cry24_3.asm | 33 ++ audio/sfx/cry25_1.asm | 26 ++ audio/sfx/cry25_2.asm | 26 ++ audio/sfx/cry25_3.asm | 26 ++ audio/sfx/cut_1.asm | 7 + audio/sfx/cut_3.asm | 7 + audio/sfx/cymbal1_1.asm | 3 + audio/sfx/cymbal1_2.asm | 3 + audio/sfx/cymbal1_3.asm | 3 + audio/sfx/cymbal2_1.asm | 3 + audio/sfx/cymbal2_2.asm | 3 + audio/sfx/cymbal2_3.asm | 3 + audio/sfx/cymbal3_1.asm | 3 + audio/sfx/cymbal3_2.asm | 3 + audio/sfx/cymbal3_3.asm | 3 + audio/sfx/damage.asm | 5 + audio/sfx/denied_1.asm | 18 + audio/sfx/denied_3.asm | 18 + audio/sfx/dex_page_added.asm | 15 + audio/sfx/doubleslap.asm | 4 + audio/sfx/enter_pc_1.asm | 7 + audio/sfx/enter_pc_3.asm | 7 + audio/sfx/faint_fall.asm | 6 + audio/sfx/faint_thud.asm | 11 + audio/sfx/fly_1.asm | 18 + audio/sfx/fly_3.asm | 18 + audio/sfx/get_item1_1.asm | 47 +++ audio/sfx/get_item1_3.asm | 47 +++ audio/sfx/get_item2_1.asm | 69 ++++ audio/sfx/get_item2_2.asm | 69 ++++ audio/sfx/get_item2_3.asm | 69 ++++ audio/sfx/get_key_item_1.asm | 59 +++ audio/sfx/get_key_item_3.asm | 59 +++ audio/sfx/go_inside_1.asm | 4 + audio/sfx/go_inside_3.asm | 4 + audio/sfx/go_outside_1.asm | 7 + audio/sfx/go_outside_3.asm | 7 + audio/sfx/heal_ailment_1.asm | 9 + audio/sfx/heal_ailment_2.asm | 9 + audio/sfx/heal_ailment_3.asm | 9 + audio/sfx/heal_hp_1.asm | 7 + audio/sfx/heal_hp_2.asm | 7 + audio/sfx/heal_hp_3.asm | 7 + audio/sfx/healing_machine_1.asm | 9 + audio/sfx/healing_machine_3.asm | 9 + audio/sfx/horn_drill.asm | 6 + audio/sfx/intro_crash.asm | 4 + audio/sfx/intro_hip.asm | 6 + audio/sfx/intro_hop.asm | 6 + audio/sfx/intro_lunge.asm | 10 + audio/sfx/intro_raise.asm | 5 + audio/sfx/intro_whoosh.asm | 7 + audio/sfx/ledge_1.asm | 6 + audio/sfx/ledge_3.asm | 6 + audio/sfx/level_up.asm | 63 +++ audio/sfx/muted_snare1_1.asm | 4 + audio/sfx/muted_snare1_2.asm | 4 + audio/sfx/muted_snare1_3.asm | 4 + audio/sfx/muted_snare2_1.asm | 3 + audio/sfx/muted_snare2_2.asm | 3 + audio/sfx/muted_snare2_3.asm | 3 + audio/sfx/muted_snare3_1.asm | 3 + audio/sfx/muted_snare3_2.asm | 3 + audio/sfx/muted_snare3_3.asm | 3 + audio/sfx/muted_snare4_1.asm | 3 + audio/sfx/muted_snare4_2.asm | 3 + audio/sfx/muted_snare4_3.asm | 3 + audio/sfx/not_very_effective.asm | 6 + audio/sfx/peck.asm | 3 + audio/sfx/poisoned_1.asm | 8 + audio/sfx/poisoned_3.asm | 8 + audio/sfx/pokedex_rating_1.asm | 77 ++++ audio/sfx/pokedex_rating_3.asm | 77 ++++ audio/sfx/pokeflute.asm | 21 + audio/sfx/pound.asm | 3 + audio/sfx/press_ab_1.asm | 7 + audio/sfx/press_ab_2.asm | 7 + audio/sfx/press_ab_3.asm | 7 + audio/sfx/psybeam.asm | 25 ++ audio/sfx/psychic_m.asm | 32 ++ audio/sfx/purchase_1.asm | 13 + audio/sfx/purchase_3.asm | 13 + audio/sfx/push_boulder_1.asm | 10 + audio/sfx/push_boulder_3.asm | 10 + audio/sfx/run.asm | 13 + audio/sfx/safari_zone_pa.asm | 9 + audio/sfx/save_1.asm | 23 ++ audio/sfx/save_3.asm | 36 ++ audio/sfx/sfx_02_01.asm | 3 - audio/sfx/sfx_02_02.asm | 3 - audio/sfx/sfx_02_03.asm | 3 - audio/sfx/sfx_02_04.asm | 3 - audio/sfx/sfx_02_05.asm | 8 - audio/sfx/sfx_02_06.asm | 3 - audio/sfx/sfx_02_07.asm | 4 - audio/sfx/sfx_02_08.asm | 3 - audio/sfx/sfx_02_09.asm | 3 - audio/sfx/sfx_02_0a.asm | 3 - audio/sfx/sfx_02_0b.asm | 3 - audio/sfx/sfx_02_0c.asm | 3 - audio/sfx/sfx_02_0d.asm | 3 - audio/sfx/sfx_02_0e.asm | 3 - audio/sfx/sfx_02_0f.asm | 4 - audio/sfx/sfx_02_10.asm | 4 - audio/sfx/sfx_02_11.asm | 3 - audio/sfx/sfx_02_12.asm | 3 - audio/sfx/sfx_02_13.asm | 3 - audio/sfx/sfx_02_14.asm | 21 - audio/sfx/sfx_02_15.asm | 24 -- audio/sfx/sfx_02_16.asm | 17 - audio/sfx/sfx_02_17.asm | 30 -- audio/sfx/sfx_02_18.asm | 32 -- audio/sfx/sfx_02_19.asm | 19 - audio/sfx/sfx_02_1a.asm | 22 -- audio/sfx/sfx_02_1b.asm | 21 - audio/sfx/sfx_02_1c.asm | 23 -- audio/sfx/sfx_02_1d.asm | 35 -- audio/sfx/sfx_02_1e.asm | 35 -- audio/sfx/sfx_02_1f.asm | 37 -- audio/sfx/sfx_02_20.asm | 29 -- audio/sfx/sfx_02_21.asm | 40 -- audio/sfx/sfx_02_22.asm | 23 -- audio/sfx/sfx_02_23.asm | 29 -- audio/sfx/sfx_02_24.asm | 31 -- audio/sfx/sfx_02_25.asm | 34 -- audio/sfx/sfx_02_26.asm | 24 -- audio/sfx/sfx_02_27.asm | 30 -- audio/sfx/sfx_02_28.asm | 21 - audio/sfx/sfx_02_29.asm | 30 -- audio/sfx/sfx_02_2a.asm | 21 - audio/sfx/sfx_02_2b.asm | 24 -- audio/sfx/sfx_02_2c.asm | 34 -- audio/sfx/sfx_02_2d.asm | 18 - audio/sfx/sfx_02_2e.asm | 30 -- audio/sfx/sfx_02_2f.asm | 26 -- audio/sfx/sfx_02_30.asm | 31 -- audio/sfx/sfx_02_31.asm | 29 -- audio/sfx/sfx_02_32.asm | 38 -- audio/sfx/sfx_02_33.asm | 24 -- audio/sfx/sfx_02_34.asm | 24 -- audio/sfx/sfx_02_35.asm | 27 -- audio/sfx/sfx_02_36.asm | 24 -- audio/sfx/sfx_02_37.asm | 25 -- audio/sfx/sfx_02_38.asm | 33 -- audio/sfx/sfx_02_39.asm | 26 -- audio/sfx/sfx_02_3a.asm | 47 --- audio/sfx/sfx_02_3b.asm | 69 ---- audio/sfx/sfx_02_3c.asm | 8 - audio/sfx/sfx_02_3d.asm | 7 - audio/sfx/sfx_02_3e.asm | 9 - audio/sfx/sfx_02_3f.asm | 4 - audio/sfx/sfx_02_40.asm | 7 - audio/sfx/sfx_02_41.asm | 77 ---- audio/sfx/sfx_02_42.asm | 59 --- audio/sfx/sfx_02_43.asm | 8 - audio/sfx/sfx_02_44.asm | 7 - audio/sfx/sfx_02_45.asm | 13 - audio/sfx/sfx_02_46.asm | 7 - audio/sfx/sfx_02_47.asm | 7 - audio/sfx/sfx_02_48.asm | 10 - audio/sfx/sfx_02_49.asm | 8 - audio/sfx/sfx_02_4a.asm | 9 - audio/sfx/sfx_02_4b.asm | 10 - audio/sfx/sfx_02_4c.asm | 10 - audio/sfx/sfx_02_4d.asm | 6 - audio/sfx/sfx_02_4e.asm | 6 - audio/sfx/sfx_02_4f.asm | 6 - audio/sfx/sfx_02_50.asm | 18 - audio/sfx/sfx_02_51.asm | 18 - audio/sfx/sfx_02_52.asm | 6 - audio/sfx/sfx_02_53.asm | 10 - audio/sfx/sfx_02_54.asm | 22 -- audio/sfx/sfx_02_55.asm | 12 - audio/sfx/sfx_02_56.asm | 7 - audio/sfx/sfx_02_57.asm | 4 - audio/sfx/sfx_02_58.asm | 11 - audio/sfx/sfx_02_59.asm | 11 - audio/sfx/sfx_02_5a.asm | 13 - audio/sfx/sfx_02_5b.asm | 6 - audio/sfx/sfx_02_5c.asm | 7 - audio/sfx/sfx_02_5d.asm | 23 -- audio/sfx/sfx_02_5e.asm | 21 - audio/sfx/sfx_02_5f.asm | 9 - audio/sfx/sfx_08_01.asm | 3 - audio/sfx/sfx_08_02.asm | 3 - audio/sfx/sfx_08_03.asm | 3 - audio/sfx/sfx_08_04.asm | 3 - audio/sfx/sfx_08_05.asm | 8 - audio/sfx/sfx_08_06.asm | 3 - audio/sfx/sfx_08_07.asm | 4 - audio/sfx/sfx_08_08.asm | 3 - audio/sfx/sfx_08_09.asm | 3 - audio/sfx/sfx_08_0a.asm | 3 - audio/sfx/sfx_08_0b.asm | 3 - audio/sfx/sfx_08_0c.asm | 3 - audio/sfx/sfx_08_0d.asm | 3 - audio/sfx/sfx_08_0e.asm | 3 - audio/sfx/sfx_08_0f.asm | 4 - audio/sfx/sfx_08_10.asm | 4 - audio/sfx/sfx_08_11.asm | 3 - audio/sfx/sfx_08_12.asm | 3 - audio/sfx/sfx_08_13.asm | 3 - audio/sfx/sfx_08_14.asm | 21 - audio/sfx/sfx_08_15.asm | 24 -- audio/sfx/sfx_08_16.asm | 17 - audio/sfx/sfx_08_17.asm | 30 -- audio/sfx/sfx_08_18.asm | 32 -- audio/sfx/sfx_08_19.asm | 19 - audio/sfx/sfx_08_1a.asm | 22 -- audio/sfx/sfx_08_1b.asm | 21 - audio/sfx/sfx_08_1c.asm | 23 -- audio/sfx/sfx_08_1d.asm | 35 -- audio/sfx/sfx_08_1e.asm | 35 -- audio/sfx/sfx_08_1f.asm | 37 -- audio/sfx/sfx_08_20.asm | 29 -- audio/sfx/sfx_08_21.asm | 40 -- audio/sfx/sfx_08_22.asm | 23 -- audio/sfx/sfx_08_23.asm | 29 -- audio/sfx/sfx_08_24.asm | 31 -- audio/sfx/sfx_08_25.asm | 34 -- audio/sfx/sfx_08_26.asm | 24 -- audio/sfx/sfx_08_27.asm | 30 -- audio/sfx/sfx_08_28.asm | 21 - audio/sfx/sfx_08_29.asm | 30 -- audio/sfx/sfx_08_2a.asm | 21 - audio/sfx/sfx_08_2b.asm | 24 -- audio/sfx/sfx_08_2c.asm | 34 -- audio/sfx/sfx_08_2d.asm | 18 - audio/sfx/sfx_08_2e.asm | 30 -- audio/sfx/sfx_08_2f.asm | 26 -- audio/sfx/sfx_08_30.asm | 31 -- audio/sfx/sfx_08_31.asm | 29 -- audio/sfx/sfx_08_32.asm | 38 -- audio/sfx/sfx_08_33.asm | 24 -- audio/sfx/sfx_08_34.asm | 24 -- audio/sfx/sfx_08_35.asm | 27 -- audio/sfx/sfx_08_36.asm | 24 -- audio/sfx/sfx_08_37.asm | 25 -- audio/sfx/sfx_08_38.asm | 33 -- audio/sfx/sfx_08_39.asm | 26 -- audio/sfx/sfx_08_3a.asm | 63 --- audio/sfx/sfx_08_3b.asm | 69 ---- audio/sfx/sfx_08_3c.asm | 8 - audio/sfx/sfx_08_3d.asm | 7 - audio/sfx/sfx_08_3e.asm | 9 - audio/sfx/sfx_08_3f.asm | 4 - audio/sfx/sfx_08_40.asm | 7 - audio/sfx/sfx_08_41.asm | 11 - audio/sfx/sfx_08_42.asm | 11 - audio/sfx/sfx_08_43.asm | 11 - audio/sfx/sfx_08_44.asm | 13 - audio/sfx/sfx_08_45.asm | 15 - audio/sfx/sfx_08_46.asm | 61 --- audio/sfx/sfx_08_47.asm | 3 - audio/sfx/sfx_08_48.asm | 6 - audio/sfx/sfx_08_49.asm | 6 - audio/sfx/sfx_08_4a.asm | 3 - audio/sfx/sfx_08_4b.asm | 3 - audio/sfx/sfx_08_4c.asm | 5 - audio/sfx/sfx_08_4d.asm | 5 - audio/sfx/sfx_08_4e.asm | 4 - audio/sfx/sfx_08_4f.asm | 6 - audio/sfx/sfx_08_50.asm | 5 - audio/sfx/sfx_08_51.asm | 6 - audio/sfx/sfx_08_52.asm | 6 - audio/sfx/sfx_08_53.asm | 6 - audio/sfx/sfx_08_54.asm | 6 - audio/sfx/sfx_08_55.asm | 10 - audio/sfx/sfx_08_56.asm | 5 - audio/sfx/sfx_08_57.asm | 6 - audio/sfx/sfx_08_58.asm | 4 - audio/sfx/sfx_08_59.asm | 5 - audio/sfx/sfx_08_5a.asm | 4 - audio/sfx/sfx_08_5b.asm | 4 - audio/sfx/sfx_08_5c.asm | 5 - audio/sfx/sfx_08_5d.asm | 4 - audio/sfx/sfx_08_5e.asm | 16 - audio/sfx/sfx_08_5f.asm | 6 - audio/sfx/sfx_08_60.asm | 4 - audio/sfx/sfx_08_61.asm | 7 - audio/sfx/sfx_08_62.asm | 4 - audio/sfx/sfx_08_63.asm | 7 - audio/sfx/sfx_08_64.asm | 12 - audio/sfx/sfx_08_65.asm | 7 - audio/sfx/sfx_08_66.asm | 9 - audio/sfx/sfx_08_67.asm | 27 -- audio/sfx/sfx_08_68.asm | 21 - audio/sfx/sfx_08_69.asm | 18 - audio/sfx/sfx_08_6a.asm | 28 -- audio/sfx/sfx_08_6b.asm | 21 - audio/sfx/sfx_08_6c.asm | 25 -- audio/sfx/sfx_08_6d.asm | 25 -- audio/sfx/sfx_08_6e.asm | 27 -- audio/sfx/sfx_08_6f.asm | 21 - audio/sfx/sfx_08_70.asm | 32 -- audio/sfx/sfx_08_71.asm | 18 - audio/sfx/sfx_08_72.asm | 12 - audio/sfx/sfx_08_73.asm | 18 - audio/sfx/sfx_08_74.asm | 22 -- audio/sfx/sfx_08_75.asm | 29 -- audio/sfx/sfx_08_76.asm | 47 --- audio/sfx/sfx_08_77.asm | 9 - audio/sfx/sfx_1f_01.asm | 3 - audio/sfx/sfx_1f_02.asm | 3 - audio/sfx/sfx_1f_03.asm | 3 - audio/sfx/sfx_1f_04.asm | 3 - audio/sfx/sfx_1f_05.asm | 8 - audio/sfx/sfx_1f_06.asm | 3 - audio/sfx/sfx_1f_07.asm | 4 - audio/sfx/sfx_1f_08.asm | 3 - audio/sfx/sfx_1f_09.asm | 3 - audio/sfx/sfx_1f_0a.asm | 3 - audio/sfx/sfx_1f_0b.asm | 3 - audio/sfx/sfx_1f_0c.asm | 3 - audio/sfx/sfx_1f_0d.asm | 3 - audio/sfx/sfx_1f_0e.asm | 3 - audio/sfx/sfx_1f_0f.asm | 4 - audio/sfx/sfx_1f_10.asm | 4 - audio/sfx/sfx_1f_11.asm | 3 - audio/sfx/sfx_1f_12.asm | 3 - audio/sfx/sfx_1f_13.asm | 3 - audio/sfx/sfx_1f_14.asm | 21 - audio/sfx/sfx_1f_15.asm | 24 -- audio/sfx/sfx_1f_16.asm | 17 - audio/sfx/sfx_1f_17.asm | 30 -- audio/sfx/sfx_1f_18.asm | 32 -- audio/sfx/sfx_1f_19.asm | 19 - audio/sfx/sfx_1f_1a.asm | 22 -- audio/sfx/sfx_1f_1b.asm | 21 - audio/sfx/sfx_1f_1c.asm | 23 -- audio/sfx/sfx_1f_1d.asm | 35 -- audio/sfx/sfx_1f_1e.asm | 35 -- audio/sfx/sfx_1f_1f.asm | 37 -- audio/sfx/sfx_1f_20.asm | 29 -- audio/sfx/sfx_1f_21.asm | 40 -- audio/sfx/sfx_1f_22.asm | 23 -- audio/sfx/sfx_1f_23.asm | 29 -- audio/sfx/sfx_1f_24.asm | 31 -- audio/sfx/sfx_1f_25.asm | 34 -- audio/sfx/sfx_1f_26.asm | 24 -- audio/sfx/sfx_1f_27.asm | 30 -- audio/sfx/sfx_1f_28.asm | 21 - audio/sfx/sfx_1f_29.asm | 30 -- audio/sfx/sfx_1f_2a.asm | 21 - audio/sfx/sfx_1f_2b.asm | 24 -- audio/sfx/sfx_1f_2c.asm | 34 -- audio/sfx/sfx_1f_2d.asm | 18 - audio/sfx/sfx_1f_2e.asm | 30 -- audio/sfx/sfx_1f_2f.asm | 26 -- audio/sfx/sfx_1f_30.asm | 31 -- audio/sfx/sfx_1f_31.asm | 29 -- audio/sfx/sfx_1f_32.asm | 38 -- audio/sfx/sfx_1f_33.asm | 24 -- audio/sfx/sfx_1f_34.asm | 24 -- audio/sfx/sfx_1f_35.asm | 27 -- audio/sfx/sfx_1f_36.asm | 24 -- audio/sfx/sfx_1f_37.asm | 25 -- audio/sfx/sfx_1f_38.asm | 33 -- audio/sfx/sfx_1f_39.asm | 26 -- audio/sfx/sfx_1f_3a.asm | 47 --- audio/sfx/sfx_1f_3b.asm | 69 ---- audio/sfx/sfx_1f_3c.asm | 8 - audio/sfx/sfx_1f_3d.asm | 7 - audio/sfx/sfx_1f_3e.asm | 9 - audio/sfx/sfx_1f_3f.asm | 4 - audio/sfx/sfx_1f_40.asm | 7 - audio/sfx/sfx_1f_41.asm | 77 ---- audio/sfx/sfx_1f_42.asm | 59 --- audio/sfx/sfx_1f_43.asm | 8 - audio/sfx/sfx_1f_44.asm | 7 - audio/sfx/sfx_1f_45.asm | 14 - audio/sfx/sfx_1f_46.asm | 7 - audio/sfx/sfx_1f_47.asm | 7 - audio/sfx/sfx_1f_48.asm | 10 - audio/sfx/sfx_1f_49.asm | 8 - audio/sfx/sfx_1f_4a.asm | 9 - audio/sfx/sfx_1f_4b.asm | 10 - audio/sfx/sfx_1f_4c.asm | 10 - audio/sfx/sfx_1f_4d.asm | 6 - audio/sfx/sfx_1f_4e.asm | 6 - audio/sfx/sfx_1f_4f.asm | 6 - audio/sfx/sfx_1f_50.asm | 18 - audio/sfx/sfx_1f_51.asm | 18 - audio/sfx/sfx_1f_52.asm | 6 - audio/sfx/sfx_1f_53.asm | 10 - audio/sfx/sfx_1f_54.asm | 22 -- audio/sfx/sfx_1f_55.asm | 12 - audio/sfx/sfx_1f_56.asm | 7 - audio/sfx/sfx_1f_57.asm | 4 - audio/sfx/sfx_1f_58.asm | 11 - audio/sfx/sfx_1f_59.asm | 11 - audio/sfx/sfx_1f_5a.asm | 13 - audio/sfx/sfx_1f_5b.asm | 6 - audio/sfx/sfx_1f_5c.asm | 7 - audio/sfx/sfx_1f_5d.asm | 36 -- audio/sfx/sfx_1f_5e.asm | 10 - audio/sfx/sfx_1f_5f.asm | 6 - audio/sfx/sfx_1f_60.asm | 6 - audio/sfx/sfx_1f_61.asm | 5 - audio/sfx/sfx_1f_62.asm | 4 - audio/sfx/sfx_1f_63.asm | 7 - audio/sfx/sfx_1f_64.asm | 6 - audio/sfx/sfx_1f_65.asm | 5 - audio/sfx/sfx_1f_66.asm | 14 - audio/sfx/sfx_1f_67.asm | 14 - audio/sfx/shooting_star.asm | 14 + audio/sfx/shrink_1.asm | 10 + audio/sfx/shrink_3.asm | 10 + audio/sfx/silph_scope.asm | 9 + audio/sfx/slots_new_spin.asm | 14 + audio/sfx/slots_reward.asm | 5 + audio/sfx/slots_stop_wheel.asm | 6 + audio/sfx/snare1_1.asm | 3 + audio/sfx/snare1_2.asm | 3 + audio/sfx/snare1_3.asm | 3 + audio/sfx/snare2_1.asm | 3 + audio/sfx/snare2_2.asm | 3 + audio/sfx/snare2_3.asm | 3 + audio/sfx/snare3_1.asm | 3 + audio/sfx/snare3_2.asm | 3 + audio/sfx/snare3_3.asm | 3 + audio/sfx/snare4_1.asm | 3 + audio/sfx/snare4_2.asm | 3 + audio/sfx/snare4_3.asm | 3 + audio/sfx/snare5_1.asm | 8 + audio/sfx/snare5_2.asm | 8 + audio/sfx/snare5_3.asm | 8 + audio/sfx/snare6_1.asm | 3 + audio/sfx/snare6_2.asm | 3 + audio/sfx/snare6_3.asm | 3 + audio/sfx/snare7_1.asm | 3 + audio/sfx/snare7_2.asm | 3 + audio/sfx/snare7_3.asm | 3 + audio/sfx/snare8_1.asm | 3 + audio/sfx/snare8_2.asm | 3 + audio/sfx/snare8_3.asm | 3 + audio/sfx/snare9_1.asm | 3 + audio/sfx/snare9_2.asm | 3 + audio/sfx/snare9_3.asm | 3 + audio/sfx/ss_anne_horn_1.asm | 22 ++ audio/sfx/ss_anne_horn_3.asm | 22 ++ audio/sfx/start_menu_1.asm | 4 + audio/sfx/start_menu_2.asm | 4 + audio/sfx/start_menu_3.asm | 4 + audio/sfx/super_effective.asm | 4 + audio/sfx/swap_1.asm | 11 + audio/sfx/swap_3.asm | 11 + audio/sfx/switch_1.asm | 8 + audio/sfx/switch_3.asm | 8 + audio/sfx/teleport_enter1_1.asm | 10 + audio/sfx/teleport_enter1_3.asm | 10 + audio/sfx/teleport_enter2_1.asm | 6 + audio/sfx/teleport_enter2_3.asm | 6 + audio/sfx/teleport_exit1_1.asm | 10 + audio/sfx/teleport_exit1_3.asm | 10 + audio/sfx/teleport_exit2_1.asm | 6 + audio/sfx/teleport_exit2_3.asm | 6 + audio/sfx/tink_1.asm | 8 + audio/sfx/tink_2.asm | 8 + audio/sfx/tink_3.asm | 8 + audio/sfx/trade_machine_1.asm | 7 + audio/sfx/trade_machine_3.asm | 7 + audio/sfx/triangle1_1.asm | 3 + audio/sfx/triangle1_2.asm | 3 + audio/sfx/triangle1_3.asm | 3 + audio/sfx/triangle2_1.asm | 4 + audio/sfx/triangle2_2.asm | 4 + audio/sfx/triangle2_3.asm | 4 + audio/sfx/triangle3_1.asm | 4 + audio/sfx/triangle3_2.asm | 4 + audio/sfx/triangle3_3.asm | 4 + audio/sfx/turn_off_pc_1.asm | 7 + audio/sfx/turn_off_pc_3.asm | 7 + audio/sfx/turn_on_pc_1.asm | 13 + audio/sfx/turn_on_pc_3.asm | 14 + audio/sfx/vine_whip.asm | 10 + audio/sfx/withdraw_deposit_1.asm | 12 + audio/sfx/withdraw_deposit_3.asm | 12 + constants/music_constants.asm | 322 +++++++-------- engine/hidden_object_functions7.asm | 2 +- engine/items/items.asm | 2 +- engine/menu/pokedex.asm | 2 +- engine/overworld/elevator.asm | 4 +- engine/overworld/player_animations.asm | 12 +- home/init.asm | 2 +- 645 files changed, 6867 insertions(+), 6867 deletions(-) mode change 100755 => 100644 audio/headers/sfxheaders02.asm mode change 100755 => 100644 audio/headers/sfxheaders08.asm mode change 100755 => 100644 audio/headers/sfxheaders1f.asm create mode 100644 audio/sfx/59_1.asm create mode 100644 audio/sfx/59_3.asm create mode 100644 audio/sfx/arrow_tiles_1.asm create mode 100644 audio/sfx/arrow_tiles_3.asm create mode 100644 audio/sfx/ball_poof.asm create mode 100644 audio/sfx/ball_toss.asm create mode 100644 audio/sfx/battle_09.asm create mode 100644 audio/sfx/battle_0b.asm create mode 100644 audio/sfx/battle_0c.asm create mode 100644 audio/sfx/battle_0d.asm create mode 100644 audio/sfx/battle_0e.asm create mode 100644 audio/sfx/battle_0f.asm create mode 100644 audio/sfx/battle_12.asm create mode 100644 audio/sfx/battle_13.asm create mode 100644 audio/sfx/battle_14.asm create mode 100644 audio/sfx/battle_16.asm create mode 100644 audio/sfx/battle_17.asm create mode 100644 audio/sfx/battle_18.asm create mode 100644 audio/sfx/battle_19.asm create mode 100644 audio/sfx/battle_1b.asm create mode 100644 audio/sfx/battle_1c.asm create mode 100644 audio/sfx/battle_1e.asm create mode 100644 audio/sfx/battle_20.asm create mode 100644 audio/sfx/battle_21.asm create mode 100644 audio/sfx/battle_22.asm create mode 100644 audio/sfx/battle_23.asm create mode 100644 audio/sfx/battle_24.asm create mode 100644 audio/sfx/battle_25.asm create mode 100644 audio/sfx/battle_26.asm create mode 100644 audio/sfx/battle_27.asm create mode 100644 audio/sfx/battle_28.asm create mode 100644 audio/sfx/battle_29.asm create mode 100644 audio/sfx/battle_2a.asm create mode 100644 audio/sfx/battle_2b.asm create mode 100644 audio/sfx/battle_2c.asm create mode 100644 audio/sfx/battle_2e.asm create mode 100644 audio/sfx/battle_2f.asm create mode 100644 audio/sfx/battle_31.asm create mode 100644 audio/sfx/battle_32.asm create mode 100644 audio/sfx/battle_33.asm create mode 100644 audio/sfx/battle_34.asm create mode 100644 audio/sfx/battle_35.asm create mode 100644 audio/sfx/battle_36.asm create mode 100644 audio/sfx/caught_mon.asm create mode 100644 audio/sfx/collision_1.asm create mode 100644 audio/sfx/collision_3.asm create mode 100644 audio/sfx/cry00_1.asm create mode 100644 audio/sfx/cry00_2.asm create mode 100644 audio/sfx/cry00_3.asm create mode 100644 audio/sfx/cry01_1.asm create mode 100644 audio/sfx/cry01_2.asm create mode 100644 audio/sfx/cry01_3.asm create mode 100644 audio/sfx/cry02_1.asm create mode 100644 audio/sfx/cry02_2.asm create mode 100644 audio/sfx/cry02_3.asm create mode 100644 audio/sfx/cry03_1.asm create mode 100644 audio/sfx/cry03_2.asm create mode 100644 audio/sfx/cry03_3.asm create mode 100644 audio/sfx/cry04_1.asm create mode 100644 audio/sfx/cry04_2.asm create mode 100644 audio/sfx/cry04_3.asm create mode 100644 audio/sfx/cry05_1.asm create mode 100644 audio/sfx/cry05_2.asm create mode 100644 audio/sfx/cry05_3.asm create mode 100644 audio/sfx/cry06_1.asm create mode 100644 audio/sfx/cry06_2.asm create mode 100644 audio/sfx/cry06_3.asm create mode 100644 audio/sfx/cry07_1.asm create mode 100644 audio/sfx/cry07_2.asm create mode 100644 audio/sfx/cry07_3.asm create mode 100644 audio/sfx/cry08_1.asm create mode 100644 audio/sfx/cry08_2.asm create mode 100644 audio/sfx/cry08_3.asm create mode 100644 audio/sfx/cry09_1.asm create mode 100644 audio/sfx/cry09_2.asm create mode 100644 audio/sfx/cry09_3.asm create mode 100644 audio/sfx/cry0a_1.asm create mode 100644 audio/sfx/cry0a_2.asm create mode 100644 audio/sfx/cry0a_3.asm create mode 100644 audio/sfx/cry0b_1.asm create mode 100644 audio/sfx/cry0b_2.asm create mode 100644 audio/sfx/cry0b_3.asm create mode 100644 audio/sfx/cry0c_1.asm create mode 100644 audio/sfx/cry0c_2.asm create mode 100644 audio/sfx/cry0c_3.asm create mode 100644 audio/sfx/cry0d_1.asm create mode 100644 audio/sfx/cry0d_2.asm create mode 100644 audio/sfx/cry0d_3.asm create mode 100644 audio/sfx/cry0e_1.asm create mode 100644 audio/sfx/cry0e_2.asm create mode 100644 audio/sfx/cry0e_3.asm create mode 100644 audio/sfx/cry0f_1.asm create mode 100644 audio/sfx/cry0f_2.asm create mode 100644 audio/sfx/cry0f_3.asm create mode 100644 audio/sfx/cry10_1.asm create mode 100644 audio/sfx/cry10_2.asm create mode 100644 audio/sfx/cry10_3.asm create mode 100644 audio/sfx/cry11_1.asm create mode 100644 audio/sfx/cry11_2.asm create mode 100644 audio/sfx/cry11_3.asm create mode 100644 audio/sfx/cry12_1.asm create mode 100644 audio/sfx/cry12_2.asm create mode 100644 audio/sfx/cry12_3.asm create mode 100644 audio/sfx/cry13_1.asm create mode 100644 audio/sfx/cry13_2.asm create mode 100644 audio/sfx/cry13_3.asm create mode 100644 audio/sfx/cry14_1.asm create mode 100644 audio/sfx/cry14_2.asm create mode 100644 audio/sfx/cry14_3.asm create mode 100644 audio/sfx/cry15_1.asm create mode 100644 audio/sfx/cry15_2.asm create mode 100644 audio/sfx/cry15_3.asm create mode 100644 audio/sfx/cry16_1.asm create mode 100644 audio/sfx/cry16_2.asm create mode 100644 audio/sfx/cry16_3.asm create mode 100644 audio/sfx/cry17_1.asm create mode 100644 audio/sfx/cry17_2.asm create mode 100644 audio/sfx/cry17_3.asm create mode 100644 audio/sfx/cry18_1.asm create mode 100644 audio/sfx/cry18_2.asm create mode 100644 audio/sfx/cry18_3.asm create mode 100644 audio/sfx/cry19_1.asm create mode 100644 audio/sfx/cry19_2.asm create mode 100644 audio/sfx/cry19_3.asm create mode 100644 audio/sfx/cry1a_1.asm create mode 100644 audio/sfx/cry1a_2.asm create mode 100644 audio/sfx/cry1a_3.asm create mode 100644 audio/sfx/cry1b_1.asm create mode 100644 audio/sfx/cry1b_2.asm create mode 100644 audio/sfx/cry1b_3.asm create mode 100644 audio/sfx/cry1c_1.asm create mode 100644 audio/sfx/cry1c_2.asm create mode 100644 audio/sfx/cry1c_3.asm create mode 100644 audio/sfx/cry1d_1.asm create mode 100644 audio/sfx/cry1d_2.asm create mode 100644 audio/sfx/cry1d_3.asm create mode 100644 audio/sfx/cry1e_1.asm create mode 100644 audio/sfx/cry1e_2.asm create mode 100644 audio/sfx/cry1e_3.asm create mode 100644 audio/sfx/cry1f_1.asm create mode 100644 audio/sfx/cry1f_2.asm create mode 100644 audio/sfx/cry1f_3.asm create mode 100644 audio/sfx/cry20_1.asm create mode 100644 audio/sfx/cry20_2.asm create mode 100644 audio/sfx/cry20_3.asm create mode 100644 audio/sfx/cry21_1.asm create mode 100644 audio/sfx/cry21_2.asm create mode 100644 audio/sfx/cry21_3.asm create mode 100644 audio/sfx/cry22_1.asm create mode 100644 audio/sfx/cry22_2.asm create mode 100644 audio/sfx/cry22_3.asm create mode 100644 audio/sfx/cry23_1.asm create mode 100644 audio/sfx/cry23_2.asm create mode 100644 audio/sfx/cry23_3.asm create mode 100644 audio/sfx/cry24_1.asm create mode 100644 audio/sfx/cry24_2.asm create mode 100644 audio/sfx/cry24_3.asm create mode 100644 audio/sfx/cry25_1.asm create mode 100644 audio/sfx/cry25_2.asm create mode 100644 audio/sfx/cry25_3.asm create mode 100644 audio/sfx/cut_1.asm create mode 100644 audio/sfx/cut_3.asm create mode 100644 audio/sfx/cymbal1_1.asm create mode 100644 audio/sfx/cymbal1_2.asm create mode 100644 audio/sfx/cymbal1_3.asm create mode 100644 audio/sfx/cymbal2_1.asm create mode 100644 audio/sfx/cymbal2_2.asm create mode 100644 audio/sfx/cymbal2_3.asm create mode 100644 audio/sfx/cymbal3_1.asm create mode 100644 audio/sfx/cymbal3_2.asm create mode 100644 audio/sfx/cymbal3_3.asm create mode 100644 audio/sfx/damage.asm create mode 100644 audio/sfx/denied_1.asm create mode 100644 audio/sfx/denied_3.asm create mode 100644 audio/sfx/dex_page_added.asm create mode 100644 audio/sfx/doubleslap.asm create mode 100644 audio/sfx/enter_pc_1.asm create mode 100644 audio/sfx/enter_pc_3.asm create mode 100644 audio/sfx/faint_fall.asm create mode 100644 audio/sfx/faint_thud.asm create mode 100644 audio/sfx/fly_1.asm create mode 100644 audio/sfx/fly_3.asm create mode 100644 audio/sfx/get_item1_1.asm create mode 100644 audio/sfx/get_item1_3.asm create mode 100644 audio/sfx/get_item2_1.asm create mode 100644 audio/sfx/get_item2_2.asm create mode 100644 audio/sfx/get_item2_3.asm create mode 100644 audio/sfx/get_key_item_1.asm create mode 100644 audio/sfx/get_key_item_3.asm create mode 100644 audio/sfx/go_inside_1.asm create mode 100644 audio/sfx/go_inside_3.asm create mode 100644 audio/sfx/go_outside_1.asm create mode 100644 audio/sfx/go_outside_3.asm create mode 100644 audio/sfx/heal_ailment_1.asm create mode 100644 audio/sfx/heal_ailment_2.asm create mode 100644 audio/sfx/heal_ailment_3.asm create mode 100644 audio/sfx/heal_hp_1.asm create mode 100644 audio/sfx/heal_hp_2.asm create mode 100644 audio/sfx/heal_hp_3.asm create mode 100644 audio/sfx/healing_machine_1.asm create mode 100644 audio/sfx/healing_machine_3.asm create mode 100644 audio/sfx/horn_drill.asm create mode 100644 audio/sfx/intro_crash.asm create mode 100644 audio/sfx/intro_hip.asm create mode 100644 audio/sfx/intro_hop.asm create mode 100644 audio/sfx/intro_lunge.asm create mode 100644 audio/sfx/intro_raise.asm create mode 100644 audio/sfx/intro_whoosh.asm create mode 100644 audio/sfx/ledge_1.asm create mode 100644 audio/sfx/ledge_3.asm create mode 100644 audio/sfx/level_up.asm create mode 100644 audio/sfx/muted_snare1_1.asm create mode 100644 audio/sfx/muted_snare1_2.asm create mode 100644 audio/sfx/muted_snare1_3.asm create mode 100644 audio/sfx/muted_snare2_1.asm create mode 100644 audio/sfx/muted_snare2_2.asm create mode 100644 audio/sfx/muted_snare2_3.asm create mode 100644 audio/sfx/muted_snare3_1.asm create mode 100644 audio/sfx/muted_snare3_2.asm create mode 100644 audio/sfx/muted_snare3_3.asm create mode 100644 audio/sfx/muted_snare4_1.asm create mode 100644 audio/sfx/muted_snare4_2.asm create mode 100644 audio/sfx/muted_snare4_3.asm create mode 100644 audio/sfx/not_very_effective.asm create mode 100644 audio/sfx/peck.asm create mode 100644 audio/sfx/poisoned_1.asm create mode 100644 audio/sfx/poisoned_3.asm create mode 100644 audio/sfx/pokedex_rating_1.asm create mode 100644 audio/sfx/pokedex_rating_3.asm create mode 100644 audio/sfx/pokeflute.asm create mode 100644 audio/sfx/pound.asm create mode 100644 audio/sfx/press_ab_1.asm create mode 100644 audio/sfx/press_ab_2.asm create mode 100644 audio/sfx/press_ab_3.asm create mode 100644 audio/sfx/psybeam.asm create mode 100644 audio/sfx/psychic_m.asm create mode 100644 audio/sfx/purchase_1.asm create mode 100644 audio/sfx/purchase_3.asm create mode 100644 audio/sfx/push_boulder_1.asm create mode 100644 audio/sfx/push_boulder_3.asm create mode 100644 audio/sfx/run.asm create mode 100644 audio/sfx/safari_zone_pa.asm create mode 100644 audio/sfx/save_1.asm create mode 100644 audio/sfx/save_3.asm delete mode 100755 audio/sfx/sfx_02_01.asm delete mode 100755 audio/sfx/sfx_02_02.asm delete mode 100755 audio/sfx/sfx_02_03.asm delete mode 100755 audio/sfx/sfx_02_04.asm delete mode 100755 audio/sfx/sfx_02_05.asm delete mode 100755 audio/sfx/sfx_02_06.asm delete mode 100755 audio/sfx/sfx_02_07.asm delete mode 100755 audio/sfx/sfx_02_08.asm delete mode 100755 audio/sfx/sfx_02_09.asm delete mode 100755 audio/sfx/sfx_02_0a.asm delete mode 100755 audio/sfx/sfx_02_0b.asm delete mode 100755 audio/sfx/sfx_02_0c.asm delete mode 100755 audio/sfx/sfx_02_0d.asm delete mode 100755 audio/sfx/sfx_02_0e.asm delete mode 100755 audio/sfx/sfx_02_0f.asm delete mode 100755 audio/sfx/sfx_02_10.asm delete mode 100755 audio/sfx/sfx_02_11.asm delete mode 100755 audio/sfx/sfx_02_12.asm delete mode 100755 audio/sfx/sfx_02_13.asm delete mode 100755 audio/sfx/sfx_02_14.asm delete mode 100755 audio/sfx/sfx_02_15.asm delete mode 100755 audio/sfx/sfx_02_16.asm delete mode 100755 audio/sfx/sfx_02_17.asm delete mode 100755 audio/sfx/sfx_02_18.asm delete mode 100755 audio/sfx/sfx_02_19.asm delete mode 100755 audio/sfx/sfx_02_1a.asm delete mode 100755 audio/sfx/sfx_02_1b.asm delete mode 100755 audio/sfx/sfx_02_1c.asm delete mode 100755 audio/sfx/sfx_02_1d.asm delete mode 100755 audio/sfx/sfx_02_1e.asm delete mode 100755 audio/sfx/sfx_02_1f.asm delete mode 100755 audio/sfx/sfx_02_20.asm delete mode 100755 audio/sfx/sfx_02_21.asm delete mode 100755 audio/sfx/sfx_02_22.asm delete mode 100755 audio/sfx/sfx_02_23.asm delete mode 100755 audio/sfx/sfx_02_24.asm delete mode 100755 audio/sfx/sfx_02_25.asm delete mode 100755 audio/sfx/sfx_02_26.asm delete mode 100755 audio/sfx/sfx_02_27.asm delete mode 100755 audio/sfx/sfx_02_28.asm delete mode 100755 audio/sfx/sfx_02_29.asm delete mode 100755 audio/sfx/sfx_02_2a.asm delete mode 100755 audio/sfx/sfx_02_2b.asm delete mode 100755 audio/sfx/sfx_02_2c.asm delete mode 100755 audio/sfx/sfx_02_2d.asm delete mode 100755 audio/sfx/sfx_02_2e.asm delete mode 100755 audio/sfx/sfx_02_2f.asm delete mode 100755 audio/sfx/sfx_02_30.asm delete mode 100755 audio/sfx/sfx_02_31.asm delete mode 100755 audio/sfx/sfx_02_32.asm delete mode 100755 audio/sfx/sfx_02_33.asm delete mode 100755 audio/sfx/sfx_02_34.asm delete mode 100755 audio/sfx/sfx_02_35.asm delete mode 100755 audio/sfx/sfx_02_36.asm delete mode 100755 audio/sfx/sfx_02_37.asm delete mode 100755 audio/sfx/sfx_02_38.asm delete mode 100755 audio/sfx/sfx_02_39.asm delete mode 100755 audio/sfx/sfx_02_3a.asm delete mode 100755 audio/sfx/sfx_02_3b.asm delete mode 100755 audio/sfx/sfx_02_3c.asm delete mode 100755 audio/sfx/sfx_02_3d.asm delete mode 100755 audio/sfx/sfx_02_3e.asm delete mode 100755 audio/sfx/sfx_02_3f.asm delete mode 100755 audio/sfx/sfx_02_40.asm delete mode 100755 audio/sfx/sfx_02_41.asm delete mode 100755 audio/sfx/sfx_02_42.asm delete mode 100755 audio/sfx/sfx_02_43.asm delete mode 100755 audio/sfx/sfx_02_44.asm delete mode 100755 audio/sfx/sfx_02_45.asm delete mode 100755 audio/sfx/sfx_02_46.asm delete mode 100755 audio/sfx/sfx_02_47.asm delete mode 100755 audio/sfx/sfx_02_48.asm delete mode 100755 audio/sfx/sfx_02_49.asm delete mode 100755 audio/sfx/sfx_02_4a.asm delete mode 100755 audio/sfx/sfx_02_4b.asm delete mode 100755 audio/sfx/sfx_02_4c.asm delete mode 100755 audio/sfx/sfx_02_4d.asm delete mode 100755 audio/sfx/sfx_02_4e.asm delete mode 100755 audio/sfx/sfx_02_4f.asm delete mode 100755 audio/sfx/sfx_02_50.asm delete mode 100755 audio/sfx/sfx_02_51.asm delete mode 100755 audio/sfx/sfx_02_52.asm delete mode 100755 audio/sfx/sfx_02_53.asm delete mode 100755 audio/sfx/sfx_02_54.asm delete mode 100755 audio/sfx/sfx_02_55.asm delete mode 100755 audio/sfx/sfx_02_56.asm delete mode 100755 audio/sfx/sfx_02_57.asm delete mode 100755 audio/sfx/sfx_02_58.asm delete mode 100755 audio/sfx/sfx_02_59.asm delete mode 100755 audio/sfx/sfx_02_5a.asm delete mode 100755 audio/sfx/sfx_02_5b.asm delete mode 100755 audio/sfx/sfx_02_5c.asm delete mode 100755 audio/sfx/sfx_02_5d.asm delete mode 100755 audio/sfx/sfx_02_5e.asm delete mode 100755 audio/sfx/sfx_02_5f.asm delete mode 100755 audio/sfx/sfx_08_01.asm delete mode 100755 audio/sfx/sfx_08_02.asm delete mode 100755 audio/sfx/sfx_08_03.asm delete mode 100755 audio/sfx/sfx_08_04.asm delete mode 100755 audio/sfx/sfx_08_05.asm delete mode 100755 audio/sfx/sfx_08_06.asm delete mode 100755 audio/sfx/sfx_08_07.asm delete mode 100755 audio/sfx/sfx_08_08.asm delete mode 100755 audio/sfx/sfx_08_09.asm delete mode 100755 audio/sfx/sfx_08_0a.asm delete mode 100755 audio/sfx/sfx_08_0b.asm delete mode 100755 audio/sfx/sfx_08_0c.asm delete mode 100755 audio/sfx/sfx_08_0d.asm delete mode 100755 audio/sfx/sfx_08_0e.asm delete mode 100755 audio/sfx/sfx_08_0f.asm delete mode 100755 audio/sfx/sfx_08_10.asm delete mode 100755 audio/sfx/sfx_08_11.asm delete mode 100755 audio/sfx/sfx_08_12.asm delete mode 100755 audio/sfx/sfx_08_13.asm delete mode 100755 audio/sfx/sfx_08_14.asm delete mode 100755 audio/sfx/sfx_08_15.asm delete mode 100755 audio/sfx/sfx_08_16.asm delete mode 100755 audio/sfx/sfx_08_17.asm delete mode 100755 audio/sfx/sfx_08_18.asm delete mode 100755 audio/sfx/sfx_08_19.asm delete mode 100755 audio/sfx/sfx_08_1a.asm delete mode 100755 audio/sfx/sfx_08_1b.asm delete mode 100755 audio/sfx/sfx_08_1c.asm delete mode 100755 audio/sfx/sfx_08_1d.asm delete mode 100755 audio/sfx/sfx_08_1e.asm delete mode 100755 audio/sfx/sfx_08_1f.asm delete mode 100755 audio/sfx/sfx_08_20.asm delete mode 100755 audio/sfx/sfx_08_21.asm delete mode 100755 audio/sfx/sfx_08_22.asm delete mode 100755 audio/sfx/sfx_08_23.asm delete mode 100755 audio/sfx/sfx_08_24.asm delete mode 100755 audio/sfx/sfx_08_25.asm delete mode 100755 audio/sfx/sfx_08_26.asm delete mode 100755 audio/sfx/sfx_08_27.asm delete mode 100755 audio/sfx/sfx_08_28.asm delete mode 100755 audio/sfx/sfx_08_29.asm delete mode 100755 audio/sfx/sfx_08_2a.asm delete mode 100755 audio/sfx/sfx_08_2b.asm delete mode 100755 audio/sfx/sfx_08_2c.asm delete mode 100755 audio/sfx/sfx_08_2d.asm delete mode 100755 audio/sfx/sfx_08_2e.asm delete mode 100755 audio/sfx/sfx_08_2f.asm delete mode 100755 audio/sfx/sfx_08_30.asm delete mode 100755 audio/sfx/sfx_08_31.asm delete mode 100755 audio/sfx/sfx_08_32.asm delete mode 100755 audio/sfx/sfx_08_33.asm delete mode 100755 audio/sfx/sfx_08_34.asm delete mode 100755 audio/sfx/sfx_08_35.asm delete mode 100755 audio/sfx/sfx_08_36.asm delete mode 100755 audio/sfx/sfx_08_37.asm delete mode 100755 audio/sfx/sfx_08_38.asm delete mode 100755 audio/sfx/sfx_08_39.asm delete mode 100755 audio/sfx/sfx_08_3a.asm delete mode 100755 audio/sfx/sfx_08_3b.asm delete mode 100755 audio/sfx/sfx_08_3c.asm delete mode 100755 audio/sfx/sfx_08_3d.asm delete mode 100755 audio/sfx/sfx_08_3e.asm delete mode 100755 audio/sfx/sfx_08_3f.asm delete mode 100755 audio/sfx/sfx_08_40.asm delete mode 100755 audio/sfx/sfx_08_41.asm delete mode 100755 audio/sfx/sfx_08_42.asm delete mode 100755 audio/sfx/sfx_08_43.asm delete mode 100755 audio/sfx/sfx_08_44.asm delete mode 100755 audio/sfx/sfx_08_45.asm delete mode 100755 audio/sfx/sfx_08_46.asm delete mode 100755 audio/sfx/sfx_08_47.asm delete mode 100755 audio/sfx/sfx_08_48.asm delete mode 100755 audio/sfx/sfx_08_49.asm delete mode 100755 audio/sfx/sfx_08_4a.asm delete mode 100755 audio/sfx/sfx_08_4b.asm delete mode 100755 audio/sfx/sfx_08_4c.asm delete mode 100755 audio/sfx/sfx_08_4d.asm delete mode 100755 audio/sfx/sfx_08_4e.asm delete mode 100755 audio/sfx/sfx_08_4f.asm delete mode 100755 audio/sfx/sfx_08_50.asm delete mode 100755 audio/sfx/sfx_08_51.asm delete mode 100755 audio/sfx/sfx_08_52.asm delete mode 100755 audio/sfx/sfx_08_53.asm delete mode 100755 audio/sfx/sfx_08_54.asm delete mode 100755 audio/sfx/sfx_08_55.asm delete mode 100755 audio/sfx/sfx_08_56.asm delete mode 100755 audio/sfx/sfx_08_57.asm delete mode 100755 audio/sfx/sfx_08_58.asm delete mode 100755 audio/sfx/sfx_08_59.asm delete mode 100755 audio/sfx/sfx_08_5a.asm delete mode 100755 audio/sfx/sfx_08_5b.asm delete mode 100755 audio/sfx/sfx_08_5c.asm delete mode 100755 audio/sfx/sfx_08_5d.asm delete mode 100755 audio/sfx/sfx_08_5e.asm delete mode 100755 audio/sfx/sfx_08_5f.asm delete mode 100755 audio/sfx/sfx_08_60.asm delete mode 100755 audio/sfx/sfx_08_61.asm delete mode 100755 audio/sfx/sfx_08_62.asm delete mode 100755 audio/sfx/sfx_08_63.asm delete mode 100755 audio/sfx/sfx_08_64.asm delete mode 100755 audio/sfx/sfx_08_65.asm delete mode 100755 audio/sfx/sfx_08_66.asm delete mode 100755 audio/sfx/sfx_08_67.asm delete mode 100755 audio/sfx/sfx_08_68.asm delete mode 100755 audio/sfx/sfx_08_69.asm delete mode 100755 audio/sfx/sfx_08_6a.asm delete mode 100755 audio/sfx/sfx_08_6b.asm delete mode 100755 audio/sfx/sfx_08_6c.asm delete mode 100755 audio/sfx/sfx_08_6d.asm delete mode 100755 audio/sfx/sfx_08_6e.asm delete mode 100755 audio/sfx/sfx_08_6f.asm delete mode 100755 audio/sfx/sfx_08_70.asm delete mode 100755 audio/sfx/sfx_08_71.asm delete mode 100755 audio/sfx/sfx_08_72.asm delete mode 100755 audio/sfx/sfx_08_73.asm delete mode 100755 audio/sfx/sfx_08_74.asm delete mode 100755 audio/sfx/sfx_08_75.asm delete mode 100755 audio/sfx/sfx_08_76.asm delete mode 100755 audio/sfx/sfx_08_77.asm delete mode 100755 audio/sfx/sfx_1f_01.asm delete mode 100755 audio/sfx/sfx_1f_02.asm delete mode 100755 audio/sfx/sfx_1f_03.asm delete mode 100755 audio/sfx/sfx_1f_04.asm delete mode 100755 audio/sfx/sfx_1f_05.asm delete mode 100755 audio/sfx/sfx_1f_06.asm delete mode 100755 audio/sfx/sfx_1f_07.asm delete mode 100755 audio/sfx/sfx_1f_08.asm delete mode 100755 audio/sfx/sfx_1f_09.asm delete mode 100755 audio/sfx/sfx_1f_0a.asm delete mode 100755 audio/sfx/sfx_1f_0b.asm delete mode 100755 audio/sfx/sfx_1f_0c.asm delete mode 100755 audio/sfx/sfx_1f_0d.asm delete mode 100755 audio/sfx/sfx_1f_0e.asm delete mode 100755 audio/sfx/sfx_1f_0f.asm delete mode 100755 audio/sfx/sfx_1f_10.asm delete mode 100755 audio/sfx/sfx_1f_11.asm delete mode 100755 audio/sfx/sfx_1f_12.asm delete mode 100755 audio/sfx/sfx_1f_13.asm delete mode 100755 audio/sfx/sfx_1f_14.asm delete mode 100755 audio/sfx/sfx_1f_15.asm delete mode 100755 audio/sfx/sfx_1f_16.asm delete mode 100755 audio/sfx/sfx_1f_17.asm delete mode 100755 audio/sfx/sfx_1f_18.asm delete mode 100755 audio/sfx/sfx_1f_19.asm delete mode 100755 audio/sfx/sfx_1f_1a.asm delete mode 100755 audio/sfx/sfx_1f_1b.asm delete mode 100755 audio/sfx/sfx_1f_1c.asm delete mode 100755 audio/sfx/sfx_1f_1d.asm delete mode 100755 audio/sfx/sfx_1f_1e.asm delete mode 100755 audio/sfx/sfx_1f_1f.asm delete mode 100755 audio/sfx/sfx_1f_20.asm delete mode 100755 audio/sfx/sfx_1f_21.asm delete mode 100755 audio/sfx/sfx_1f_22.asm delete mode 100755 audio/sfx/sfx_1f_23.asm delete mode 100755 audio/sfx/sfx_1f_24.asm delete mode 100755 audio/sfx/sfx_1f_25.asm delete mode 100755 audio/sfx/sfx_1f_26.asm delete mode 100755 audio/sfx/sfx_1f_27.asm delete mode 100755 audio/sfx/sfx_1f_28.asm delete mode 100755 audio/sfx/sfx_1f_29.asm delete mode 100755 audio/sfx/sfx_1f_2a.asm delete mode 100755 audio/sfx/sfx_1f_2b.asm delete mode 100755 audio/sfx/sfx_1f_2c.asm delete mode 100755 audio/sfx/sfx_1f_2d.asm delete mode 100755 audio/sfx/sfx_1f_2e.asm delete mode 100755 audio/sfx/sfx_1f_2f.asm delete mode 100755 audio/sfx/sfx_1f_30.asm delete mode 100755 audio/sfx/sfx_1f_31.asm delete mode 100755 audio/sfx/sfx_1f_32.asm delete mode 100755 audio/sfx/sfx_1f_33.asm delete mode 100755 audio/sfx/sfx_1f_34.asm delete mode 100755 audio/sfx/sfx_1f_35.asm delete mode 100755 audio/sfx/sfx_1f_36.asm delete mode 100755 audio/sfx/sfx_1f_37.asm delete mode 100755 audio/sfx/sfx_1f_38.asm delete mode 100755 audio/sfx/sfx_1f_39.asm delete mode 100755 audio/sfx/sfx_1f_3a.asm delete mode 100755 audio/sfx/sfx_1f_3b.asm delete mode 100755 audio/sfx/sfx_1f_3c.asm delete mode 100755 audio/sfx/sfx_1f_3d.asm delete mode 100755 audio/sfx/sfx_1f_3e.asm delete mode 100755 audio/sfx/sfx_1f_3f.asm delete mode 100755 audio/sfx/sfx_1f_40.asm delete mode 100755 audio/sfx/sfx_1f_41.asm delete mode 100755 audio/sfx/sfx_1f_42.asm delete mode 100755 audio/sfx/sfx_1f_43.asm delete mode 100755 audio/sfx/sfx_1f_44.asm delete mode 100755 audio/sfx/sfx_1f_45.asm delete mode 100755 audio/sfx/sfx_1f_46.asm delete mode 100755 audio/sfx/sfx_1f_47.asm delete mode 100755 audio/sfx/sfx_1f_48.asm delete mode 100755 audio/sfx/sfx_1f_49.asm delete mode 100755 audio/sfx/sfx_1f_4a.asm delete mode 100755 audio/sfx/sfx_1f_4b.asm delete mode 100755 audio/sfx/sfx_1f_4c.asm delete mode 100755 audio/sfx/sfx_1f_4d.asm delete mode 100755 audio/sfx/sfx_1f_4e.asm delete mode 100755 audio/sfx/sfx_1f_4f.asm delete mode 100755 audio/sfx/sfx_1f_50.asm delete mode 100755 audio/sfx/sfx_1f_51.asm delete mode 100755 audio/sfx/sfx_1f_52.asm delete mode 100755 audio/sfx/sfx_1f_53.asm delete mode 100755 audio/sfx/sfx_1f_54.asm delete mode 100755 audio/sfx/sfx_1f_55.asm delete mode 100755 audio/sfx/sfx_1f_56.asm delete mode 100755 audio/sfx/sfx_1f_57.asm delete mode 100755 audio/sfx/sfx_1f_58.asm delete mode 100755 audio/sfx/sfx_1f_59.asm delete mode 100755 audio/sfx/sfx_1f_5a.asm delete mode 100755 audio/sfx/sfx_1f_5b.asm delete mode 100755 audio/sfx/sfx_1f_5c.asm delete mode 100755 audio/sfx/sfx_1f_5d.asm delete mode 100755 audio/sfx/sfx_1f_5e.asm delete mode 100755 audio/sfx/sfx_1f_5f.asm delete mode 100755 audio/sfx/sfx_1f_60.asm delete mode 100755 audio/sfx/sfx_1f_61.asm delete mode 100755 audio/sfx/sfx_1f_62.asm delete mode 100755 audio/sfx/sfx_1f_63.asm delete mode 100755 audio/sfx/sfx_1f_64.asm delete mode 100755 audio/sfx/sfx_1f_65.asm delete mode 100755 audio/sfx/sfx_1f_66.asm delete mode 100755 audio/sfx/sfx_1f_67.asm create mode 100644 audio/sfx/shooting_star.asm create mode 100644 audio/sfx/shrink_1.asm create mode 100644 audio/sfx/shrink_3.asm create mode 100644 audio/sfx/silph_scope.asm create mode 100644 audio/sfx/slots_new_spin.asm create mode 100644 audio/sfx/slots_reward.asm create mode 100644 audio/sfx/slots_stop_wheel.asm create mode 100644 audio/sfx/snare1_1.asm create mode 100644 audio/sfx/snare1_2.asm create mode 100644 audio/sfx/snare1_3.asm create mode 100644 audio/sfx/snare2_1.asm create mode 100644 audio/sfx/snare2_2.asm create mode 100644 audio/sfx/snare2_3.asm create mode 100644 audio/sfx/snare3_1.asm create mode 100644 audio/sfx/snare3_2.asm create mode 100644 audio/sfx/snare3_3.asm create mode 100644 audio/sfx/snare4_1.asm create mode 100644 audio/sfx/snare4_2.asm create mode 100644 audio/sfx/snare4_3.asm create mode 100644 audio/sfx/snare5_1.asm create mode 100644 audio/sfx/snare5_2.asm create mode 100644 audio/sfx/snare5_3.asm create mode 100644 audio/sfx/snare6_1.asm create mode 100644 audio/sfx/snare6_2.asm create mode 100644 audio/sfx/snare6_3.asm create mode 100644 audio/sfx/snare7_1.asm create mode 100644 audio/sfx/snare7_2.asm create mode 100644 audio/sfx/snare7_3.asm create mode 100644 audio/sfx/snare8_1.asm create mode 100644 audio/sfx/snare8_2.asm create mode 100644 audio/sfx/snare8_3.asm create mode 100644 audio/sfx/snare9_1.asm create mode 100644 audio/sfx/snare9_2.asm create mode 100644 audio/sfx/snare9_3.asm create mode 100644 audio/sfx/ss_anne_horn_1.asm create mode 100644 audio/sfx/ss_anne_horn_3.asm create mode 100644 audio/sfx/start_menu_1.asm create mode 100644 audio/sfx/start_menu_2.asm create mode 100644 audio/sfx/start_menu_3.asm create mode 100644 audio/sfx/super_effective.asm create mode 100644 audio/sfx/swap_1.asm create mode 100644 audio/sfx/swap_3.asm create mode 100644 audio/sfx/switch_1.asm create mode 100644 audio/sfx/switch_3.asm create mode 100644 audio/sfx/teleport_enter1_1.asm create mode 100644 audio/sfx/teleport_enter1_3.asm create mode 100644 audio/sfx/teleport_enter2_1.asm create mode 100644 audio/sfx/teleport_enter2_3.asm create mode 100644 audio/sfx/teleport_exit1_1.asm create mode 100644 audio/sfx/teleport_exit1_3.asm create mode 100644 audio/sfx/teleport_exit2_1.asm create mode 100644 audio/sfx/teleport_exit2_3.asm create mode 100644 audio/sfx/tink_1.asm create mode 100644 audio/sfx/tink_2.asm create mode 100644 audio/sfx/tink_3.asm create mode 100644 audio/sfx/trade_machine_1.asm create mode 100644 audio/sfx/trade_machine_3.asm create mode 100644 audio/sfx/triangle1_1.asm create mode 100644 audio/sfx/triangle1_2.asm create mode 100644 audio/sfx/triangle1_3.asm create mode 100644 audio/sfx/triangle2_1.asm create mode 100644 audio/sfx/triangle2_2.asm create mode 100644 audio/sfx/triangle2_3.asm create mode 100644 audio/sfx/triangle3_1.asm create mode 100644 audio/sfx/triangle3_2.asm create mode 100644 audio/sfx/triangle3_3.asm create mode 100644 audio/sfx/turn_off_pc_1.asm create mode 100644 audio/sfx/turn_off_pc_3.asm create mode 100644 audio/sfx/turn_on_pc_1.asm create mode 100644 audio/sfx/turn_on_pc_3.asm create mode 100644 audio/sfx/vine_whip.asm create mode 100644 audio/sfx/withdraw_deposit_1.asm create mode 100644 audio/sfx/withdraw_deposit_3.asm (limited to 'home/init.asm') diff --git a/audio.asm b/audio.asm index 563aee14..8b83fcaf 100644 --- a/audio.asm +++ b/audio.asm @@ -30,333 +30,333 @@ INCLUDE "audio/headers/musicheaders1f.asm" SECTION "Sound Effects 1", ROMX, BANK[AUDIO_1] -INCLUDE "audio/sfx/sfx_02_01.asm" -INCLUDE "audio/sfx/sfx_02_02.asm" -INCLUDE "audio/sfx/sfx_02_03.asm" -INCLUDE "audio/sfx/sfx_02_04.asm" -INCLUDE "audio/sfx/sfx_02_05.asm" -INCLUDE "audio/sfx/sfx_02_06.asm" -INCLUDE "audio/sfx/sfx_02_07.asm" -INCLUDE "audio/sfx/sfx_02_08.asm" -INCLUDE "audio/sfx/sfx_02_09.asm" -INCLUDE "audio/sfx/sfx_02_0a.asm" -INCLUDE "audio/sfx/sfx_02_0b.asm" -INCLUDE "audio/sfx/sfx_02_0c.asm" -INCLUDE "audio/sfx/sfx_02_0d.asm" -INCLUDE "audio/sfx/sfx_02_0e.asm" -INCLUDE "audio/sfx/sfx_02_0f.asm" -INCLUDE "audio/sfx/sfx_02_10.asm" -INCLUDE "audio/sfx/sfx_02_11.asm" -INCLUDE "audio/sfx/sfx_02_12.asm" -INCLUDE "audio/sfx/sfx_02_13.asm" +INCLUDE "audio/sfx/snare1_1.asm" +INCLUDE "audio/sfx/snare2_1.asm" +INCLUDE "audio/sfx/snare3_1.asm" +INCLUDE "audio/sfx/snare4_1.asm" +INCLUDE "audio/sfx/snare5_1.asm" +INCLUDE "audio/sfx/triangle1_1.asm" +INCLUDE "audio/sfx/triangle2_1.asm" +INCLUDE "audio/sfx/snare6_1.asm" +INCLUDE "audio/sfx/snare7_1.asm" +INCLUDE "audio/sfx/snare8_1.asm" +INCLUDE "audio/sfx/snare9_1.asm" +INCLUDE "audio/sfx/cymbal1_1.asm" +INCLUDE "audio/sfx/cymbal2_1.asm" +INCLUDE "audio/sfx/cymbal3_1.asm" +INCLUDE "audio/sfx/muted_snare1_1.asm" +INCLUDE "audio/sfx/triangle3_1.asm" +INCLUDE "audio/sfx/muted_snare2_1.asm" +INCLUDE "audio/sfx/muted_snare3_1.asm" +INCLUDE "audio/sfx/muted_snare4_1.asm" Music2_WavePointers: INCLUDE "audio/wave_instruments.asm" -INCLUDE "audio/sfx/sfx_02_3f.asm" -INCLUDE "audio/sfx/sfx_02_5e.asm" -INCLUDE "audio/sfx/sfx_02_56.asm" -INCLUDE "audio/sfx/sfx_02_57.asm" -INCLUDE "audio/sfx/sfx_02_58.asm" -INCLUDE "audio/sfx/sfx_02_3c.asm" -INCLUDE "audio/sfx/sfx_02_59.asm" -INCLUDE "audio/sfx/sfx_02_5a.asm" -INCLUDE "audio/sfx/sfx_02_5b.asm" -INCLUDE "audio/sfx/sfx_02_5c.asm" -INCLUDE "audio/sfx/sfx_02_40.asm" -INCLUDE "audio/sfx/sfx_02_5d.asm" -INCLUDE "audio/sfx/sfx_02_3d.asm" -INCLUDE "audio/sfx/sfx_02_43.asm" -INCLUDE "audio/sfx/sfx_02_3e.asm" -INCLUDE "audio/sfx/sfx_02_44.asm" -INCLUDE "audio/sfx/sfx_02_45.asm" -INCLUDE "audio/sfx/sfx_02_46.asm" -INCLUDE "audio/sfx/sfx_02_47.asm" -INCLUDE "audio/sfx/sfx_02_48.asm" -INCLUDE "audio/sfx/sfx_02_49.asm" -INCLUDE "audio/sfx/sfx_02_4a.asm" -INCLUDE "audio/sfx/sfx_02_4b.asm" -INCLUDE "audio/sfx/sfx_02_4c.asm" -INCLUDE "audio/sfx/sfx_02_4d.asm" -INCLUDE "audio/sfx/sfx_02_4e.asm" -INCLUDE "audio/sfx/sfx_02_4f.asm" -INCLUDE "audio/sfx/sfx_02_50.asm" -INCLUDE "audio/sfx/sfx_02_51.asm" -INCLUDE "audio/sfx/sfx_02_52.asm" -INCLUDE "audio/sfx/sfx_02_53.asm" -INCLUDE "audio/sfx/sfx_02_54.asm" -INCLUDE "audio/sfx/sfx_02_55.asm" -INCLUDE "audio/sfx/sfx_02_5f.asm" +INCLUDE "audio/sfx/start_menu_1.asm" +INCLUDE "audio/sfx/pokeflute.asm" +INCLUDE "audio/sfx/cut_1.asm" +INCLUDE "audio/sfx/go_inside_1.asm" +INCLUDE "audio/sfx/swap_1.asm" +INCLUDE "audio/sfx/tink_1.asm" +INCLUDE "audio/sfx/59_1.asm" +INCLUDE "audio/sfx/purchase_1.asm" +INCLUDE "audio/sfx/collision_1.asm" +INCLUDE "audio/sfx/go_outside_1.asm" +INCLUDE "audio/sfx/press_ab_1.asm" +INCLUDE "audio/sfx/save_1.asm" +INCLUDE "audio/sfx/heal_hp_1.asm" +INCLUDE "audio/sfx/poisoned_1.asm" +INCLUDE "audio/sfx/heal_ailment_1.asm" +INCLUDE "audio/sfx/trade_machine_1.asm" +INCLUDE "audio/sfx/turn_on_pc_1.asm" +INCLUDE "audio/sfx/turn_off_pc_1.asm" +INCLUDE "audio/sfx/enter_pc_1.asm" +INCLUDE "audio/sfx/shrink_1.asm" +INCLUDE "audio/sfx/switch_1.asm" +INCLUDE "audio/sfx/healing_machine_1.asm" +INCLUDE "audio/sfx/teleport_exit1_1.asm" +INCLUDE "audio/sfx/teleport_enter1_1.asm" +INCLUDE "audio/sfx/teleport_exit2_1.asm" +INCLUDE "audio/sfx/ledge_1.asm" +INCLUDE "audio/sfx/teleport_enter2_1.asm" +INCLUDE "audio/sfx/fly_1.asm" +INCLUDE "audio/sfx/denied_1.asm" +INCLUDE "audio/sfx/arrow_tiles_1.asm" +INCLUDE "audio/sfx/push_boulder_1.asm" +INCLUDE "audio/sfx/ss_anne_horn_1.asm" +INCLUDE "audio/sfx/withdraw_deposit_1.asm" +INCLUDE "audio/sfx/safari_zone_pa.asm" INCLUDE "audio/sfx/sfx_02_unused.asm" -INCLUDE "audio/sfx/sfx_02_1d.asm" -INCLUDE "audio/sfx/sfx_02_37.asm" -INCLUDE "audio/sfx/sfx_02_38.asm" -INCLUDE "audio/sfx/sfx_02_25.asm" -INCLUDE "audio/sfx/sfx_02_39.asm" -INCLUDE "audio/sfx/sfx_02_17.asm" -INCLUDE "audio/sfx/sfx_02_23.asm" -INCLUDE "audio/sfx/sfx_02_24.asm" -INCLUDE "audio/sfx/sfx_02_14.asm" -INCLUDE "audio/sfx/sfx_02_22.asm" -INCLUDE "audio/sfx/sfx_02_1a.asm" -INCLUDE "audio/sfx/sfx_02_1b.asm" -INCLUDE "audio/sfx/sfx_02_19.asm" -INCLUDE "audio/sfx/sfx_02_1f.asm" -INCLUDE "audio/sfx/sfx_02_20.asm" -INCLUDE "audio/sfx/sfx_02_16.asm" -INCLUDE "audio/sfx/sfx_02_21.asm" -INCLUDE "audio/sfx/sfx_02_15.asm" -INCLUDE "audio/sfx/sfx_02_1e.asm" -INCLUDE "audio/sfx/sfx_02_1c.asm" -INCLUDE "audio/sfx/sfx_02_18.asm" -INCLUDE "audio/sfx/sfx_02_2d.asm" -INCLUDE "audio/sfx/sfx_02_2a.asm" -INCLUDE "audio/sfx/sfx_02_2f.asm" -INCLUDE "audio/sfx/sfx_02_26.asm" -INCLUDE "audio/sfx/sfx_02_27.asm" -INCLUDE "audio/sfx/sfx_02_28.asm" -INCLUDE "audio/sfx/sfx_02_32.asm" -INCLUDE "audio/sfx/sfx_02_29.asm" -INCLUDE "audio/sfx/sfx_02_2b.asm" -INCLUDE "audio/sfx/sfx_02_30.asm" -INCLUDE "audio/sfx/sfx_02_2e.asm" -INCLUDE "audio/sfx/sfx_02_31.asm" -INCLUDE "audio/sfx/sfx_02_2c.asm" -INCLUDE "audio/sfx/sfx_02_33.asm" -INCLUDE "audio/sfx/sfx_02_34.asm" -INCLUDE "audio/sfx/sfx_02_35.asm" -INCLUDE "audio/sfx/sfx_02_36.asm" +INCLUDE "audio/sfx/cry09_1.asm" +INCLUDE "audio/sfx/cry23_1.asm" +INCLUDE "audio/sfx/cry24_1.asm" +INCLUDE "audio/sfx/cry11_1.asm" +INCLUDE "audio/sfx/cry25_1.asm" +INCLUDE "audio/sfx/cry03_1.asm" +INCLUDE "audio/sfx/cry0f_1.asm" +INCLUDE "audio/sfx/cry10_1.asm" +INCLUDE "audio/sfx/cry00_1.asm" +INCLUDE "audio/sfx/cry0e_1.asm" +INCLUDE "audio/sfx/cry06_1.asm" +INCLUDE "audio/sfx/cry07_1.asm" +INCLUDE "audio/sfx/cry05_1.asm" +INCLUDE "audio/sfx/cry0b_1.asm" +INCLUDE "audio/sfx/cry0c_1.asm" +INCLUDE "audio/sfx/cry02_1.asm" +INCLUDE "audio/sfx/cry0d_1.asm" +INCLUDE "audio/sfx/cry01_1.asm" +INCLUDE "audio/sfx/cry0a_1.asm" +INCLUDE "audio/sfx/cry08_1.asm" +INCLUDE "audio/sfx/cry04_1.asm" +INCLUDE "audio/sfx/cry19_1.asm" +INCLUDE "audio/sfx/cry16_1.asm" +INCLUDE "audio/sfx/cry1b_1.asm" +INCLUDE "audio/sfx/cry12_1.asm" +INCLUDE "audio/sfx/cry13_1.asm" +INCLUDE "audio/sfx/cry14_1.asm" +INCLUDE "audio/sfx/cry1e_1.asm" +INCLUDE "audio/sfx/cry15_1.asm" +INCLUDE "audio/sfx/cry17_1.asm" +INCLUDE "audio/sfx/cry1c_1.asm" +INCLUDE "audio/sfx/cry1a_1.asm" +INCLUDE "audio/sfx/cry1d_1.asm" +INCLUDE "audio/sfx/cry18_1.asm" +INCLUDE "audio/sfx/cry1f_1.asm" +INCLUDE "audio/sfx/cry20_1.asm" +INCLUDE "audio/sfx/cry21_1.asm" +INCLUDE "audio/sfx/cry22_1.asm" SECTION "Sound Effects 2", ROMX, BANK[AUDIO_2] -INCLUDE "audio/sfx/sfx_08_01.asm" -INCLUDE "audio/sfx/sfx_08_02.asm" -INCLUDE "audio/sfx/sfx_08_03.asm" -INCLUDE "audio/sfx/sfx_08_04.asm" -INCLUDE "audio/sfx/sfx_08_05.asm" -INCLUDE "audio/sfx/sfx_08_06.asm" -INCLUDE "audio/sfx/sfx_08_07.asm" -INCLUDE "audio/sfx/sfx_08_08.asm" -INCLUDE "audio/sfx/sfx_08_09.asm" -INCLUDE "audio/sfx/sfx_08_0a.asm" -INCLUDE "audio/sfx/sfx_08_0b.asm" -INCLUDE "audio/sfx/sfx_08_0c.asm" -INCLUDE "audio/sfx/sfx_08_0d.asm" -INCLUDE "audio/sfx/sfx_08_0e.asm" -INCLUDE "audio/sfx/sfx_08_0f.asm" -INCLUDE "audio/sfx/sfx_08_10.asm" -INCLUDE "audio/sfx/sfx_08_11.asm" -INCLUDE "audio/sfx/sfx_08_12.asm" -INCLUDE "audio/sfx/sfx_08_13.asm" +INCLUDE "audio/sfx/snare1_2.asm" +INCLUDE "audio/sfx/snare2_2.asm" +INCLUDE "audio/sfx/snare3_2.asm" +INCLUDE "audio/sfx/snare4_2.asm" +INCLUDE "audio/sfx/snare5_2.asm" +INCLUDE "audio/sfx/triangle1_2.asm" +INCLUDE "audio/sfx/triangle2_2.asm" +INCLUDE "audio/sfx/snare6_2.asm" +INCLUDE "audio/sfx/snare7_2.asm" +INCLUDE "audio/sfx/snare8_2.asm" +INCLUDE "audio/sfx/snare9_2.asm" +INCLUDE "audio/sfx/cymbal1_2.asm" +INCLUDE "audio/sfx/cymbal2_2.asm" +INCLUDE "audio/sfx/cymbal3_2.asm" +INCLUDE "audio/sfx/muted_snare1_2.asm" +INCLUDE "audio/sfx/triangle3_2.asm" +INCLUDE "audio/sfx/muted_snare2_2.asm" +INCLUDE "audio/sfx/muted_snare3_2.asm" +INCLUDE "audio/sfx/muted_snare4_2.asm" Music8_WavePointers: INCLUDE "audio/wave_instruments.asm" -INCLUDE "audio/sfx/sfx_08_40.asm" -INCLUDE "audio/sfx/sfx_08_3f.asm" -INCLUDE "audio/sfx/sfx_08_3c.asm" -INCLUDE "audio/sfx/sfx_08_3d.asm" -INCLUDE "audio/sfx/sfx_08_3e.asm" -INCLUDE "audio/sfx/sfx_08_77.asm" -INCLUDE "audio/sfx/sfx_08_41.asm" -INCLUDE "audio/sfx/sfx_08_42.asm" -INCLUDE "audio/sfx/sfx_08_43.asm" -INCLUDE "audio/sfx/sfx_08_44.asm" -INCLUDE "audio/sfx/sfx_08_45.asm" +INCLUDE "audio/sfx/press_ab_2.asm" +INCLUDE "audio/sfx/start_menu_2.asm" +INCLUDE "audio/sfx/tink_2.asm" +INCLUDE "audio/sfx/heal_hp_2.asm" +INCLUDE "audio/sfx/heal_ailment_2.asm" +INCLUDE "audio/sfx/silph_scope.asm" +INCLUDE "audio/sfx/ball_toss.asm" +INCLUDE "audio/sfx/ball_poof.asm" +INCLUDE "audio/sfx/faint_thud.asm" +INCLUDE "audio/sfx/run.asm" +INCLUDE "audio/sfx/dex_page_added.asm" INCLUDE "audio/sfx/sfx_08_pokeflute_ch3.asm" -INCLUDE "audio/sfx/sfx_08_47.asm" -INCLUDE "audio/sfx/sfx_08_48.asm" -INCLUDE "audio/sfx/sfx_08_49.asm" -INCLUDE "audio/sfx/sfx_08_4a.asm" -INCLUDE "audio/sfx/sfx_08_4b.asm" -INCLUDE "audio/sfx/sfx_08_4c.asm" -INCLUDE "audio/sfx/sfx_08_4d.asm" -INCLUDE "audio/sfx/sfx_08_4e.asm" -INCLUDE "audio/sfx/sfx_08_4f.asm" -INCLUDE "audio/sfx/sfx_08_50.asm" -INCLUDE "audio/sfx/sfx_08_51.asm" -INCLUDE "audio/sfx/sfx_08_52.asm" -INCLUDE "audio/sfx/sfx_08_53.asm" -INCLUDE "audio/sfx/sfx_08_54.asm" -INCLUDE "audio/sfx/sfx_08_55.asm" -INCLUDE "audio/sfx/sfx_08_56.asm" -INCLUDE "audio/sfx/sfx_08_57.asm" -INCLUDE "audio/sfx/sfx_08_58.asm" -INCLUDE "audio/sfx/sfx_08_59.asm" -INCLUDE "audio/sfx/sfx_08_5a.asm" -INCLUDE "audio/sfx/sfx_08_5b.asm" -INCLUDE "audio/sfx/sfx_08_5c.asm" -INCLUDE "audio/sfx/sfx_08_5d.asm" -INCLUDE "audio/sfx/sfx_08_5e.asm" -INCLUDE "audio/sfx/sfx_08_5f.asm" -INCLUDE "audio/sfx/sfx_08_60.asm" -INCLUDE "audio/sfx/sfx_08_61.asm" -INCLUDE "audio/sfx/sfx_08_62.asm" -INCLUDE "audio/sfx/sfx_08_63.asm" -INCLUDE "audio/sfx/sfx_08_64.asm" -INCLUDE "audio/sfx/sfx_08_65.asm" -INCLUDE "audio/sfx/sfx_08_66.asm" -INCLUDE "audio/sfx/sfx_08_67.asm" -INCLUDE "audio/sfx/sfx_08_68.asm" -INCLUDE "audio/sfx/sfx_08_69.asm" -INCLUDE "audio/sfx/sfx_08_6a.asm" -INCLUDE "audio/sfx/sfx_08_6b.asm" -INCLUDE "audio/sfx/sfx_08_6c.asm" -INCLUDE "audio/sfx/sfx_08_6d.asm" -INCLUDE "audio/sfx/sfx_08_6e.asm" -INCLUDE "audio/sfx/sfx_08_6f.asm" -INCLUDE "audio/sfx/sfx_08_70.asm" -INCLUDE "audio/sfx/sfx_08_71.asm" -INCLUDE "audio/sfx/sfx_08_72.asm" -INCLUDE "audio/sfx/sfx_08_73.asm" -INCLUDE "audio/sfx/sfx_08_74.asm" -INCLUDE "audio/sfx/sfx_08_75.asm" -INCLUDE "audio/sfx/sfx_08_76.asm" +INCLUDE "audio/sfx/peck.asm" +INCLUDE "audio/sfx/faint_fall.asm" +INCLUDE "audio/sfx/battle_09.asm" +INCLUDE "audio/sfx/pound.asm" +INCLUDE "audio/sfx/battle_0b.asm" +INCLUDE "audio/sfx/battle_0c.asm" +INCLUDE "audio/sfx/battle_0d.asm" +INCLUDE "audio/sfx/battle_0e.asm" +INCLUDE "audio/sfx/battle_0f.asm" +INCLUDE "audio/sfx/damage.asm" +INCLUDE "audio/sfx/not_very_effective.asm" +INCLUDE "audio/sfx/battle_12.asm" +INCLUDE "audio/sfx/battle_13.asm" +INCLUDE "audio/sfx/battle_14.asm" +INCLUDE "audio/sfx/vine_whip.asm" +INCLUDE "audio/sfx/battle_16.asm" +INCLUDE "audio/sfx/battle_17.asm" +INCLUDE "audio/sfx/battle_18.asm" +INCLUDE "audio/sfx/battle_19.asm" +INCLUDE "audio/sfx/super_effective.asm" +INCLUDE "audio/sfx/battle_1b.asm" +INCLUDE "audio/sfx/battle_1c.asm" +INCLUDE "audio/sfx/doubleslap.asm" +INCLUDE "audio/sfx/battle_1e.asm" +INCLUDE "audio/sfx/horn_drill.asm" +INCLUDE "audio/sfx/battle_20.asm" +INCLUDE "audio/sfx/battle_21.asm" +INCLUDE "audio/sfx/battle_22.asm" +INCLUDE "audio/sfx/battle_23.asm" +INCLUDE "audio/sfx/battle_24.asm" +INCLUDE "audio/sfx/battle_25.asm" +INCLUDE "audio/sfx/battle_26.asm" +INCLUDE "audio/sfx/battle_27.asm" +INCLUDE "audio/sfx/battle_28.asm" +INCLUDE "audio/sfx/battle_29.asm" +INCLUDE "audio/sfx/battle_2a.asm" +INCLUDE "audio/sfx/battle_2b.asm" +INCLUDE "audio/sfx/battle_2c.asm" +INCLUDE "audio/sfx/psybeam.asm" +INCLUDE "audio/sfx/battle_2e.asm" +INCLUDE "audio/sfx/battle_2f.asm" +INCLUDE "audio/sfx/psychic_m.asm" +INCLUDE "audio/sfx/battle_31.asm" +INCLUDE "audio/sfx/battle_32.asm" +INCLUDE "audio/sfx/battle_33.asm" +INCLUDE "audio/sfx/battle_34.asm" +INCLUDE "audio/sfx/battle_35.asm" +INCLUDE "audio/sfx/battle_36.asm" INCLUDE "audio/sfx/sfx_08_unused.asm" -INCLUDE "audio/sfx/sfx_08_1d.asm" -INCLUDE "audio/sfx/sfx_08_37.asm" -INCLUDE "audio/sfx/sfx_08_38.asm" -INCLUDE "audio/sfx/sfx_08_25.asm" -INCLUDE "audio/sfx/sfx_08_39.asm" -INCLUDE "audio/sfx/sfx_08_17.asm" -INCLUDE "audio/sfx/sfx_08_23.asm" -INCLUDE "audio/sfx/sfx_08_24.asm" -INCLUDE "audio/sfx/sfx_08_14.asm" -INCLUDE "audio/sfx/sfx_08_22.asm" -INCLUDE "audio/sfx/sfx_08_1a.asm" -INCLUDE "audio/sfx/sfx_08_1b.asm" -INCLUDE "audio/sfx/sfx_08_19.asm" -INCLUDE "audio/sfx/sfx_08_1f.asm" -INCLUDE "audio/sfx/sfx_08_20.asm" -INCLUDE "audio/sfx/sfx_08_16.asm" -INCLUDE "audio/sfx/sfx_08_21.asm" -INCLUDE "audio/sfx/sfx_08_15.asm" -INCLUDE "audio/sfx/sfx_08_1e.asm" -INCLUDE "audio/sfx/sfx_08_1c.asm" -INCLUDE "audio/sfx/sfx_08_18.asm" -INCLUDE "audio/sfx/sfx_08_2d.asm" -INCLUDE "audio/sfx/sfx_08_2a.asm" -INCLUDE "audio/sfx/sfx_08_2f.asm" -INCLUDE "audio/sfx/sfx_08_26.asm" -INCLUDE "audio/sfx/sfx_08_27.asm" -INCLUDE "audio/sfx/sfx_08_28.asm" -INCLUDE "audio/sfx/sfx_08_32.asm" -INCLUDE "audio/sfx/sfx_08_29.asm" -INCLUDE "audio/sfx/sfx_08_2b.asm" -INCLUDE "audio/sfx/sfx_08_30.asm" -INCLUDE "audio/sfx/sfx_08_2e.asm" -INCLUDE "audio/sfx/sfx_08_31.asm" -INCLUDE "audio/sfx/sfx_08_2c.asm" -INCLUDE "audio/sfx/sfx_08_33.asm" -INCLUDE "audio/sfx/sfx_08_34.asm" -INCLUDE "audio/sfx/sfx_08_35.asm" -INCLUDE "audio/sfx/sfx_08_36.asm" +INCLUDE "audio/sfx/cry09_2.asm" +INCLUDE "audio/sfx/cry23_2.asm" +INCLUDE "audio/sfx/cry24_2.asm" +INCLUDE "audio/sfx/cry11_2.asm" +INCLUDE "audio/sfx/cry25_2.asm" +INCLUDE "audio/sfx/cry03_2.asm" +INCLUDE "audio/sfx/cry0f_2.asm" +INCLUDE "audio/sfx/cry10_2.asm" +INCLUDE "audio/sfx/cry00_2.asm" +INCLUDE "audio/sfx/cry0e_2.asm" +INCLUDE "audio/sfx/cry06_2.asm" +INCLUDE "audio/sfx/cry07_2.asm" +INCLUDE "audio/sfx/cry05_2.asm" +INCLUDE "audio/sfx/cry0b_2.asm" +INCLUDE "audio/sfx/cry0c_2.asm" +INCLUDE "audio/sfx/cry02_2.asm" +INCLUDE "audio/sfx/cry0d_2.asm" +INCLUDE "audio/sfx/cry01_2.asm" +INCLUDE "audio/sfx/cry0a_2.asm" +INCLUDE "audio/sfx/cry08_2.asm" +INCLUDE "audio/sfx/cry04_2.asm" +INCLUDE "audio/sfx/cry19_2.asm" +INCLUDE "audio/sfx/cry16_2.asm" +INCLUDE "audio/sfx/cry1b_2.asm" +INCLUDE "audio/sfx/cry12_2.asm" +INCLUDE "audio/sfx/cry13_2.asm" +INCLUDE "audio/sfx/cry14_2.asm" +INCLUDE "audio/sfx/cry1e_2.asm" +INCLUDE "audio/sfx/cry15_2.asm" +INCLUDE "audio/sfx/cry17_2.asm" +INCLUDE "audio/sfx/cry1c_2.asm" +INCLUDE "audio/sfx/cry1a_2.asm" +INCLUDE "audio/sfx/cry1d_2.asm" +INCLUDE "audio/sfx/cry18_2.asm" +INCLUDE "audio/sfx/cry1f_2.asm" +INCLUDE "audio/sfx/cry20_2.asm" +INCLUDE "audio/sfx/cry21_2.asm" +INCLUDE "audio/sfx/cry22_2.asm" SECTION "Sound Effects 3", ROMX, BANK[AUDIO_3] -INCLUDE "audio/sfx/sfx_1f_01.asm" -INCLUDE "audio/sfx/sfx_1f_02.asm" -INCLUDE "audio/sfx/sfx_1f_03.asm" -INCLUDE "audio/sfx/sfx_1f_04.asm" -INCLUDE "audio/sfx/sfx_1f_05.asm" -INCLUDE "audio/sfx/sfx_1f_06.asm" -INCLUDE "audio/sfx/sfx_1f_07.asm" -INCLUDE "audio/sfx/sfx_1f_08.asm" -INCLUDE "audio/sfx/sfx_1f_09.asm" -INCLUDE "audio/sfx/sfx_1f_0a.asm" -INCLUDE "audio/sfx/sfx_1f_0b.asm" -INCLUDE "audio/sfx/sfx_1f_0c.asm" -INCLUDE "audio/sfx/sfx_1f_0d.asm" -INCLUDE "audio/sfx/sfx_1f_0e.asm" -INCLUDE "audio/sfx/sfx_1f_0f.asm" -INCLUDE "audio/sfx/sfx_1f_10.asm" -INCLUDE "audio/sfx/sfx_1f_11.asm" -INCLUDE "audio/sfx/sfx_1f_12.asm" -INCLUDE "audio/sfx/sfx_1f_13.asm" +INCLUDE "audio/sfx/snare1_3.asm" +INCLUDE "audio/sfx/snare2_3.asm" +INCLUDE "audio/sfx/snare3_3.asm" +INCLUDE "audio/sfx/snare4_3.asm" +INCLUDE "audio/sfx/snare5_3.asm" +INCLUDE "audio/sfx/triangle1_3.asm" +INCLUDE "audio/sfx/triangle2_3.asm" +INCLUDE "audio/sfx/snare6_3.asm" +INCLUDE "audio/sfx/snare7_3.asm" +INCLUDE "audio/sfx/snare8_3.asm" +INCLUDE "audio/sfx/snare9_3.asm" +INCLUDE "audio/sfx/cymbal1_3.asm" +INCLUDE "audio/sfx/cymbal2_3.asm" +INCLUDE "audio/sfx/cymbal3_3.asm" +INCLUDE "audio/sfx/muted_snare1_3.asm" +INCLUDE "audio/sfx/triangle3_3.asm" +INCLUDE "audio/sfx/muted_snare2_3.asm" +INCLUDE "audio/sfx/muted_snare3_3.asm" +INCLUDE "audio/sfx/muted_snare4_3.asm" Music1f_WavePointers: INCLUDE "audio/wave_instruments.asm" -INCLUDE "audio/sfx/sfx_1f_3f.asm" -INCLUDE "audio/sfx/sfx_1f_56.asm" -INCLUDE "audio/sfx/sfx_1f_57.asm" -INCLUDE "audio/sfx/sfx_1f_58.asm" -INCLUDE "audio/sfx/sfx_1f_3c.asm" -INCLUDE "audio/sfx/sfx_1f_59.asm" -INCLUDE "audio/sfx/sfx_1f_5a.asm" -INCLUDE "audio/sfx/sfx_1f_5b.asm" -INCLUDE "audio/sfx/sfx_1f_5c.asm" -INCLUDE "audio/sfx/sfx_1f_40.asm" -INCLUDE "audio/sfx/sfx_1f_5d.asm" -INCLUDE "audio/sfx/sfx_1f_3d.asm" -INCLUDE "audio/sfx/sfx_1f_43.asm" -INCLUDE "audio/sfx/sfx_1f_3e.asm" -INCLUDE "audio/sfx/sfx_1f_44.asm" -INCLUDE "audio/sfx/sfx_1f_45.asm" -INCLUDE "audio/sfx/sfx_1f_46.asm" -INCLUDE "audio/sfx/sfx_1f_47.asm" -INCLUDE "audio/sfx/sfx_1f_48.asm" -INCLUDE "audio/sfx/sfx_1f_49.asm" -INCLUDE "audio/sfx/sfx_1f_4a.asm" -INCLUDE "audio/sfx/sfx_1f_4b.asm" -INCLUDE "audio/sfx/sfx_1f_4c.asm" -INCLUDE "audio/sfx/sfx_1f_4d.asm" -INCLUDE "audio/sfx/sfx_1f_4e.asm" -INCLUDE "audio/sfx/sfx_1f_4f.asm" -INCLUDE "audio/sfx/sfx_1f_50.asm" -INCLUDE "audio/sfx/sfx_1f_51.asm" -INCLUDE "audio/sfx/sfx_1f_52.asm" -INCLUDE "audio/sfx/sfx_1f_53.asm" -INCLUDE "audio/sfx/sfx_1f_54.asm" -INCLUDE "audio/sfx/sfx_1f_55.asm" -INCLUDE "audio/sfx/sfx_1f_5e.asm" -INCLUDE "audio/sfx/sfx_1f_5f.asm" -INCLUDE "audio/sfx/sfx_1f_60.asm" -INCLUDE "audio/sfx/sfx_1f_61.asm" -INCLUDE "audio/sfx/sfx_1f_62.asm" -INCLUDE "audio/sfx/sfx_1f_63.asm" -INCLUDE "audio/sfx/sfx_1f_64.asm" -INCLUDE "audio/sfx/sfx_1f_65.asm" -INCLUDE "audio/sfx/sfx_1f_66.asm" -INCLUDE "audio/sfx/sfx_1f_67.asm" +INCLUDE "audio/sfx/start_menu_3.asm" +INCLUDE "audio/sfx/cut_3.asm" +INCLUDE "audio/sfx/go_inside_3.asm" +INCLUDE "audio/sfx/swap_3.asm" +INCLUDE "audio/sfx/tink_3.asm" +INCLUDE "audio/sfx/59_3.asm" +INCLUDE "audio/sfx/purchase_3.asm" +INCLUDE "audio/sfx/collision_3.asm" +INCLUDE "audio/sfx/go_outside_3.asm" +INCLUDE "audio/sfx/press_ab_3.asm" +INCLUDE "audio/sfx/save_3.asm" +INCLUDE "audio/sfx/heal_hp_3.asm" +INCLUDE "audio/sfx/poisoned_3.asm" +INCLUDE "audio/sfx/heal_ailment_3.asm" +INCLUDE "audio/sfx/trade_machine_3.asm" +INCLUDE "audio/sfx/turn_on_pc_3.asm" +INCLUDE "audio/sfx/turn_off_pc_3.asm" +INCLUDE "audio/sfx/enter_pc_3.asm" +INCLUDE "audio/sfx/shrink_3.asm" +INCLUDE "audio/sfx/switch_3.asm" +INCLUDE "audio/sfx/healing_machine_3.asm" +INCLUDE "audio/sfx/teleport_exit1_3.asm" +INCLUDE "audio/sfx/teleport_enter1_3.asm" +INCLUDE "audio/sfx/teleport_exit2_3.asm" +INCLUDE "audio/sfx/ledge_3.asm" +INCLUDE "audio/sfx/teleport_enter2_3.asm" +INCLUDE "audio/sfx/fly_3.asm" +INCLUDE "audio/sfx/denied_3.asm" +INCLUDE "audio/sfx/arrow_tiles_3.asm" +INCLUDE "audio/sfx/push_boulder_3.asm" +INCLUDE "audio/sfx/ss_anne_horn_3.asm" +INCLUDE "audio/sfx/withdraw_deposit_3.asm" +INCLUDE "audio/sfx/intro_lunge.asm" +INCLUDE "audio/sfx/intro_hip.asm" +INCLUDE "audio/sfx/intro_hop.asm" +INCLUDE "audio/sfx/intro_raise.asm" +INCLUDE "audio/sfx/intro_crash.asm" +INCLUDE "audio/sfx/intro_whoosh.asm" +INCLUDE "audio/sfx/slots_stop_wheel.asm" +INCLUDE "audio/sfx/slots_reward.asm" +INCLUDE "audio/sfx/slots_new_spin.asm" +INCLUDE "audio/sfx/shooting_star.asm" INCLUDE "audio/sfx/sfx_1f_unused.asm" -INCLUDE "audio/sfx/sfx_1f_1d.asm" -INCLUDE "audio/sfx/sfx_1f_37.asm" -INCLUDE "audio/sfx/sfx_1f_38.asm" -INCLUDE "audio/sfx/sfx_1f_25.asm" -INCLUDE "audio/sfx/sfx_1f_39.asm" -INCLUDE "audio/sfx/sfx_1f_17.asm" -INCLUDE "audio/sfx/sfx_1f_23.asm" -INCLUDE "audio/sfx/sfx_1f_24.asm" -INCLUDE "audio/sfx/sfx_1f_14.asm" -INCLUDE "audio/sfx/sfx_1f_22.asm" -INCLUDE "audio/sfx/sfx_1f_1a.asm" -INCLUDE "audio/sfx/sfx_1f_1b.asm" -INCLUDE "audio/sfx/sfx_1f_19.asm" -INCLUDE "audio/sfx/sfx_1f_1f.asm" -INCLUDE "audio/sfx/sfx_1f_20.asm" -INCLUDE "audio/sfx/sfx_1f_16.asm" -INCLUDE "audio/sfx/sfx_1f_21.asm" -INCLUDE "audio/sfx/sfx_1f_15.asm" -INCLUDE "audio/sfx/sfx_1f_1e.asm" -INCLUDE "audio/sfx/sfx_1f_1c.asm" -INCLUDE "audio/sfx/sfx_1f_18.asm" -INCLUDE "audio/sfx/sfx_1f_2d.asm" -INCLUDE "audio/sfx/sfx_1f_2a.asm" -INCLUDE "audio/sfx/sfx_1f_2f.asm" -INCLUDE "audio/sfx/sfx_1f_26.asm" -INCLUDE "audio/sfx/sfx_1f_27.asm" -INCLUDE "audio/sfx/sfx_1f_28.asm" -INCLUDE "audio/sfx/sfx_1f_32.asm" -INCLUDE "audio/sfx/sfx_1f_29.asm" -INCLUDE "audio/sfx/sfx_1f_2b.asm" -INCLUDE "audio/sfx/sfx_1f_30.asm" -INCLUDE "audio/sfx/sfx_1f_2e.asm" -INCLUDE "audio/sfx/sfx_1f_31.asm" -INCLUDE "audio/sfx/sfx_1f_2c.asm" -INCLUDE "audio/sfx/sfx_1f_33.asm" -INCLUDE "audio/sfx/sfx_1f_34.asm" -INCLUDE "audio/sfx/sfx_1f_35.asm" -INCLUDE "audio/sfx/sfx_1f_36.asm" +INCLUDE "audio/sfx/cry09_3.asm" +INCLUDE "audio/sfx/cry23_3.asm" +INCLUDE "audio/sfx/cry24_3.asm" +INCLUDE "audio/sfx/cry11_3.asm" +INCLUDE "audio/sfx/cry25_3.asm" +INCLUDE "audio/sfx/cry03_3.asm" +INCLUDE "audio/sfx/cry0f_3.asm" +INCLUDE "audio/sfx/cry10_3.asm" +INCLUDE "audio/sfx/cry00_3.asm" +INCLUDE "audio/sfx/cry0e_3.asm" +INCLUDE "audio/sfx/cry06_3.asm" +INCLUDE "audio/sfx/cry07_3.asm" +INCLUDE "audio/sfx/cry05_3.asm" +INCLUDE "audio/sfx/cry0b_3.asm" +INCLUDE "audio/sfx/cry0c_3.asm" +INCLUDE "audio/sfx/cry02_3.asm" +INCLUDE "audio/sfx/cry0d_3.asm" +INCLUDE "audio/sfx/cry01_3.asm" +INCLUDE "audio/sfx/cry0a_3.asm" +INCLUDE "audio/sfx/cry08_3.asm" +INCLUDE "audio/sfx/cry04_3.asm" +INCLUDE "audio/sfx/cry19_3.asm" +INCLUDE "audio/sfx/cry16_3.asm" +INCLUDE "audio/sfx/cry1b_3.asm" +INCLUDE "audio/sfx/cry12_3.asm" +INCLUDE "audio/sfx/cry13_3.asm" +INCLUDE "audio/sfx/cry14_3.asm" +INCLUDE "audio/sfx/cry1e_3.asm" +INCLUDE "audio/sfx/cry15_3.asm" +INCLUDE "audio/sfx/cry17_3.asm" +INCLUDE "audio/sfx/cry1c_3.asm" +INCLUDE "audio/sfx/cry1a_3.asm" +INCLUDE "audio/sfx/cry1d_3.asm" +INCLUDE "audio/sfx/cry18_3.asm" +INCLUDE "audio/sfx/cry1f_3.asm" +INCLUDE "audio/sfx/cry20_3.asm" +INCLUDE "audio/sfx/cry21_3.asm" +INCLUDE "audio/sfx/cry22_3.asm" @@ -585,13 +585,13 @@ PlayPokedexRatingSfx:: ; 7d13b (1f:513b) jp PlayDefaultMusic PokedexRatingSfxPointers: ; 7d162 (1f:5162) - db SFX_DENIED, BANK(SFX_1f_51) - db SFX_POKEDEX_RATING, BANK(SFX_02_41) - db SFX_GET_ITEM_1, BANK(SFX_02_3a) - db SFX_CAUGHT_MON, BANK(SFX_08_46) - db SFX_LEVEL_UP, BANK(SFX_08_3a) - db SFX_GET_KEY_ITEM, BANK(SFX_02_42) - db SFX_GET_ITEM_2, BANK(SFX_02_3b) + db SFX_DENIED, BANK(SFX_Denied_3) + db SFX_POKEDEX_RATING, BANK(SFX_Pokedex_Rating_1) + db SFX_GET_ITEM_1, BANK(SFX_Get_Item1_1) + db SFX_CAUGHT_MON, BANK(SFX_Caught_Mon) + db SFX_LEVEL_UP, BANK(SFX_Level_Up) + db SFX_GET_KEY_ITEM, BANK(SFX_Get_Key_Item_1) + db SFX_GET_ITEM_2, BANK(SFX_Get_Item2_1) OwnedMonValues: ; 7d170 (1f:5170) db 10, 40, 60, 90, 120, 150, $ff @@ -612,13 +612,13 @@ INCLUDE "audio/music/indigoplateau.asm" INCLUDE "audio/music/pallettown.asm" INCLUDE "audio/music/unusedsong.asm" INCLUDE "audio/music/cities1.asm" -INCLUDE "audio/sfx/sfx_02_3a.asm" +INCLUDE "audio/sfx/get_item1_1.asm" INCLUDE "audio/music/museumguy.asm" INCLUDE "audio/music/meetprofoak.asm" INCLUDE "audio/music/meetrival.asm" -INCLUDE "audio/sfx/sfx_02_41.asm" -INCLUDE "audio/sfx/sfx_02_3b.asm" -INCLUDE "audio/sfx/sfx_02_42.asm" +INCLUDE "audio/sfx/pokedex_rating_1.asm" +INCLUDE "audio/sfx/get_item2_1.asm" +INCLUDE "audio/sfx/get_key_item_1.asm" INCLUDE "audio/music/ssanne.asm" INCLUDE "audio/music/cities2.asm" INCLUDE "audio/music/celadon.asm" @@ -638,9 +638,9 @@ INCLUDE "audio/music/gymleaderbattle.asm" INCLUDE "audio/music/trainerbattle.asm" INCLUDE "audio/music/wildbattle.asm" INCLUDE "audio/music/finalbattle.asm" -INCLUDE "audio/sfx/sfx_08_3a.asm" -INCLUDE "audio/sfx/sfx_08_3b.asm" -INCLUDE "audio/sfx/sfx_08_46.asm" +INCLUDE "audio/sfx/level_up.asm" +INCLUDE "audio/sfx/get_item2_2.asm" +INCLUDE "audio/sfx/caught_mon.asm" INCLUDE "audio/music/defeatedtrainer.asm" INCLUDE "audio/music/defeatedwildmon.asm" INCLUDE "audio/music/defeatedgymleader.asm" @@ -652,13 +652,13 @@ INCLUDE "audio/music/bikeriding.asm" INCLUDE "audio/music/dungeon1.asm" INCLUDE "audio/music/gamecorner.asm" INCLUDE "audio/music/titlescreen.asm" -INCLUDE "audio/sfx/sfx_1f_3a.asm" +INCLUDE "audio/sfx/get_item1_3.asm" INCLUDE "audio/music/dungeon2.asm" INCLUDE "audio/music/dungeon3.asm" INCLUDE "audio/music/cinnabarmansion.asm" -INCLUDE "audio/sfx/sfx_1f_41.asm" -INCLUDE "audio/sfx/sfx_1f_3b.asm" -INCLUDE "audio/sfx/sfx_1f_42.asm" +INCLUDE "audio/sfx/pokedex_rating_3.asm" +INCLUDE "audio/sfx/get_item2_3.asm" +INCLUDE "audio/sfx/get_key_item_3.asm" INCLUDE "audio/music/oakslab.asm" INCLUDE "audio/music/pokemontower.asm" INCLUDE "audio/music/silphco.asm" diff --git a/audio/headers/sfxheaders02.asm b/audio/headers/sfxheaders02.asm old mode 100755 new mode 100644 index b5cff17a..86fca297 --- a/audio/headers/sfxheaders02.asm +++ b/audio/headers/sfxheaders02.asm @@ -1,562 +1,562 @@ SFX_Headers_02:: db $ff, $ff, $ff ; padding -SFX_02_01:: ; 8003 (2:4003) +SFX_Snare1_1:: ; 8003 (2:4003) db CH7 - dw SFX_02_01_Ch1 + dw SFX_Snare1_1_Ch1 -SFX_02_02:: ; 8006 (2:4006) +SFX_Snare2_1:: ; 8006 (2:4006) db CH7 - dw SFX_02_02_Ch1 + dw SFX_Snare2_1_Ch1 -SFX_02_03:: ; 8009 (2:4009) +SFX_Snare3_1:: ; 8009 (2:4009) db CH7 - dw SFX_02_03_Ch1 + dw SFX_Snare3_1_Ch1 -SFX_02_04:: ; 800c (2:400c) +SFX_Snare4_1:: ; 800c (2:400c) db CH7 - dw SFX_02_04_Ch1 + dw SFX_Snare4_1_Ch1 -SFX_02_05:: ; 800f (2:400f) +SFX_Snare5_1:: ; 800f (2:400f) db CH7 - dw SFX_02_05_Ch1 + dw SFX_Snare5_1_Ch1 -SFX_02_06:: ; 8012 (2:4012) +SFX_Triangle1_1:: ; 8012 (2:4012) db CH7 - dw SFX_02_06_Ch1 + dw SFX_Triangle1_1_Ch1 -SFX_02_07:: ; 8015 (2:4015) +SFX_Triangle2_1:: ; 8015 (2:4015) db CH7 - dw SFX_02_07_Ch1 + dw SFX_Triangle2_1_Ch1 -SFX_02_08:: ; 8018 (2:4018) +SFX_Snare6_1:: ; 8018 (2:4018) db CH7 - dw SFX_02_08_Ch1 + dw SFX_Snare6_1_Ch1 -SFX_02_09:: ; 801b (2:401b) +SFX_Snare7_1:: ; 801b (2:401b) db CH7 - dw SFX_02_09_Ch1 + dw SFX_Snare7_1_Ch1 -SFX_02_0a:: ; 801e (2:401e) +SFX_Snare8_1:: ; 801e (2:401e) db CH7 - dw SFX_02_0a_Ch1 + dw SFX_Snare8_1_Ch1 -SFX_02_0b:: ; 8021 (2:4021) +SFX_Snare9_1:: ; 8021 (2:4021) db CH7 - dw SFX_02_0b_Ch1 + dw SFX_Snare9_1_Ch1 -SFX_02_0c:: ; 8024 (2:4024) +SFX_Cymbal1_1:: ; 8024 (2:4024) db CH7 - dw SFX_02_0c_Ch1 + dw SFX_Cymbal1_1_Ch1 -SFX_02_0d:: ; 8027 (2:4027) +SFX_Cymbal2_1:: ; 8027 (2:4027) db CH7 - dw SFX_02_0d_Ch1 + dw SFX_Cymbal2_1_Ch1 -SFX_02_0e:: ; 802a (2:402a) +SFX_Cymbal3_1:: ; 802a (2:402a) db CH7 - dw SFX_02_0e_Ch1 + dw SFX_Cymbal3_1_Ch1 -SFX_02_0f:: ; 802d (2:402d) +SFX_Muted_Snare1_1:: ; 802d (2:402d) db CH7 - dw SFX_02_0f_Ch1 + dw SFX_Muted_Snare1_1_Ch1 -SFX_02_10:: ; 8030 (2:4030) +SFX_Triangle3_1:: ; 8030 (2:4030) db CH7 - dw SFX_02_10_Ch1 + dw SFX_Triangle3_1_Ch1 -SFX_02_11:: ; 8033 (2:4033) +SFX_Muted_Snare2_1:: ; 8033 (2:4033) db CH7 - dw SFX_02_11_Ch1 + dw SFX_Muted_Snare2_1_Ch1 -SFX_02_12:: ; 8036 (2:4036) +SFX_Muted_Snare3_1:: ; 8036 (2:4036) db CH7 - dw SFX_02_12_Ch1 + dw SFX_Muted_Snare3_1_Ch1 -SFX_02_13:: ; 8039 (2:4039) +SFX_Muted_Snare4_1:: ; 8039 (2:4039) db CH7 - dw SFX_02_13_Ch1 + dw SFX_Muted_Snare4_1_Ch1 -SFX_02_14:: ; 803c (2:403c) +SFX_Cry00_1:: ; 803c (2:403c) db ( $80 | CH4 ) - dw SFX_02_14_Ch1 + dw SFX_Cry00_1_Ch1 db CH5 - dw SFX_02_14_Ch2 + dw SFX_Cry00_1_Ch2 db CH7 - dw SFX_02_14_Ch3 + dw SFX_Cry00_1_Ch3 -SFX_02_15:: ; 8045 (2:4045) +SFX_Cry01_1:: ; 8045 (2:4045) db ( $80 | CH4 ) - dw SFX_02_15_Ch1 + dw SFX_Cry01_1_Ch1 db CH5 - dw SFX_02_15_Ch2 + dw SFX_Cry01_1_Ch2 db CH7 - dw SFX_02_15_Ch3 + dw SFX_Cry01_1_Ch3 -SFX_02_16:: ; 804e (2:404e) +SFX_Cry02_1:: ; 804e (2:404e) db ( $80 | CH4 ) - dw SFX_02_16_Ch1 + dw SFX_Cry02_1_Ch1 db CH5 - dw SFX_02_16_Ch2 + dw SFX_Cry02_1_Ch2 db CH7 - dw SFX_02_16_Ch3 + dw SFX_Cry02_1_Ch3 -SFX_02_17:: ; 8057 (2:4057) +SFX_Cry03_1:: ; 8057 (2:4057) db ( $80 | CH4 ) - dw SFX_02_17_Ch1 + dw SFX_Cry03_1_Ch1 db CH5 - dw SFX_02_17_Ch2 + dw SFX_Cry03_1_Ch2 db CH7 - dw SFX_02_17_Ch3 + dw SFX_Cry03_1_Ch3 -SFX_02_18:: ; 8060 (2:4060) +SFX_Cry04_1:: ; 8060 (2:4060) db ( $80 | CH4 ) - dw SFX_02_18_Ch1 + dw SFX_Cry04_1_Ch1 db CH5 - dw SFX_02_18_Ch2 + dw SFX_Cry04_1_Ch2 db CH7 - dw SFX_02_18_Ch3 + dw SFX_Cry04_1_Ch3 -SFX_02_19:: ; 8069 (2:4069) +SFX_Cry05_1:: ; 8069 (2:4069) db ( $80 | CH4 ) - dw SFX_02_19_Ch1 + dw SFX_Cry05_1_Ch1 db CH5 - dw SFX_02_19_Ch2 + dw SFX_Cry05_1_Ch2 db CH7 - dw SFX_02_19_Ch3 + dw SFX_Cry05_1_Ch3 -SFX_02_1a:: ; 8072 (2:4072) +SFX_Cry06_1:: ; 8072 (2:4072) db ( $80 | CH4 ) - dw SFX_02_1a_Ch1 + dw SFX_Cry06_1_Ch1 db CH5 - dw SFX_02_1a_Ch2 + dw SFX_Cry06_1_Ch2 db CH7 - dw SFX_02_1a_Ch3 + dw SFX_Cry06_1_Ch3 -SFX_02_1b:: ; 807b (2:407b) +SFX_Cry07_1:: ; 807b (2:407b) db ( $80 | CH4 ) - dw SFX_02_1b_Ch1 + dw SFX_Cry07_1_Ch1 db CH5 - dw SFX_02_1b_Ch2 + dw SFX_Cry07_1_Ch2 db CH7 - dw SFX_02_1b_Ch3 + dw SFX_Cry07_1_Ch3 -SFX_02_1c:: ; 8084 (2:4084) +SFX_Cry08_1:: ; 8084 (2:4084) db ( $80 | CH4 ) - dw SFX_02_1c_Ch1 + dw SFX_Cry08_1_Ch1 db CH5 - dw SFX_02_1c_Ch2 + dw SFX_Cry08_1_Ch2 db CH7 - dw SFX_02_1c_Ch3 + dw SFX_Cry08_1_Ch3 -SFX_02_1d:: ; 808d (2:408d) +SFX_Cry09_1:: ; 808d (2:408d) db ( $80 | CH4 ) - dw SFX_02_1d_Ch1 + dw SFX_Cry09_1_Ch1 db CH5 - dw SFX_02_1d_Ch2 + dw SFX_Cry09_1_Ch2 db CH7 - dw SFX_02_1d_Ch3 + dw SFX_Cry09_1_Ch3 -SFX_02_1e:: ; 8096 (2:4096) +SFX_Cry0A_1:: ; 8096 (2:4096) db ( $80 | CH4 ) - dw SFX_02_1e_Ch1 + dw SFX_Cry0A_1_Ch1 db CH5 - dw SFX_02_1e_Ch2 + dw SFX_Cry0A_1_Ch2 db CH7 - dw SFX_02_1e_Ch3 + dw SFX_Cry0A_1_Ch3 -SFX_02_1f:: ; 809f (2:409f) +SFX_Cry0B_1:: ; 809f (2:409f) db ( $80 | CH4 ) - dw SFX_02_1f_Ch1 + dw SFX_Cry0B_1_Ch1 db CH5 - dw SFX_02_1f_Ch2 + dw SFX_Cry0B_1_Ch2 db CH7 - dw SFX_02_1f_Ch3 + dw SFX_Cry0B_1_Ch3 -SFX_02_20:: ; 80a8 (2:40a8) +SFX_Cry0C_1:: ; 80a8 (2:40a8) db ( $80 | CH4 ) - dw SFX_02_20_Ch1 + dw SFX_Cry0C_1_Ch1 db CH5 - dw SFX_02_20_Ch2 + dw SFX_Cry0C_1_Ch2 db CH7 - dw SFX_02_20_Ch3 + dw SFX_Cry0C_1_Ch3 -SFX_02_21:: ; 80b1 (2:40b1) +SFX_Cry0D_1:: ; 80b1 (2:40b1) db ( $80 | CH4 ) - dw SFX_02_21_Ch1 + dw SFX_Cry0D_1_Ch1 db CH5 - dw SFX_02_21_Ch2 + dw SFX_Cry0D_1_Ch2 db CH7 - dw SFX_02_21_Ch3 + dw SFX_Cry0D_1_Ch3 -SFX_02_22:: ; 80ba (2:40ba) +SFX_Cry0E_1:: ; 80ba (2:40ba) db ( $80 | CH4 ) - dw SFX_02_22_Ch1 + dw SFX_Cry0E_1_Ch1 db CH5 - dw SFX_02_22_Ch2 + dw SFX_Cry0E_1_Ch2 db CH7 - dw SFX_02_22_Ch3 + dw SFX_Cry0E_1_Ch3 -SFX_02_23:: ; 80c3 (2:40c3) +SFX_Cry0F_1:: ; 80c3 (2:40c3) db ( $80 | CH4 ) - dw SFX_02_23_Ch1 + dw SFX_Cry0F_1_Ch1 db CH5 - dw SFX_02_23_Ch2 + dw SFX_Cry0F_1_Ch2 db CH7 - dw SFX_02_23_Ch3 + dw SFX_Cry0F_1_Ch3 -SFX_02_24:: ; 80cc (2:40cc) +SFX_Cry10_1:: ; 80cc (2:40cc) db ( $80 | CH4 ) - dw SFX_02_24_Ch1 + dw SFX_Cry10_1_Ch1 db CH5 - dw SFX_02_24_Ch2 + dw SFX_Cry10_1_Ch2 db CH7 - dw SFX_02_24_Ch3 + dw SFX_Cry10_1_Ch3 -SFX_02_25:: ; 80d5 (2:40d5) +SFX_Cry11_1:: ; 80d5 (2:40d5) db ( $80 | CH4 ) - dw SFX_02_25_Ch1 + dw SFX_Cry11_1_Ch1 db CH5 - dw SFX_02_25_Ch2 + dw SFX_Cry11_1_Ch2 db CH7 - dw SFX_02_25_Ch3 + dw SFX_Cry11_1_Ch3 -SFX_02_26:: ; 80de (2:40de) +SFX_Cry12_1:: ; 80de (2:40de) db ( $80 | CH4 ) - dw SFX_02_26_Ch1 + dw SFX_Cry12_1_Ch1 db CH5 - dw SFX_02_26_Ch2 + dw SFX_Cry12_1_Ch2 db CH7 - dw SFX_02_26_Ch3 + dw SFX_Cry12_1_Ch3 -SFX_02_27:: ; 80e7 (2:40e7) +SFX_Cry13_1:: ; 80e7 (2:40e7) db ( $80 | CH4 ) - dw SFX_02_27_Ch1 + dw SFX_Cry13_1_Ch1 db CH5 - dw SFX_02_27_Ch2 + dw SFX_Cry13_1_Ch2 db CH7 - dw SFX_02_27_Ch3 + dw SFX_Cry13_1_Ch3 -SFX_02_28:: ; 80f0 (2:40f0) +SFX_Cry14_1:: ; 80f0 (2:40f0) db ( $80 | CH4 ) - dw SFX_02_28_Ch1 + dw SFX_Cry14_1_Ch1 db CH5 - dw SFX_02_28_Ch2 + dw SFX_Cry14_1_Ch2 db CH7 - dw SFX_02_28_Ch3 + dw SFX_Cry14_1_Ch3 -SFX_02_29:: ; 80f9 (2:40f9) +SFX_Cry15_1:: ; 80f9 (2:40f9) db ( $80 | CH4 ) - dw SFX_02_29_Ch1 + dw SFX_Cry15_1_Ch1 db CH5 - dw SFX_02_29_Ch2 + dw SFX_Cry15_1_Ch2 db CH7 - dw SFX_02_29_Ch3 + dw SFX_Cry15_1_Ch3 -SFX_02_2a:: ; 8102 (2:4102) +SFX_Cry16_1:: ; 8102 (2:4102) db ( $80 | CH4 ) - dw SFX_02_2a_Ch1 + dw SFX_Cry16_1_Ch1 db CH5 - dw SFX_02_2a_Ch2 + dw SFX_Cry16_1_Ch2 db CH7 - dw SFX_02_2a_Ch3 + dw SFX_Cry16_1_Ch3 -SFX_02_2b:: ; 810b (2:410b) +SFX_Cry17_1:: ; 810b (2:410b) db ( $80 | CH4 ) - dw SFX_02_2b_Ch1 + dw SFX_Cry17_1_Ch1 db CH5 - dw SFX_02_2b_Ch2 + dw SFX_Cry17_1_Ch2 db CH7 - dw SFX_02_2b_Ch3 + dw SFX_Cry17_1_Ch3 -SFX_02_2c:: ; 8114 (2:4114) +SFX_Cry18_1:: ; 8114 (2:4114) db ( $80 | CH4 ) - dw SFX_02_2c_Ch1 + dw SFX_Cry18_1_Ch1 db CH5 - dw SFX_02_2c_Ch2 + dw SFX_Cry18_1_Ch2 db CH7 - dw SFX_02_2c_Ch3 + dw SFX_Cry18_1_Ch3 -SFX_02_2d:: ; 811d (2:411d) +SFX_Cry19_1:: ; 811d (2:411d) db ( $80 | CH4 ) - dw SFX_02_2d_Ch1 + dw SFX_Cry19_1_Ch1 db CH5 - dw SFX_02_2d_Ch2 + dw SFX_Cry19_1_Ch2 db CH7 - dw SFX_02_2d_Ch3 + dw SFX_Cry19_1_Ch3 -SFX_02_2e:: ; 8126 (2:4126) +SFX_Cry1A_1:: ; 8126 (2:4126) db ( $80 | CH4 ) - dw SFX_02_2e_Ch1 + dw SFX_Cry1A_1_Ch1 db CH5 - dw SFX_02_2e_Ch2 + dw SFX_Cry1A_1_Ch2 db CH7 - dw SFX_02_2e_Ch3 + dw SFX_Cry1A_1_Ch3 -SFX_02_2f:: ; 812f (2:412f) +SFX_Cry1B_1:: ; 812f (2:412f) db ( $80 | CH4 ) - dw SFX_02_2f_Ch1 + dw SFX_Cry1B_1_Ch1 db CH5 - dw SFX_02_2f_Ch2 + dw SFX_Cry1B_1_Ch2 db CH7 - dw SFX_02_2f_Ch3 + dw SFX_Cry1B_1_Ch3 -SFX_02_30:: ; 8138 (2:4138) +SFX_Cry1C_1:: ; 8138 (2:4138) db ( $80 | CH4 ) - dw SFX_02_30_Ch1 + dw SFX_Cry1C_1_Ch1 db CH5 - dw SFX_02_30_Ch2 + dw SFX_Cry1C_1_Ch2 db CH7 - dw SFX_02_30_Ch3 + dw SFX_Cry1C_1_Ch3 -SFX_02_31:: ; 8141 (2:4141) +SFX_Cry1D_1:: ; 8141 (2:4141) db ( $80 | CH4 ) - dw SFX_02_31_Ch1 + dw SFX_Cry1D_1_Ch1 db CH5 - dw SFX_02_31_Ch2 + dw SFX_Cry1D_1_Ch2 db CH7 - dw SFX_02_31_Ch3 + dw SFX_Cry1D_1_Ch3 -SFX_02_32:: ; 814a (2:414a) +SFX_Cry1E_1:: ; 814a (2:414a) db ( $80 | CH4 ) - dw SFX_02_32_Ch1 + dw SFX_Cry1E_1_Ch1 db CH5 - dw SFX_02_32_Ch2 + dw SFX_Cry1E_1_Ch2 db CH7 - dw SFX_02_32_Ch3 + dw SFX_Cry1E_1_Ch3 -SFX_02_33:: ; 8153 (2:4153) +SFX_Cry1F_1:: ; 8153 (2:4153) db ( $80 | CH4 ) - dw SFX_02_33_Ch1 + dw SFX_Cry1F_1_Ch1 db CH5 - dw SFX_02_33_Ch2 + dw SFX_Cry1F_1_Ch2 db CH7 - dw SFX_02_33_Ch3 + dw SFX_Cry1F_1_Ch3 -SFX_02_34:: ; 815c (2:415c) +SFX_Cry20_1:: ; 815c (2:415c) db ( $80 | CH4 ) - dw SFX_02_34_Ch1 + dw SFX_Cry20_1_Ch1 db CH5 - dw SFX_02_34_Ch2 + dw SFX_Cry20_1_Ch2 db CH7 - dw SFX_02_34_Ch3 + dw SFX_Cry20_1_Ch3 -SFX_02_35:: ; 8165 (2:4165) +SFX_Cry21_1:: ; 8165 (2:4165) db ( $80 | CH4 ) - dw SFX_02_35_Ch1 + dw SFX_Cry21_1_Ch1 db CH5 - dw SFX_02_35_Ch2 + dw SFX_Cry21_1_Ch2 db CH7 - dw SFX_02_35_Ch3 + dw SFX_Cry21_1_Ch3 -SFX_02_36:: ; 816e (2:416e) +SFX_Cry22_1:: ; 816e (2:416e) db ( $80 | CH4 ) - dw SFX_02_36_Ch1 + dw SFX_Cry22_1_Ch1 db CH5 - dw SFX_02_36_Ch2 + dw SFX_Cry22_1_Ch2 db CH7 - dw SFX_02_36_Ch3 + dw SFX_Cry22_1_Ch3 -SFX_02_37:: ; 8177 (2:4177) +SFX_Cry23_1:: ; 8177 (2:4177) db ( $80 | CH4 ) - dw SFX_02_37_Ch1 + dw SFX_Cry23_1_Ch1 db CH5 - dw SFX_02_37_Ch2 + dw SFX_Cry23_1_Ch2 db CH7 - dw SFX_02_37_Ch3 + dw SFX_Cry23_1_Ch3 -SFX_02_38:: ; 8180 (2:4180) +SFX_Cry24_1:: ; 8180 (2:4180) db ( $80 | CH4 ) - dw SFX_02_38_Ch1 + dw SFX_Cry24_1_Ch1 db CH5 - dw SFX_02_38_Ch2 + dw SFX_Cry24_1_Ch2 db CH7 - dw SFX_02_38_Ch3 + dw SFX_Cry24_1_Ch3 -SFX_02_39:: ; 8189 (2:4189) +SFX_Cry25_1:: ; 8189 (2:4189) db ( $80 | CH4 ) - dw SFX_02_39_Ch1 + dw SFX_Cry25_1_Ch1 db CH5 - dw SFX_02_39_Ch2 + dw SFX_Cry25_1_Ch2 db CH7 - dw SFX_02_39_Ch3 + dw SFX_Cry25_1_Ch3 -SFX_02_3a:: ; 8192 (2:4192) +SFX_Get_Item1_1:: ; 8192 (2:4192) db ( $80 | CH4 ) - dw SFX_02_3a_Ch1 + dw SFX_Get_Item1_1_Ch1 db CH5 - dw SFX_02_3a_Ch2 + dw SFX_Get_Item1_1_Ch2 db CH6 - dw SFX_02_3a_Ch3 + dw SFX_Get_Item1_1_Ch3 -SFX_02_3b:: ; 819b (2:419b) +SFX_Get_Item2_1:: ; 819b (2:419b) db ( $80 | CH4 ) - dw SFX_02_3b_Ch1 + dw SFX_Get_Item2_1_Ch1 db CH5 - dw SFX_02_3b_Ch2 + dw SFX_Get_Item2_1_Ch2 db CH6 - dw SFX_02_3b_Ch3 + dw SFX_Get_Item2_1_Ch3 -SFX_02_3c:: ; 81a4 (2:41a4) +SFX_Tink_1:: ; 81a4 (2:41a4) db CH4 - dw SFX_02_3c_Ch1 + dw SFX_Tink_1_Ch1 -SFX_02_3d:: ; 81a7 (2:41a7) +SFX_Heal_HP_1:: ; 81a7 (2:41a7) db CH4 - dw SFX_02_3d_Ch1 + dw SFX_Heal_HP_1_Ch1 -SFX_02_3e:: ; 81aa (2:41aa) +SFX_Heal_Ailment_1:: ; 81aa (2:41aa) db CH4 - dw SFX_02_3e_Ch1 + dw SFX_Heal_Ailment_1_Ch1 -SFX_02_3f:: ; 81ad (2:41ad) +SFX_Start_Menu_1:: ; 81ad (2:41ad) db CH7 - dw SFX_02_3f_Ch1 + dw SFX_Start_Menu_1_Ch1 -SFX_02_40:: ; 81b0 (2:41b0) +SFX_Press_AB_1:: ; 81b0 (2:41b0) db CH4 - dw SFX_02_40_Ch1 + dw SFX_Press_AB_1_Ch1 -SFX_02_41:: ; 81b3 (2:41b3) +SFX_Pokedex_Rating_1:: ; 81b3 (2:41b3) db ( $80 | CH4 ) - dw SFX_02_41_Ch1 + dw SFX_Pokedex_Rating_1_Ch1 db CH5 - dw SFX_02_41_Ch2 + dw SFX_Pokedex_Rating_1_Ch2 db CH6 - dw SFX_02_41_Ch3 + dw SFX_Pokedex_Rating_1_Ch3 -SFX_02_42:: ; 81bc (2:41bc) +SFX_Get_Key_Item_1:: ; 81bc (2:41bc) db ( $80 | CH4 ) - dw SFX_02_42_Ch1 + dw SFX_Get_Key_Item_1_Ch1 db CH5 - dw SFX_02_42_Ch2 + dw SFX_Get_Key_Item_1_Ch2 db CH6 - dw SFX_02_42_Ch3 + dw SFX_Get_Key_Item_1_Ch3 -SFX_02_43:: ; 81c5 (2:41c5) +SFX_Poisoned_1:: ; 81c5 (2:41c5) db CH4 - dw SFX_02_43_Ch1 + dw SFX_Poisoned_1_Ch1 -SFX_02_44:: ; 81c8 (2:41c8) +SFX_Trade_Machine_1:: ; 81c8 (2:41c8) db CH4 - dw SFX_02_44_Ch1 + dw SFX_Trade_Machine_1_Ch1 -SFX_02_45:: ; 81cb (2:41cb) +SFX_Turn_On_PC_1:: ; 81cb (2:41cb) db CH4 - dw SFX_02_45_Ch1 + dw SFX_Turn_On_PC_1_Ch1 -SFX_02_46:: ; 81ce (2:41ce) +SFX_Turn_Off_PC_1:: ; 81ce (2:41ce) db CH4 - dw SFX_02_46_Ch1 + dw SFX_Turn_Off_PC_1_Ch1 -SFX_02_47:: ; 81d1 (2:41d1) +SFX_Enter_PC_1:: ; 81d1 (2:41d1) db CH4 - dw SFX_02_47_Ch1 + dw SFX_Enter_PC_1_Ch1 -SFX_02_48:: ; 81d4 (2:41d4) +SFX_Shrink_1:: ; 81d4 (2:41d4) db CH4 - dw SFX_02_48_Ch1 + dw SFX_Shrink_1_Ch1 -SFX_02_49:: ; 81d7 (2:41d7) +SFX_Switch_1:: ; 81d7 (2:41d7) db CH4 - dw SFX_02_49_Ch1 + dw SFX_Switch_1_Ch1 -SFX_02_4a:: ; 81da (2:41da) +SFX_Healing_Machine_1:: ; 81da (2:41da) db CH4 - dw SFX_02_4a_Ch1 + dw SFX_Healing_Machine_1_Ch1 -SFX_02_4b:: ; 81dd (2:41dd) +SFX_Teleport_Exit1_1:: ; 81dd (2:41dd) db CH4 - dw SFX_02_4b_Ch1 + dw SFX_Teleport_Exit1_1_Ch1 -SFX_02_4c:: ; 81e0 (2:41e0) +SFX_Teleport_Enter1_1:: ; 81e0 (2:41e0) db CH4 - dw SFX_02_4c_Ch1 + dw SFX_Teleport_Enter1_1_Ch1 -SFX_02_4d:: ; 81e3 (2:41e3) +SFX_Teleport_Exit2_1:: ; 81e3 (2:41e3) db CH4 - dw SFX_02_4d_Ch1 + dw SFX_Teleport_Exit2_1_Ch1 -SFX_02_4e:: ; 81e6 (2:41e6) +SFX_Ledge_1:: ; 81e6 (2:41e6) db CH4 - dw SFX_02_4e_Ch1 + dw SFX_Ledge_1_Ch1 -SFX_02_4f:: ; 81e9 (2:41e9) +SFX_Teleport_Enter2_1:: ; 81e9 (2:41e9) db CH7 - dw SFX_02_4f_Ch1 + dw SFX_Teleport_Enter2_1_Ch1 -SFX_02_50:: ; 81ec (2:41ec) +SFX_Fly_1:: ; 81ec (2:41ec) db CH7 - dw SFX_02_50_Ch1 + dw SFX_Fly_1_Ch1 -SFX_02_51:: ; 81ef (2:41ef) +SFX_Denied_1:: ; 81ef (2:41ef) db ( $40 | CH4 ) - dw SFX_02_51_Ch1 + dw SFX_Denied_1_Ch1 db CH5 - dw SFX_02_51_Ch2 + dw SFX_Denied_1_Ch2 -SFX_02_52:: ; 81f5 (2:41f5) +SFX_Arrow_Tiles_1:: ; 81f5 (2:41f5) db CH4 - dw SFX_02_52_Ch1 + dw SFX_Arrow_Tiles_1_Ch1 -SFX_02_53:: ; 81f8 (2:41f8) +SFX_Push_Boulder_1:: ; 81f8 (2:41f8) db CH7 - dw SFX_02_53_Ch1 + dw SFX_Push_Boulder_1_Ch1 -SFX_02_54:: ; 81fb (2:41fb) +SFX_SS_Anne_Horn_1:: ; 81fb (2:41fb) db ( $40 | CH4 ) - dw SFX_02_54_Ch1 + dw SFX_SS_Anne_Horn_1_Ch1 db CH5 - dw SFX_02_54_Ch2 + dw SFX_SS_Anne_Horn_1_Ch2 -SFX_02_55:: ; 8201 (2:4201) +SFX_Withdraw_Deposit_1:: ; 8201 (2:4201) db CH4 - dw SFX_02_55_Ch1 + dw SFX_Withdraw_Deposit_1_Ch1 -SFX_02_56:: ; 8204 (2:4204) +SFX_Cut_1:: ; 8204 (2:4204) db CH7 - dw SFX_02_56_Ch1 + dw SFX_Cut_1_Ch1 -SFX_02_57:: ; 8207 (2:4207) +SFX_Go_Inside_1:: ; 8207 (2:4207) db CH7 - dw SFX_02_57_Ch1 + dw SFX_Go_Inside_1_Ch1 -SFX_02_58:: ; 820a (2:420a) +SFX_Swap_1:: ; 820a (2:420a) db ( $40 | CH4 ) - dw SFX_02_58_Ch1 + dw SFX_Swap_1_Ch1 db CH5 - dw SFX_02_58_Ch2 + dw SFX_Swap_1_Ch2 -SFX_02_59:: ; 8210 (2:4210) +SFX_59_1:: ; 8210 (2:4210) db ( $40 | CH4 ) - dw SFX_02_59_Ch1 + dw SFX_59_1_Ch1 db CH5 - dw SFX_02_59_Ch2 + dw SFX_59_1_Ch2 -SFX_02_5a:: ; 8216 (2:4216) +SFX_Purchase_1:: ; 8216 (2:4216) db ( $40 | CH4 ) - dw SFX_02_5a_Ch1 + dw SFX_Purchase_1_Ch1 db CH5 - dw SFX_02_5a_Ch2 + dw SFX_Purchase_1_Ch2 -SFX_02_5b:: ; 821c (2:421c) +SFX_Collision_1:: ; 821c (2:421c) db CH4 - dw SFX_02_5b_Ch1 + dw SFX_Collision_1_Ch1 -SFX_02_5c:: ; 821f (2:421f) +SFX_Go_Outside_1:: ; 821f (2:421f) db CH7 - dw SFX_02_5c_Ch1 + dw SFX_Go_Outside_1_Ch1 -SFX_02_5d:: ; 8222 (2:4222) +SFX_Save_1:: ; 8222 (2:4222) db ( $40 | CH4 ) - dw SFX_02_5d_Ch1 + dw SFX_Save_1_Ch1 db CH5 - dw SFX_02_5d_Ch2 + dw SFX_Save_1_Ch2 -SFX_02_5e:: ; 8228 (2:4228) +SFX_Pokeflute:: ; 8228 (2:4228) db CH2 - dw SFX_02_5e_Ch1 + dw SFX_Pokeflute_Ch1 -SFX_02_5f:: ; 822b (2:422b) +SFX_Safari_Zone_PA:: ; 822b (2:422b) db CH4 - dw SFX_02_5f_Ch1 + dw SFX_Safari_Zone_PA_Ch1 diff --git a/audio/headers/sfxheaders08.asm b/audio/headers/sfxheaders08.asm old mode 100755 new mode 100644 index 311c2877..46491e67 --- a/audio/headers/sfxheaders08.asm +++ b/audio/headers/sfxheaders08.asm @@ -1,706 +1,706 @@ SFX_Headers_08:: db $ff, $ff, $ff ; padding -SFX_08_01:: ; 20003 (8:4003) +SFX_Snare1_2:: ; 20003 (8:4003) db CH7 - dw SFX_08_01_Ch1 + dw SFX_Snare1_2_Ch1 -SFX_08_02:: ; 20006 (8:4006) +SFX_Snare2_2:: ; 20006 (8:4006) db CH7 - dw SFX_08_02_Ch1 + dw SFX_Snare2_2_Ch1 -SFX_08_03:: ; 20009 (8:4009) +SFX_Snare3_2:: ; 20009 (8:4009) db CH7 - dw SFX_08_03_Ch1 + dw SFX_Snare3_2_Ch1 -SFX_08_04:: ; 2000c (8:400c) +SFX_Snare4_2:: ; 2000c (8:400c) db CH7 - dw SFX_08_04_Ch1 + dw SFX_Snare4_2_Ch1 -SFX_08_05:: ; 2000f (8:400f) +SFX_Snare5_2:: ; 2000f (8:400f) db CH7 - dw SFX_08_05_Ch1 + dw SFX_Snare5_2_Ch1 -SFX_08_06:: ; 20012 (8:4012) +SFX_Triangle1_2:: ; 20012 (8:4012) db CH7 - dw SFX_08_06_Ch1 + dw SFX_Triangle1_2_Ch1 -SFX_08_07:: ; 20015 (8:4015) +SFX_Triangle2_2:: ; 20015 (8:4015) db CH7 - dw SFX_08_07_Ch1 + dw SFX_Triangle2_2_Ch1 -SFX_08_08:: ; 20018 (8:4018) +SFX_Snare6_2:: ; 20018 (8:4018) db CH7 - dw SFX_08_08_Ch1 + dw SFX_Snare6_2_Ch1 -SFX_08_09:: ; 2001b (8:401b) +SFX_Snare7_2:: ; 2001b (8:401b) db CH7 - dw SFX_08_09_Ch1 + dw SFX_Snare7_2_Ch1 -SFX_08_0a:: ; 2001e (8:401e) +SFX_Snare8_2:: ; 2001e (8:401e) db CH7 - dw SFX_08_0a_Ch1 + dw SFX_Snare8_2_Ch1 -SFX_08_0b:: ; 20021 (8:4021) +SFX_Snare9_2:: ; 20021 (8:4021) db CH7 - dw SFX_08_0b_Ch1 + dw SFX_Snare9_2_Ch1 -SFX_08_0c:: ; 20024 (8:4024) +SFX_Cymbal1_2:: ; 20024 (8:4024) db CH7 - dw SFX_08_0c_Ch1 + dw SFX_Cymbal1_2_Ch1 -SFX_08_0d:: ; 20027 (8:4027) +SFX_Cymbal2_2:: ; 20027 (8:4027) db CH7 - dw SFX_08_0d_Ch1 + dw SFX_Cymbal2_2_Ch1 -SFX_08_0e:: ; 2002a (8:402a) +SFX_Cymbal3_2:: ; 2002a (8:402a) db CH7 - dw SFX_08_0e_Ch1 + dw SFX_Cymbal3_2_Ch1 -SFX_08_0f:: ; 2002d (8:402d) +SFX_Muted_Snare1_2:: ; 2002d (8:402d) db CH7 - dw SFX_08_0f_Ch1 + dw SFX_Muted_Snare1_2_Ch1 -SFX_08_10:: ; 20030 (8:4030) +SFX_Triangle3_2:: ; 20030 (8:4030) db CH7 - dw SFX_08_10_Ch1 + dw SFX_Triangle3_2_Ch1 -SFX_08_11:: ; 20033 (8:4033) +SFX_Muted_Snare2_2:: ; 20033 (8:4033) db CH7 - dw SFX_08_11_Ch1 + dw SFX_Muted_Snare2_2_Ch1 -SFX_08_12:: ; 20036 (8:4036) +SFX_Muted_Snare3_2:: ; 20036 (8:4036) db CH7 - dw SFX_08_12_Ch1 + dw SFX_Muted_Snare3_2_Ch1 -SFX_08_13:: ; 20039 (8:4039) +SFX_Muted_Snare4_2:: ; 20039 (8:4039) db CH7 - dw SFX_08_13_Ch1 + dw SFX_Muted_Snare4_2_Ch1 -SFX_08_14:: ; 2003c (8:403c) +SFX_Cry00_2:: ; 2003c (8:403c) db ( $80 | CH4 ) - dw SFX_08_14_Ch1 + dw SFX_Cry00_2_Ch1 db CH5 - dw SFX_08_14_Ch2 + dw SFX_Cry00_2_Ch2 db CH7 - dw SFX_08_14_Ch3 + dw SFX_Cry00_2_Ch3 -SFX_08_15:: ; 20045 (8:4045) +SFX_Cry01_2:: ; 20045 (8:4045) db ( $80 | CH4 ) - dw SFX_08_15_Ch1 + dw SFX_Cry01_2_Ch1 db CH5 - dw SFX_08_15_Ch2 + dw SFX_Cry01_2_Ch2 db CH7 - dw SFX_08_15_Ch3 + dw SFX_Cry01_2_Ch3 -SFX_08_16:: ; 2004e (8:404e) +SFX_Cry02_2:: ; 2004e (8:404e) db ( $80 | CH4 ) - dw SFX_08_16_Ch1 + dw SFX_Cry02_2_Ch1 db CH5 - dw SFX_08_16_Ch2 + dw SFX_Cry02_2_Ch2 db CH7 - dw SFX_08_16_Ch3 + dw SFX_Cry02_2_Ch3 -SFX_08_17:: ; 20057 (8:4057) +SFX_Cry03_2:: ; 20057 (8:4057) db ( $80 | CH4 ) - dw SFX_08_17_Ch1 + dw SFX_Cry03_2_Ch1 db CH5 - dw SFX_08_17_Ch2 + dw SFX_Cry03_2_Ch2 db CH7 - dw SFX_08_17_Ch3 + dw SFX_Cry03_2_Ch3 -SFX_08_18:: ; 20060 (8:4060) +SFX_Cry04_2:: ; 20060 (8:4060) db ( $80 | CH4 ) - dw SFX_08_18_Ch1 + dw SFX_Cry04_2_Ch1 db CH5 - dw SFX_08_18_Ch2 + dw SFX_Cry04_2_Ch2 db CH7 - dw SFX_08_18_Ch3 + dw SFX_Cry04_2_Ch3 -SFX_08_19:: ; 20069 (8:4069) +SFX_Cry05_2:: ; 20069 (8:4069) db ( $80 | CH4 ) - dw SFX_08_19_Ch1 + dw SFX_Cry05_2_Ch1 db CH5 - dw SFX_08_19_Ch2 + dw SFX_Cry05_2_Ch2 db CH7 - dw SFX_08_19_Ch3 + dw SFX_Cry05_2_Ch3 -SFX_08_1a:: ; 20072 (8:4072) +SFX_Cry06_2:: ; 20072 (8:4072) db ( $80 | CH4 ) - dw SFX_08_1a_Ch1 + dw SFX_Cry06_2_Ch1 db CH5 - dw SFX_08_1a_Ch2 + dw SFX_Cry06_2_Ch2 db CH7 - dw SFX_08_1a_Ch3 + dw SFX_Cry06_2_Ch3 -SFX_08_1b:: ; 2007b (8:407b) +SFX_Cry07_2:: ; 2007b (8:407b) db ( $80 | CH4 ) - dw SFX_08_1b_Ch1 + dw SFX_Cry07_2_Ch1 db CH5 - dw SFX_08_1b_Ch2 + dw SFX_Cry07_2_Ch2 db CH7 - dw SFX_08_1b_Ch3 + dw SFX_Cry07_2_Ch3 -SFX_08_1c:: ; 20084 (8:4084) +SFX_Cry08_2:: ; 20084 (8:4084) db ( $80 | CH4 ) - dw SFX_08_1c_Ch1 + dw SFX_Cry08_2_Ch1 db CH5 - dw SFX_08_1c_Ch2 + dw SFX_Cry08_2_Ch2 db CH7 - dw SFX_08_1c_Ch3 + dw SFX_Cry08_2_Ch3 -SFX_08_1d:: ; 2008d (8:408d) +SFX_Cry09_2:: ; 2008d (8:408d) db ( $80 | CH4 ) - dw SFX_08_1d_Ch1 + dw SFX_Cry09_2_Ch1 db CH5 - dw SFX_08_1d_Ch2 + dw SFX_Cry09_2_Ch2 db CH7 - dw SFX_08_1d_Ch3 + dw SFX_Cry09_2_Ch3 -SFX_08_1e:: ; 20096 (8:4096) +SFX_Cry0A_2:: ; 20096 (8:4096) db ( $80 | CH4 ) - dw SFX_08_1e_Ch1 + dw SFX_Cry0A_2_Ch1 db CH5 - dw SFX_08_1e_Ch2 + dw SFX_Cry0A_2_Ch2 db CH7 - dw SFX_08_1e_Ch3 + dw SFX_Cry0A_2_Ch3 -SFX_08_1f:: ; 2009f (8:409f) +SFX_Cry0B_2:: ; 2009f (8:409f) db ( $80 | CH4 ) - dw SFX_08_1f_Ch1 + dw SFX_Cry0B_2_Ch1 db CH5 - dw SFX_08_1f_Ch2 + dw SFX_Cry0B_2_Ch2 db CH7 - dw SFX_08_1f_Ch3 + dw SFX_Cry0B_2_Ch3 -SFX_08_20:: ; 200a8 (8:40a8) +SFX_Cry0C_2:: ; 200a8 (8:40a8) db ( $80 | CH4 ) - dw SFX_08_20_Ch1 + dw SFX_Cry0C_2_Ch1 db CH5 - dw SFX_08_20_Ch2 + dw SFX_Cry0C_2_Ch2 db CH7 - dw SFX_08_20_Ch3 + dw SFX_Cry0C_2_Ch3 -SFX_08_21:: ; 200b1 (8:40b1) +SFX_Cry0D_2:: ; 200b1 (8:40b1) db ( $80 | CH4 ) - dw SFX_08_21_Ch1 + dw SFX_Cry0D_2_Ch1 db CH5 - dw SFX_08_21_Ch2 + dw SFX_Cry0D_2_Ch2 db CH7 - dw SFX_08_21_Ch3 + dw SFX_Cry0D_2_Ch3 -SFX_08_22:: ; 200ba (8:40ba) +SFX_Cry0E_2:: ; 200ba (8:40ba) db ( $80 | CH4 ) - dw SFX_08_22_Ch1 + dw SFX_Cry0E_2_Ch1 db CH5 - dw SFX_08_22_Ch2 + dw SFX_Cry0E_2_Ch2 db CH7 - dw SFX_08_22_Ch3 + dw SFX_Cry0E_2_Ch3 -SFX_08_23:: ; 200c3 (8:40c3) +SFX_Cry0F_2:: ; 200c3 (8:40c3) db ( $80 | CH4 ) - dw SFX_08_23_Ch1 + dw SFX_Cry0F_2_Ch1 db CH5 - dw SFX_08_23_Ch2 + dw SFX_Cry0F_2_Ch2 db CH7 - dw SFX_08_23_Ch3 + dw SFX_Cry0F_2_Ch3 -SFX_08_24:: ; 200cc (8:40cc) +SFX_Cry10_2:: ; 200cc (8:40cc) db ( $80 | CH4 ) - dw SFX_08_24_Ch1 + dw SFX_Cry10_2_Ch1 db CH5 - dw SFX_08_24_Ch2 + dw SFX_Cry10_2_Ch2 db CH7 - dw SFX_08_24_Ch3 + dw SFX_Cry10_2_Ch3 -SFX_08_25:: ; 200d5 (8:40d5) +SFX_Cry11_2:: ; 200d5 (8:40d5) db ( $80 | CH4 ) - dw SFX_08_25_Ch1 + dw SFX_Cry11_2_Ch1 db CH5 - dw SFX_08_25_Ch2 + dw SFX_Cry11_2_Ch2 db CH7 - dw SFX_08_25_Ch3 + dw SFX_Cry11_2_Ch3 -SFX_08_26:: ; 200de (8:40de) +SFX_Cry12_2:: ; 200de (8:40de) db ( $80 | CH4 ) - dw SFX_08_26_Ch1 + dw SFX_Cry12_2_Ch1 db CH5 - dw SFX_08_26_Ch2 + dw SFX_Cry12_2_Ch2 db CH7 - dw SFX_08_26_Ch3 + dw SFX_Cry12_2_Ch3 -SFX_08_27:: ; 200e7 (8:40e7) +SFX_Cry13_2:: ; 200e7 (8:40e7) db ( $80 | CH4 ) - dw SFX_08_27_Ch1 + dw SFX_Cry13_2_Ch1 db CH5 - dw SFX_08_27_Ch2 + dw SFX_Cry13_2_Ch2 db CH7 - dw SFX_08_27_Ch3 + dw SFX_Cry13_2_Ch3 -SFX_08_28:: ; 200f0 (8:40f0) +SFX_Cry14_2:: ; 200f0 (8:40f0) db ( $80 | CH4 ) - dw SFX_08_28_Ch1 + dw SFX_Cry14_2_Ch1 db CH5 - dw SFX_08_28_Ch2 + dw SFX_Cry14_2_Ch2 db CH7 - dw SFX_08_28_Ch3 + dw SFX_Cry14_2_Ch3 -SFX_08_29:: ; 200f9 (8:40f9) +SFX_Cry15_2:: ; 200f9 (8:40f9) db ( $80 | CH4 ) - dw SFX_08_29_Ch1 + dw SFX_Cry15_2_Ch1 db CH5 - dw SFX_08_29_Ch2 + dw SFX_Cry15_2_Ch2 db CH7 - dw SFX_08_29_Ch3 + dw SFX_Cry15_2_Ch3 -SFX_08_2a:: ; 20102 (8:4102) +SFX_Cry16_2:: ; 20102 (8:4102) db ( $80 | CH4 ) - dw SFX_08_2a_Ch1 + dw SFX_Cry16_2_Ch1 db CH5 - dw SFX_08_2a_Ch2 + dw SFX_Cry16_2_Ch2 db CH7 - dw SFX_08_2a_Ch3 + dw SFX_Cry16_2_Ch3 -SFX_08_2b:: ; 2010b (8:410b) +SFX_Cry17_2:: ; 2010b (8:410b) db ( $80 | CH4 ) - dw SFX_08_2b_Ch1 + dw SFX_Cry17_2_Ch1 db CH5 - dw SFX_08_2b_Ch2 + dw SFX_Cry17_2_Ch2 db CH7 - dw SFX_08_2b_Ch3 + dw SFX_Cry17_2_Ch3 -SFX_08_2c:: ; 20114 (8:4114) +SFX_Cry18_2:: ; 20114 (8:4114) db ( $80 | CH4 ) - dw SFX_08_2c_Ch1 + dw SFX_Cry18_2_Ch1 db CH5 - dw SFX_08_2c_Ch2 + dw SFX_Cry18_2_Ch2 db CH7 - dw SFX_08_2c_Ch3 + dw SFX_Cry18_2_Ch3 -SFX_08_2d:: ; 2011d (8:411d) +SFX_Cry19_2:: ; 2011d (8:411d) db ( $80 | CH4 ) - dw SFX_08_2d_Ch1 + dw SFX_Cry19_2_Ch1 db CH5 - dw SFX_08_2d_Ch2 + dw SFX_Cry19_2_Ch2 db CH7 - dw SFX_08_2d_Ch3 + dw SFX_Cry19_2_Ch3 -SFX_08_2e:: ; 20126 (8:4126) +SFX_Cry1A_2:: ; 20126 (8:4126) db ( $80 | CH4 ) - dw SFX_08_2e_Ch1 + dw SFX_Cry1A_2_Ch1 db CH5 - dw SFX_08_2e_Ch2 + dw SFX_Cry1A_2_Ch2 db CH7 - dw SFX_08_2e_Ch3 + dw SFX_Cry1A_2_Ch3 -SFX_08_2f:: ; 2012f (8:412f) +SFX_Cry1B_2:: ; 2012f (8:412f) db ( $80 | CH4 ) - dw SFX_08_2f_Ch1 + dw SFX_Cry1B_2_Ch1 db CH5 - dw SFX_08_2f_Ch2 + dw SFX_Cry1B_2_Ch2 db CH7 - dw SFX_08_2f_Ch3 + dw SFX_Cry1B_2_Ch3 -SFX_08_30:: ; 20138 (8:4138) +SFX_Cry1C_2:: ; 20138 (8:4138) db ( $80 | CH4 ) - dw SFX_08_30_Ch1 + dw SFX_Cry1C_2_Ch1 db CH5 - dw SFX_08_30_Ch2 + dw SFX_Cry1C_2_Ch2 db CH7 - dw SFX_08_30_Ch3 + dw SFX_Cry1C_2_Ch3 -SFX_08_31:: ; 20141 (8:4141) +SFX_Cry1D_2:: ; 20141 (8:4141) db ( $80 | CH4 ) - dw SFX_08_31_Ch1 + dw SFX_Cry1D_2_Ch1 db CH5 - dw SFX_08_31_Ch2 + dw SFX_Cry1D_2_Ch2 db CH7 - dw SFX_08_31_Ch3 + dw SFX_Cry1D_2_Ch3 -SFX_08_32:: ; 2014a (8:414a) +SFX_Cry1E_2:: ; 2014a (8:414a) db ( $80 | CH4 ) - dw SFX_08_32_Ch1 + dw SFX_Cry1E_2_Ch1 db CH5 - dw SFX_08_32_Ch2 + dw SFX_Cry1E_2_Ch2 db CH7 - dw SFX_08_32_Ch3 + dw SFX_Cry1E_2_Ch3 -SFX_08_33:: ; 20153 (8:4153) +SFX_Cry1F_2:: ; 20153 (8:4153) db ( $80 | CH4 ) - dw SFX_08_33_Ch1 + dw SFX_Cry1F_2_Ch1 db CH5 - dw SFX_08_33_Ch2 + dw SFX_Cry1F_2_Ch2 db CH7 - dw SFX_08_33_Ch3 + dw SFX_Cry1F_2_Ch3 -SFX_08_34:: ; 2015c (8:415c) +SFX_Cry20_2:: ; 2015c (8:415c) db ( $80 | CH4 ) - dw SFX_08_34_Ch1 + dw SFX_Cry20_2_Ch1 db CH5 - dw SFX_08_34_Ch2 + dw SFX_Cry20_2_Ch2 db CH7 - dw SFX_08_34_Ch3 + dw SFX_Cry20_2_Ch3 -SFX_08_35:: ; 20165 (8:4165) +SFX_Cry21_2:: ; 20165 (8:4165) db ( $80 | CH4 ) - dw SFX_08_35_Ch1 + dw SFX_Cry21_2_Ch1 db CH5 - dw SFX_08_35_Ch2 + dw SFX_Cry21_2_Ch2 db CH7 - dw SFX_08_35_Ch3 + dw SFX_Cry21_2_Ch3 -SFX_08_36:: ; 2016e (8:416e) +SFX_Cry22_2:: ; 2016e (8:416e) db ( $80 | CH4 ) - dw SFX_08_36_Ch1 + dw SFX_Cry22_2_Ch1 db CH5 - dw SFX_08_36_Ch2 + dw SFX_Cry22_2_Ch2 db CH7 - dw SFX_08_36_Ch3 + dw SFX_Cry22_2_Ch3 -SFX_08_37:: ; 20177 (8:4177) +SFX_Cry23_2:: ; 20177 (8:4177) db ( $80 | CH4 ) - dw SFX_08_37_Ch1 + dw SFX_Cry23_2_Ch1 db CH5 - dw SFX_08_37_Ch2 + dw SFX_Cry23_2_Ch2 db CH7 - dw SFX_08_37_Ch3 + dw SFX_Cry23_2_Ch3 -SFX_08_38:: ; 20180 (8:4180) +SFX_Cry24_2:: ; 20180 (8:4180) db ( $80 | CH4 ) - dw SFX_08_38_Ch1 + dw SFX_Cry24_2_Ch1 db CH5 - dw SFX_08_38_Ch2 + dw SFX_Cry24_2_Ch2 db CH7 - dw SFX_08_38_Ch3 + dw SFX_Cry24_2_Ch3 -SFX_08_39:: ; 20189 (8:4189) +SFX_Cry25_2:: ; 20189 (8:4189) db ( $80 | CH4 ) - dw SFX_08_39_Ch1 + dw SFX_Cry25_2_Ch1 db CH5 - dw SFX_08_39_Ch2 + dw SFX_Cry25_2_Ch2 db CH7 - dw SFX_08_39_Ch3 + dw SFX_Cry25_2_Ch3 -SFX_08_3a:: ; 20192 (8:4192) +SFX_Level_Up:: ; 20192 (8:4192) db ( $80 | CH4 ) - dw SFX_08_3a_Ch1 + dw SFX_Level_Up_Ch1 db CH5 - dw SFX_08_3a_Ch2 + dw SFX_Level_Up_Ch2 db CH6 - dw SFX_08_3a_Ch3 + dw SFX_Level_Up_Ch3 -SFX_08_3b:: ; 2019b (8:419b) +SFX_Get_Item2_2:: ; 2019b (8:419b) db ( $80 | CH4 ) - dw SFX_08_3b_Ch1 + dw SFX_Get_Item2_2_Ch1 db CH5 - dw SFX_08_3b_Ch2 + dw SFX_Get_Item2_2_Ch2 db CH6 - dw SFX_08_3b_Ch3 + dw SFX_Get_Item2_2_Ch3 -SFX_08_3c:: ; 201a4 (8:41a4) +SFX_Tink_2:: ; 201a4 (8:41a4) db CH4 - dw SFX_08_3c_Ch1 + dw SFX_Tink_2_Ch1 -SFX_08_3d:: ; 201a7 (8:41a7) +SFX_Heal_HP_2:: ; 201a7 (8:41a7) db CH4 - dw SFX_08_3d_Ch1 + dw SFX_Heal_HP_2_Ch1 -SFX_08_3e:: ; 201aa (8:41aa) +SFX_Heal_Ailment_2:: ; 201aa (8:41aa) db CH4 - dw SFX_08_3e_Ch1 + dw SFX_Heal_Ailment_2_Ch1 -SFX_08_3f:: ; 201ad (8:41ad) +SFX_Start_Menu_2:: ; 201ad (8:41ad) db CH7 - dw SFX_08_3f_Ch1 + dw SFX_Start_Menu_2_Ch1 -SFX_08_40:: ; 201b0 (8:41b0) +SFX_Press_AB_2:: ; 201b0 (8:41b0) db CH4 - dw SFX_08_40_Ch1 + dw SFX_Press_AB_2_Ch1 -SFX_08_41:: ; 201b3 (8:41b3) +SFX_Ball_Toss:: ; 201b3 (8:41b3) db ( $40 | CH4 ) - dw SFX_08_41_Ch1 + dw SFX_Ball_Toss_Ch1 db CH5 - dw SFX_08_41_Ch2 + dw SFX_Ball_Toss_Ch2 -SFX_08_42:: ; 201b9 (8:41b9) +SFX_Ball_Poof:: ; 201b9 (8:41b9) db ( $40 | CH4 ) - dw SFX_08_42_Ch1 + dw SFX_Ball_Poof_Ch1 db CH7 - dw SFX_08_42_Ch2 + dw SFX_Ball_Poof_Ch2 -SFX_08_43:: ; 201bf (8:41bf) +SFX_Faint_Thud:: ; 201bf (8:41bf) db ( $40 | CH4 ) - dw SFX_08_43_Ch1 + dw SFX_Faint_Thud_Ch1 db CH7 - dw SFX_08_43_Ch2 + dw SFX_Faint_Thud_Ch2 -SFX_08_44:: ; 201c5 (8:41c5) +SFX_Run:: ; 201c5 (8:41c5) db CH7 - dw SFX_08_44_Ch1 + dw SFX_Run_Ch1 -SFX_08_45:: ; 201c8 (8:41c8) +SFX_Dex_Page_Added:: ; 201c8 (8:41c8) db ( $40 | CH4 ) - dw SFX_08_45_Ch1 + dw SFX_Dex_Page_Added_Ch1 db CH5 - dw SFX_08_45_Ch2 + dw SFX_Dex_Page_Added_Ch2 -SFX_08_46:: ; 201ce (8:41ce) +SFX_Caught_Mon:: ; 201ce (8:41ce) db ( $80 | CH4 ) - dw SFX_08_46_Ch1 + dw SFX_Caught_Mon_Ch1 db CH5 - dw SFX_08_46_Ch2 + dw SFX_Caught_Mon_Ch2 db CH6 - dw SFX_08_46_Ch3 + dw SFX_Caught_Mon_Ch3 -SFX_08_47:: ; 201d7 (8:41d7) +SFX_Peck:: ; 201d7 (8:41d7) db CH7 - dw SFX_08_47_Ch1 + dw SFX_Peck_Ch1 -SFX_08_48:: ; 201da (8:41da) +SFX_Faint_Fall:: ; 201da (8:41da) db CH4 - dw SFX_08_48_Ch1 + dw SFX_Faint_Fall_Ch1 -SFX_08_49:: ; 201dd (8:41dd) +SFX_Battle_09:: ; 201dd (8:41dd) db CH4 - dw SFX_08_49_Ch1 + dw SFX_Battle_09_Ch1 -SFX_08_4a:: ; 201e0 (8:41e0) +SFX_Pound:: ; 201e0 (8:41e0) db CH7 - dw SFX_08_4a_Ch1 + dw SFX_Pound_Ch1 -SFX_08_4b:: ; 201e3 (8:41e3) +SFX_Battle_0B:: ; 201e3 (8:41e3) db CH7 - dw SFX_08_4b_Ch1 + dw SFX_Battle_0B_Ch1 -SFX_08_4c:: ; 201e6 (8:41e6) +SFX_Battle_0C:: ; 201e6 (8:41e6) db CH7 - dw SFX_08_4c_Ch1 + dw SFX_Battle_0C_Ch1 -SFX_08_4d:: ; 201e9 (8:41e9) +SFX_Battle_0D:: ; 201e9 (8:41e9) db CH7 - dw SFX_08_4d_Ch1 + dw SFX_Battle_0D_Ch1 -SFX_08_4e:: ; 201ec (8:41ec) +SFX_Battle_0E:: ; 201ec (8:41ec) db CH7 - dw SFX_08_4e_Ch1 + dw SFX_Battle_0E_Ch1 -SFX_08_4f:: ; 201ef (8:41ef) +SFX_Battle_0F:: ; 201ef (8:41ef) db CH7 - dw SFX_08_4f_Ch1 + dw SFX_Battle_0F_Ch1 -SFX_08_50:: ; 201f2 (8:41f2) +SFX_Damage:: ; 201f2 (8:41f2) db CH7 - dw SFX_08_50_Ch1 + dw SFX_Damage_Ch1 -SFX_08_51:: ; 201f5 (8:41f5) +SFX_Not_Very_Effective:: ; 201f5 (8:41f5) db CH7 - dw SFX_08_51_Ch1 + dw SFX_Not_Very_Effective_Ch1 -SFX_08_52:: ; 201f8 (8:41f8) +SFX_Battle_12:: ; 201f8 (8:41f8) db CH7 - dw SFX_08_52_Ch1 + dw SFX_Battle_12_Ch1 -SFX_08_53:: ; 201fb (8:41fb) +SFX_Battle_13:: ; 201fb (8:41fb) db CH7 - dw SFX_08_53_Ch1 + dw SFX_Battle_13_Ch1 -SFX_08_54:: ; 201fe (8:41fe) +SFX_Battle_14:: ; 201fe (8:41fe) db CH7 - dw SFX_08_54_Ch1 + dw SFX_Battle_14_Ch1 -SFX_08_55:: ; 20201 (8:4201) +SFX_Vine_Whip:: ; 20201 (8:4201) db CH7 - dw SFX_08_55_Ch1 + dw SFX_Vine_Whip_Ch1 -SFX_08_56:: ; 20204 (8:4204) +SFX_Battle_16:: ; 20204 (8:4204) db CH7 - dw SFX_08_56_Ch1 + dw SFX_Battle_16_Ch1 -SFX_08_57:: ; 20207 (8:4207) +SFX_Battle_17:: ; 20207 (8:4207) db CH7 - dw SFX_08_57_Ch1 + dw SFX_Battle_17_Ch1 -SFX_08_58:: ; 2020a (8:420a) +SFX_Battle_18:: ; 2020a (8:420a) db CH7 - dw SFX_08_58_Ch1 + dw SFX_Battle_18_Ch1 -SFX_08_59:: ; 2020d (8:420d) +SFX_Battle_19:: ; 2020d (8:420d) db CH7 - dw SFX_08_59_Ch1 + dw SFX_Battle_19_Ch1 -SFX_08_5a:: ; 20210 (8:4210) +SFX_Super_Effective:: ; 20210 (8:4210) db CH7 - dw SFX_08_5a_Ch1 + dw SFX_Super_Effective_Ch1 -SFX_08_5b:: ; 20213 (8:4213) +SFX_Battle_1B:: ; 20213 (8:4213) db CH7 - dw SFX_08_5b_Ch1 + dw SFX_Battle_1B_Ch1 -SFX_08_5c:: ; 20216 (8:4216) +SFX_Battle_1C:: ; 20216 (8:4216) db CH7 - dw SFX_08_5c_Ch1 + dw SFX_Battle_1C_Ch1 -SFX_08_5d:: ; 20219 (8:4219) +SFX_Doubleslap:: ; 20219 (8:4219) db CH7 - dw SFX_08_5d_Ch1 + dw SFX_Doubleslap_Ch1 -SFX_08_5e:: ; 2021c (8:421c) +SFX_Battle_1E:: ; 2021c (8:421c) db ( $40 | CH4 ) - dw SFX_08_5e_Ch1 + dw SFX_Battle_1E_Ch1 db CH7 - dw SFX_08_5e_Ch2 + dw SFX_Battle_1E_Ch2 -SFX_08_5f:: ; 20222 (8:4222) +SFX_Horn_Drill:: ; 20222 (8:4222) db CH7 - dw SFX_08_5f_Ch1 + dw SFX_Horn_Drill_Ch1 -SFX_08_60:: ; 20225 (8:4225) +SFX_Battle_20:: ; 20225 (8:4225) db CH7 - dw SFX_08_60_Ch1 + dw SFX_Battle_20_Ch1 -SFX_08_61:: ; 20228 (8:4228) +SFX_Battle_21:: ; 20228 (8:4228) db CH7 - dw SFX_08_61_Ch1 + dw SFX_Battle_21_Ch1 -SFX_08_62:: ; 2022b (8:422b) +SFX_Battle_22:: ; 2022b (8:422b) db CH7 - dw SFX_08_62_Ch1 + dw SFX_Battle_22_Ch1 -SFX_08_63:: ; 2022e (8:422e) +SFX_Battle_23:: ; 2022e (8:422e) db CH7 - dw SFX_08_63_Ch1 + dw SFX_Battle_23_Ch1 -SFX_08_64:: ; 20231 (8:4231) +SFX_Battle_24:: ; 20231 (8:4231) db ( $40 | CH4 ) - dw SFX_08_64_Ch1 + dw SFX_Battle_24_Ch1 db CH7 - dw SFX_08_64_Ch2 + dw SFX_Battle_24_Ch2 -SFX_08_65:: ; 20237 (8:4237) +SFX_Battle_25:: ; 20237 (8:4237) db CH7 - dw SFX_08_65_Ch1 + dw SFX_Battle_25_Ch1 -SFX_08_66:: ; 2023a (8:423a) +SFX_Battle_26:: ; 2023a (8:423a) db CH7 - dw SFX_08_66_Ch1 + dw SFX_Battle_26_Ch1 -SFX_08_67:: ; 2023d (8:423d) +SFX_Battle_27:: ; 2023d (8:423d) db ( $80 | CH4 ) - dw SFX_08_67_Ch1 + dw SFX_Battle_27_Ch1 db CH5 - dw SFX_08_67_Ch2 + dw SFX_Battle_27_Ch2 db CH7 - dw SFX_08_67_Ch3 + dw SFX_Battle_27_Ch3 -SFX_08_68:: ; 20246 (8:4246) +SFX_Battle_28:: ; 20246 (8:4246) db ( $80 | CH4 ) - dw SFX_08_68_Ch1 + dw SFX_Battle_28_Ch1 db CH5 - dw SFX_08_68_Ch2 + dw SFX_Battle_28_Ch2 db CH7 - dw SFX_08_68_Ch3 + dw SFX_Battle_28_Ch3 -SFX_08_69:: ; 2024f (8:424f) +SFX_Battle_29:: ; 2024f (8:424f) db ( $40 | CH4 ) - dw SFX_08_69_Ch1 + dw SFX_Battle_29_Ch1 db CH7 - dw SFX_08_69_Ch2 + dw SFX_Battle_29_Ch2 -SFX_08_6a:: ; 20255 (8:4255) +SFX_Battle_2A:: ; 20255 (8:4255) db ( $80 | CH4 ) - dw SFX_08_6a_Ch1 + dw SFX_Battle_2A_Ch1 db CH5 - dw SFX_08_6a_Ch2 + dw SFX_Battle_2A_Ch2 db CH7 - dw SFX_08_6a_Ch3 + dw SFX_Battle_2A_Ch3 -SFX_08_6b:: ; 2025e (8:425e) +SFX_Battle_2B:: ; 2025e (8:425e) db ( $40 | CH4 ) - dw SFX_08_6b_Ch1 + dw SFX_Battle_2B_Ch1 db CH7 - dw SFX_08_6b_Ch2 + dw SFX_Battle_2B_Ch2 -SFX_08_6c:: ; 20264 (8:4264) +SFX_Battle_2C:: ; 20264 (8:4264) db ( $80 | CH4 ) - dw SFX_08_6c_Ch1 + dw SFX_Battle_2C_Ch1 db CH5 - dw SFX_08_6c_Ch2 + dw SFX_Battle_2C_Ch2 db CH7 - dw SFX_08_6c_Ch3 + dw SFX_Battle_2C_Ch3 -SFX_08_6d:: ; 2026d (8:426d) +SFX_Psybeam:: ; 2026d (8:426d) db ( $80 | CH4 ) - dw SFX_08_6d_Ch1 + dw SFX_Psybeam_Ch1 db CH5 - dw SFX_08_6d_Ch2 + dw SFX_Psybeam_Ch2 db CH7 - dw SFX_08_6d_Ch3 + dw SFX_Psybeam_Ch3 -SFX_08_6e:: ; 20276 (8:4276) +SFX_Battle_2E:: ; 20276 (8:4276) db ( $80 | CH4 ) - dw SFX_08_6e_Ch1 + dw SFX_Battle_2E_Ch1 db CH5 - dw SFX_08_6e_Ch2 + dw SFX_Battle_2E_Ch2 db CH7 - dw SFX_08_6e_Ch3 + dw SFX_Battle_2E_Ch3 -SFX_08_6f:: ; 2027f (8:427f) +SFX_Battle_2F:: ; 2027f (8:427f) db ( $80 | CH4 ) - dw SFX_08_6f_Ch1 + dw SFX_Battle_2F_Ch1 db CH5 - dw SFX_08_6f_Ch2 + dw SFX_Battle_2F_Ch2 db CH7 - dw SFX_08_6f_Ch3 + dw SFX_Battle_2F_Ch3 -SFX_08_70:: ; 20288 (8:4288) +SFX_Psychic_M:: ; 20288 (8:4288) db ( $80 | CH4 ) - dw SFX_08_70_Ch1 + dw SFX_Psychic_M_Ch1 db CH5 - dw SFX_08_70_Ch2 + dw SFX_Psychic_M_Ch2 db CH7 - dw SFX_08_70_Ch3 + dw SFX_Psychic_M_Ch3 -SFX_08_71:: ; 20291 (8:4291) +SFX_Battle_31:: ; 20291 (8:4291) db ( $40 | CH4 ) - dw SFX_08_71_Ch1 + dw SFX_Battle_31_Ch1 db CH5 - dw SFX_08_71_Ch2 + dw SFX_Battle_31_Ch2 -SFX_08_72:: ; 20297 (8:4297) +SFX_Battle_32:: ; 20297 (8:4297) db ( $40 | CH4 ) - dw SFX_08_72_Ch1 + dw SFX_Battle_32_Ch1 db CH5 - dw SFX_08_72_Ch2 + dw SFX_Battle_32_Ch2 -SFX_08_73:: ; 2029d (8:429d) +SFX_Battle_33:: ; 2029d (8:429d) db ( $40 | CH4 ) - dw SFX_08_73_Ch1 + dw SFX_Battle_33_Ch1 db CH5 - dw SFX_08_73_Ch2 + dw SFX_Battle_33_Ch2 -SFX_08_74:: ; 202a3 (8:42a3) +SFX_Battle_34:: ; 202a3 (8:42a3) db ( $80 | CH4 ) - dw SFX_08_74_Ch1 + dw SFX_Battle_34_Ch1 db CH5 - dw SFX_08_74_Ch2 + dw SFX_Battle_34_Ch2 db CH7 - dw SFX_08_74_Ch3 + dw SFX_Battle_34_Ch3 -SFX_08_75:: ; 202ac (8:42ac) +SFX_Battle_35:: ; 202ac (8:42ac) db ( $40 | CH4 ) - dw SFX_08_75_Ch1 + dw SFX_Battle_35_Ch1 db CH5 - dw SFX_08_75_Ch2 + dw SFX_Battle_35_Ch2 -SFX_08_76:: ; 202b2 (8:42b2) +SFX_Battle_36:: ; 202b2 (8:42b2) db ( $80 | CH4 ) - dw SFX_08_76_Ch1 + dw SFX_Battle_36_Ch1 db CH5 - dw SFX_08_76_Ch2 + dw SFX_Battle_36_Ch2 db CH7 - dw SFX_08_76_Ch3 + dw SFX_Battle_36_Ch3 -SFX_08_77:: ; 202bb (8:42bb) +SFX_Silph_Scope:: ; 202bb (8:42bb) db CH4 - dw SFX_08_77_Ch1 + dw SFX_Silph_Scope_Ch1 diff --git a/audio/headers/sfxheaders1f.asm b/audio/headers/sfxheaders1f.asm old mode 100755 new mode 100644 index 52766a76..7af4755f --- a/audio/headers/sfxheaders1f.asm +++ b/audio/headers/sfxheaders1f.asm @@ -1,596 +1,596 @@ SFX_Headers_1f:: db $ff, $ff, $ff ; padding -SFX_1f_01:: ; 7c003 (1f:4003) +SFX_Snare1_3:: ; 7c003 (1f:4003) db CH7 - dw SFX_1f_01_Ch1 + dw SFX_Snare1_3_Ch1 -SFX_1f_02:: ; 7c006 (1f:4006) +SFX_Snare2_3:: ; 7c006 (1f:4006) db CH7 - dw SFX_1f_02_Ch1 + dw SFX_Snare2_3_Ch1 -SFX_1f_03:: ; 7c009 (1f:4009) +SFX_Snare3_3:: ; 7c009 (1f:4009) db CH7 - dw SFX_1f_03_Ch1 + dw SFX_Snare3_3_Ch1 -SFX_1f_04:: ; 7c00c (1f:400c) +SFX_Snare4_3:: ; 7c00c (1f:400c) db CH7 - dw SFX_1f_04_Ch1 + dw SFX_Snare4_3_Ch1 -SFX_1f_05:: ; 7c00f (1f:400f) +SFX_Snare5_3:: ; 7c00f (1f:400f) db CH7 - dw SFX_1f_05_Ch1 + dw SFX_Snare5_3_Ch1 -SFX_1f_06:: ; 7c012 (1f:4012) +SFX_Triangle1_3:: ; 7c012 (1f:4012) db CH7 - dw SFX_1f_06_Ch1 + dw SFX_Triangle1_3_Ch1 -SFX_1f_07:: ; 7c015 (1f:4015) +SFX_Triangle2_3:: ; 7c015 (1f:4015) db CH7 - dw SFX_1f_07_Ch1 + dw SFX_Triangle2_3_Ch1 -SFX_1f_08:: ; 7c018 (1f:4018) +SFX_Snare6_3:: ; 7c018 (1f:4018) db CH7 - dw SFX_1f_08_Ch1 + dw SFX_Snare6_3_Ch1 -SFX_1f_09:: ; 7c01b (1f:401b) +SFX_Snare7_3:: ; 7c01b (1f:401b) db CH7 - dw SFX_1f_09_Ch1 + dw SFX_Snare7_3_Ch1 -SFX_1f_0a:: ; 7c01e (1f:401e) +SFX_Snare8_3:: ; 7c01e (1f:401e) db CH7 - dw SFX_1f_0a_Ch1 + dw SFX_Snare8_3_Ch1 -SFX_1f_0b:: ; 7c021 (1f:4021) +SFX_Snare9_3:: ; 7c021 (1f:4021) db CH7 - dw SFX_1f_0b_Ch1 + dw SFX_Snare9_3_Ch1 -SFX_1f_0c:: ; 7c024 (1f:4024) +SFX_Cymbal1_3:: ; 7c024 (1f:4024) db CH7 - dw SFX_1f_0c_Ch1 + dw SFX_Cymbal1_3_Ch1 -SFX_1f_0d:: ; 7c027 (1f:4027) +SFX_Cymbal2_3:: ; 7c027 (1f:4027) db CH7 - dw SFX_1f_0d_Ch1 + dw SFX_Cymbal2_3_Ch1 -SFX_1f_0e:: ; 7c02a (1f:402a) +SFX_Cymbal3_3:: ; 7c02a (1f:402a) db CH7 - dw SFX_1f_0e_Ch1 + dw SFX_Cymbal3_3_Ch1 -SFX_1f_0f:: ; 7c02d (1f:402d) +SFX_Muted_Snare1_3:: ; 7c02d (1f:402d) db CH7 - dw SFX_1f_0f_Ch1 + dw SFX_Muted_Snare1_3_Ch1 -SFX_1f_10:: ; 7c030 (1f:4030) +SFX_Triangle3_3:: ; 7c030 (1f:4030) db CH7 - dw SFX_1f_10_Ch1 + dw SFX_Triangle3_3_Ch1 -SFX_1f_11:: ; 7c033 (1f:4033) +SFX_Muted_Snare2_3:: ; 7c033 (1f:4033) db CH7 - dw SFX_1f_11_Ch1 + dw SFX_Muted_Snare2_3_Ch1 -SFX_1f_12:: ; 7c036 (1f:4036) +SFX_Muted_Snare3_3:: ; 7c036 (1f:4036) db CH7 - dw SFX_1f_12_Ch1 + dw SFX_Muted_Snare3_3_Ch1 -SFX_1f_13:: ; 7c039 (1f:4039) +SFX_Muted_Snare4_3:: ; 7c039 (1f:4039) db CH7 - dw SFX_1f_13_Ch1 + dw SFX_Muted_Snare4_3_Ch1 -SFX_1f_14:: ; 7c03c (1f:403c) +SFX_Cry00_3:: ; 7c03c (1f:403c) db ( $80 | CH4 ) - dw SFX_1f_14_Ch1 + dw SFX_Cry00_3_Ch1 db CH5 - dw SFX_1f_14_Ch2 + dw SFX_Cry00_3_Ch2 db CH7 - dw SFX_1f_14_Ch3 + dw SFX_Cry00_3_Ch3 -SFX_1f_15:: ; 7c045 (1f:4045) +SFX_Cry01_3:: ; 7c045 (1f:4045) db ( $80 | CH4 ) - dw SFX_1f_15_Ch1 + dw SFX_Cry01_3_Ch1 db CH5 - dw SFX_1f_15_Ch2 + dw SFX_Cry01_3_Ch2 db CH7 - dw SFX_1f_15_Ch3 + dw SFX_Cry01_3_Ch3 -SFX_1f_16:: ; 7c04e (1f:404e) +SFX_Cry02_3:: ; 7c04e (1f:404e) db ( $80 | CH4 ) - dw SFX_1f_16_Ch1 + dw SFX_Cry02_3_Ch1 db CH5 - dw SFX_1f_16_Ch2 + dw SFX_Cry02_3_Ch2 db CH7 - dw SFX_1f_16_Ch3 + dw SFX_Cry02_3_Ch3 -SFX_1f_17:: ; 7c057 (1f:4057) +SFX_Cry03_3:: ; 7c057 (1f:4057) db ( $80 | CH4 ) - dw SFX_1f_17_Ch1 + dw SFX_Cry03_3_Ch1 db CH5 - dw SFX_1f_17_Ch2 + dw SFX_Cry03_3_Ch2 db CH7 - dw SFX_1f_17_Ch3 + dw SFX_Cry03_3_Ch3 -SFX_1f_18:: ; 7c060 (1f:4060) +SFX_Cry04_3:: ; 7c060 (1f:4060) db ( $80 | CH4 ) - dw SFX_1f_18_Ch1 + dw SFX_Cry04_3_Ch1 db CH5 - dw SFX_1f_18_Ch2 + dw SFX_Cry04_3_Ch2 db CH7 - dw SFX_1f_18_Ch3 + dw SFX_Cry04_3_Ch3 -SFX_1f_19:: ; 7c069 (1f:4069) +SFX_Cry05_3:: ; 7c069 (1f:4069) db ( $80 | CH4 ) - dw SFX_1f_19_Ch1 + dw SFX_Cry05_3_Ch1 db CH5 - dw SFX_1f_19_Ch2 + dw SFX_Cry05_3_Ch2 db CH7 - dw SFX_1f_19_Ch3 + dw SFX_Cry05_3_Ch3 -SFX_1f_1a:: ; 7c072 (1f:4072) +SFX_Cry06_3:: ; 7c072 (1f:4072) db ( $80 | CH4 ) - dw SFX_1f_1a_Ch1 + dw SFX_Cry06_3_Ch1 db CH5 - dw SFX_1f_1a_Ch2 + dw SFX_Cry06_3_Ch2 db CH7 - dw SFX_1f_1a_Ch3 + dw SFX_Cry06_3_Ch3 -SFX_1f_1b:: ; 7c07b (1f:407b) +SFX_Cry07_3:: ; 7c07b (1f:407b) db ( $80 | CH4 ) - dw SFX_1f_1b_Ch1 + dw SFX_Cry07_3_Ch1 db CH5 - dw SFX_1f_1b_Ch2 + dw SFX_Cry07_3_Ch2 db CH7 - dw SFX_1f_1b_Ch3 + dw SFX_Cry07_3_Ch3 -SFX_1f_1c:: ; 7c084 (1f:4084) +SFX_Cry08_3:: ; 7c084 (1f:4084) db ( $80 | CH4 ) - dw SFX_1f_1c_Ch1 + dw SFX_Cry08_3_Ch1 db CH5 - dw SFX_1f_1c_Ch2 + dw SFX_Cry08_3_Ch2 db CH7 - dw SFX_1f_1c_Ch3 + dw SFX_Cry08_3_Ch3 -SFX_1f_1d:: ; 7c08d (1f:408d) +SFX_Cry09_3:: ; 7c08d (1f:408d) db ( $80 | CH4 ) - dw SFX_1f_1d_Ch1 + dw SFX_Cry09_3_Ch1 db CH5 - dw SFX_1f_1d_Ch2 + dw SFX_Cry09_3_Ch2 db CH7 - dw SFX_1f_1d_Ch3 + dw SFX_Cry09_3_Ch3 -SFX_1f_1e:: ; 7c096 (1f:4096) +SFX_Cry0A_3:: ; 7c096 (1f:4096) db ( $80 | CH4 ) - dw SFX_1f_1e_Ch1 + dw SFX_Cry0A_3_Ch1 db CH5 - dw SFX_1f_1e_Ch2 + dw SFX_Cry0A_3_Ch2 db CH7 - dw SFX_1f_1e_Ch3 + dw SFX_Cry0A_3_Ch3 -SFX_1f_1f:: ; 7c09f (1f:409f) +SFX_Cry0B_3:: ; 7c09f (1f:409f) db ( $80 | CH4 ) - dw SFX_1f_1f_Ch1 + dw SFX_Cry0B_3_Ch1 db CH5 - dw SFX_1f_1f_Ch2 + dw SFX_Cry0B_3_Ch2 db CH7 - dw SFX_1f_1f_Ch3 + dw SFX_Cry0B_3_Ch3 -SFX_1f_20:: ; 7c0a8 (1f:40a8) +SFX_Cry0C_3:: ; 7c0a8 (1f:40a8) db ( $80 | CH4 ) - dw SFX_1f_20_Ch1 + dw SFX_Cry0C_3_Ch1 db CH5 - dw SFX_1f_20_Ch2 + dw SFX_Cry0C_3_Ch2 db CH7 - dw SFX_1f_20_Ch3 + dw SFX_Cry0C_3_Ch3 -SFX_1f_21:: ; 7c0b1 (1f:40b1) +SFX_Cry0D_3:: ; 7c0b1 (1f:40b1) db ( $80 | CH4 ) - dw SFX_1f_21_Ch1 + dw SFX_Cry0D_3_Ch1 db CH5 - dw SFX_1f_21_Ch2 + dw SFX_Cry0D_3_Ch2 db CH7 - dw SFX_1f_21_Ch3 + dw SFX_Cry0D_3_Ch3 -SFX_1f_22:: ; 7c0ba (1f:40ba) +SFX_Cry0E_3:: ; 7c0ba (1f:40ba) db ( $80 | CH4 ) - dw SFX_1f_22_Ch1 + dw SFX_Cry0E_3_Ch1 db CH5 - dw SFX_1f_22_Ch2 + dw SFX_Cry0E_3_Ch2 db CH7 - dw SFX_1f_22_Ch3 + dw SFX_Cry0E_3_Ch3 -SFX_1f_23:: ; 7c0c3 (1f:40c3) +SFX_Cry0F_3:: ; 7c0c3 (1f:40c3) db ( $80 | CH4 ) - dw SFX_1f_23_Ch1 + dw SFX_Cry0F_3_Ch1 db CH5 - dw SFX_1f_23_Ch2 + dw SFX_Cry0F_3_Ch2 db CH7 - dw SFX_1f_23_Ch3 + dw SFX_Cry0F_3_Ch3 -SFX_1f_24:: ; 7c0cc (1f:40cc) +SFX_Cry10_3:: ; 7c0cc (1f:40cc) db ( $80 | CH4 ) - dw SFX_1f_24_Ch1 + dw SFX_Cry10_3_Ch1 db CH5 - dw SFX_1f_24_Ch2 + dw SFX_Cry10_3_Ch2 db CH7 - dw SFX_1f_24_Ch3 + dw SFX_Cry10_3_Ch3 -SFX_1f_25:: ; 7c0d5 (1f:40d5) +SFX_Cry11_3:: ; 7c0d5 (1f:40d5) db ( $80 | CH4 ) - dw SFX_1f_25_Ch1 + dw SFX_Cry11_3_Ch1 db CH5 - dw SFX_1f_25_Ch2 + dw SFX_Cry11_3_Ch2 db CH7 - dw SFX_1f_25_Ch3 + dw SFX_Cry11_3_Ch3 -SFX_1f_26:: ; 7c0de (1f:40de) +SFX_Cry12_3:: ; 7c0de (1f:40de) db ( $80 | CH4 ) - dw SFX_1f_26_Ch1 + dw SFX_Cry12_3_Ch1 db CH5 - dw SFX_1f_26_Ch2 + dw SFX_Cry12_3_Ch2 db CH7 - dw SFX_1f_26_Ch3 + dw SFX_Cry12_3_Ch3 -SFX_1f_27:: ; 7c0e7 (1f:40e7) +SFX_Cry13_3:: ; 7c0e7 (1f:40e7) db ( $80 | CH4 ) - dw SFX_1f_27_Ch1 + dw SFX_Cry13_3_Ch1 db CH5 - dw SFX_1f_27_Ch2 + dw SFX_Cry13_3_Ch2 db CH7 - dw SFX_1f_27_Ch3 + dw SFX_Cry13_3_Ch3 -SFX_1f_28:: ; 7c0f0 (1f:40f0) +SFX_Cry14_3:: ; 7c0f0 (1f:40f0) db ( $80 | CH4 ) - dw SFX_1f_28_Ch1 + dw SFX_Cry14_3_Ch1 db CH5 - dw SFX_1f_28_Ch2 + dw SFX_Cry14_3_Ch2 db CH7 - dw SFX_1f_28_Ch3 + dw SFX_Cry14_3_Ch3 -SFX_1f_29:: ; 7c0f9 (1f:40f9) +SFX_Cry15_3:: ; 7c0f9 (1f:40f9) db ( $80 | CH4 ) - dw SFX_1f_29_Ch1 + dw SFX_Cry15_3_Ch1 db CH5 - dw SFX_1f_29_Ch2 + dw SFX_Cry15_3_Ch2 db CH7 - dw SFX_1f_29_Ch3 + dw SFX_Cry15_3_Ch3 -SFX_1f_2a:: ; 7c102 (1f:4102) +SFX_Cry16_3:: ; 7c102 (1f:4102) db ( $80 | CH4 ) - dw SFX_1f_2a_Ch1 + dw SFX_Cry16_3_Ch1 db CH5 - dw SFX_1f_2a_Ch2 + dw SFX_Cry16_3_Ch2 db CH7 - dw SFX_1f_2a_Ch3 + dw SFX_Cry16_3_Ch3 -SFX_1f_2b:: ; 7c10b (1f:410b) +SFX_Cry17_3:: ; 7c10b (1f:410b) db ( $80 | CH4 ) - dw SFX_1f_2b_Ch1 + dw SFX_Cry17_3_Ch1 db CH5 - dw SFX_1f_2b_Ch2 + dw SFX_Cry17_3_Ch2 db CH7 - dw SFX_1f_2b_Ch3 + dw SFX_Cry17_3_Ch3 -SFX_1f_2c:: ; 7c114 (1f:4114) +SFX_Cry18_3:: ; 7c114 (1f:4114) db ( $80 | CH4 ) - dw SFX_1f_2c_Ch1 + dw SFX_Cry18_3_Ch1 db CH5 - dw SFX_1f_2c_Ch2 + dw SFX_Cry18_3_Ch2 db CH7 - dw SFX_1f_2c_Ch3 + dw SFX_Cry18_3_Ch3 -SFX_1f_2d:: ; 7c11d (1f:411d) +SFX_Cry19_3:: ; 7c11d (1f:411d) db ( $80 | CH4 ) - dw SFX_1f_2d_Ch1 + dw SFX_Cry19_3_Ch1 db CH5 - dw SFX_1f_2d_Ch2 + dw SFX_Cry19_3_Ch2 db CH7 - dw SFX_1f_2d_Ch3 + dw SFX_Cry19_3_Ch3 -SFX_1f_2e:: ; 7c126 (1f:4126) +SFX_Cry1A_3:: ; 7c126 (1f:4126) db ( $80 | CH4 ) - dw SFX_1f_2e_Ch1 + dw SFX_Cry1A_3_Ch1 db CH5 - dw SFX_1f_2e_Ch2 + dw SFX_Cry1A_3_Ch2 db CH7 - dw SFX_1f_2e_Ch3 + dw SFX_Cry1A_3_Ch3 -SFX_1f_2f:: ; 7c12f (1f:412f) +SFX_Cry1B_3:: ; 7c12f (1f:412f) db ( $80 | CH4 ) - dw SFX_1f_2f_Ch1 + dw SFX_Cry1B_3_Ch1 db CH5 - dw SFX_1f_2f_Ch2 + dw SFX_Cry1B_3_Ch2 db CH7 - dw SFX_1f_2f_Ch3 + dw SFX_Cry1B_3_Ch3 -SFX_1f_30:: ; 7c138 (1f:4138) +SFX_Cry1C_3:: ; 7c138 (1f:4138) db ( $80 | CH4 ) - dw SFX_1f_30_Ch1 + dw SFX_Cry1C_3_Ch1 db CH5 - dw SFX_1f_30_Ch2 + dw SFX_Cry1C_3_Ch2 db CH7 - dw SFX_1f_30_Ch3 + dw SFX_Cry1C_3_Ch3 -SFX_1f_31:: ; 7c141 (1f:4141) +SFX_Cry1D_3:: ; 7c141 (1f:4141) db ( $80 | CH4 ) - dw SFX_1f_31_Ch1 + dw SFX_Cry1D_3_Ch1 db CH5 - dw SFX_1f_31_Ch2 + dw SFX_Cry1D_3_Ch2 db CH7 - dw SFX_1f_31_Ch3 + dw SFX_Cry1D_3_Ch3 -SFX_1f_32:: ; 7c14a (1f:414a) +SFX_Cry1E_3:: ; 7c14a (1f:414a) db ( $80 | CH4 ) - dw SFX_1f_32_Ch1 + dw SFX_Cry1E_3_Ch1 db CH5 - dw SFX_1f_32_Ch2 + dw SFX_Cry1E_3_Ch2 db CH7 - dw SFX_1f_32_Ch3 + dw SFX_Cry1E_3_Ch3 -SFX_1f_33:: ; 7c153 (1f:4153) +SFX_Cry1F_3:: ; 7c153 (1f:4153) db ( $80 | CH4 ) - dw SFX_1f_33_Ch1 + dw SFX_Cry1F_3_Ch1 db CH5 - dw SFX_1f_33_Ch2 + dw SFX_Cry1F_3_Ch2 db CH7 - dw SFX_1f_33_Ch3 + dw SFX_Cry1F_3_Ch3 -SFX_1f_34:: ; 7c15c (1f:415c) +SFX_Cry20_3:: ; 7c15c (1f:415c) db ( $80 | CH4 ) - dw SFX_1f_34_Ch1 + dw SFX_Cry20_3_Ch1 db CH5 - dw SFX_1f_34_Ch2 + dw SFX_Cry20_3_Ch2 db CH7 - dw SFX_1f_34_Ch3 + dw SFX_Cry20_3_Ch3 -SFX_1f_35:: ; 7c165 (1f:4165) +SFX_Cry21_3:: ; 7c165 (1f:4165) db ( $80 | CH4 ) - dw SFX_1f_35_Ch1 + dw SFX_Cry21_3_Ch1 db CH5 - dw SFX_1f_35_Ch2 + dw SFX_Cry21_3_Ch2 db CH7 - dw SFX_1f_35_Ch3 + dw SFX_Cry21_3_Ch3 -SFX_1f_36:: ; 7c16e (1f:416e) +SFX_Cry22_3:: ; 7c16e (1f:416e) db ( $80 | CH4 ) - dw SFX_1f_36_Ch1 + dw SFX_Cry22_3_Ch1 db CH5 - dw SFX_1f_36_Ch2 + dw SFX_Cry22_3_Ch2 db CH7 - dw SFX_1f_36_Ch3 + dw SFX_Cry22_3_Ch3 -SFX_1f_37:: ; 7c177 (1f:4177) +SFX_Cry23_3:: ; 7c177 (1f:4177) db ( $80 | CH4 ) - dw SFX_1f_37_Ch1 + dw SFX_Cry23_3_Ch1 db CH5 - dw SFX_1f_37_Ch2 + dw SFX_Cry23_3_Ch2 db CH7 - dw SFX_1f_37_Ch3 + dw SFX_Cry23_3_Ch3 -SFX_1f_38:: ; 7c180 (1f:4180) +SFX_Cry24_3:: ; 7c180 (1f:4180) db ( $80 | CH4 ) - dw SFX_1f_38_Ch1 + dw SFX_Cry24_3_Ch1 db CH5 - dw SFX_1f_38_Ch2 + dw SFX_Cry24_3_Ch2 db CH7 - dw SFX_1f_38_Ch3 + dw SFX_Cry24_3_Ch3 -SFX_1f_39:: ; 7c189 (1f:4189) +SFX_Cry25_3:: ; 7c189 (1f:4189) db ( $80 | CH4 ) - dw SFX_1f_39_Ch1 + dw SFX_Cry25_3_Ch1 db CH5 - dw SFX_1f_39_Ch2 + dw SFX_Cry25_3_Ch2 db CH7 - dw SFX_1f_39_Ch3 + dw SFX_Cry25_3_Ch3 -SFX_1f_3a:: ; 7c192 (1f:4192) +SFX_Get_Item1_3:: ; 7c192 (1f:4192) db ( $80 | CH4 ) - dw SFX_1f_3a_Ch1 + dw SFX_Get_Item1_3_Ch1 db CH5 - dw SFX_1f_3a_Ch2 + dw SFX_Get_Item1_3_Ch2 db CH6 - dw SFX_1f_3a_Ch3 + dw SFX_Get_Item1_3_Ch3 -SFX_1f_3b:: ; 7c19b (1f:419b) +SFX_Get_Item2_3:: ; 7c19b (1f:419b) db ( $80 | CH4 ) - dw SFX_1f_3b_Ch1 + dw SFX_Get_Item2_3_Ch1 db CH5 - dw SFX_1f_3b_Ch2 + dw SFX_Get_Item2_3_Ch2 db CH6 - dw SFX_1f_3b_Ch3 + dw SFX_Get_Item2_3_Ch3 -SFX_1f_3c:: ; 7c1a4 (1f:41a4) +SFX_Tink_3:: ; 7c1a4 (1f:41a4) db CH4 - dw SFX_1f_3c_Ch1 + dw SFX_Tink_3_Ch1 -SFX_1f_3d:: ; 7c1a7 (1f:41a7) +SFX_Heal_HP_3:: ; 7c1a7 (1f:41a7) db CH4 - dw SFX_1f_3d_Ch1 + dw SFX_Heal_HP_3_Ch1 -SFX_1f_3e:: ; 7c1aa (1f:41aa) +SFX_Heal_Ailment_3:: ; 7c1aa (1f:41aa) db CH4 - dw SFX_1f_3e_Ch1 + dw SFX_Heal_Ailment_3_Ch1 -SFX_1f_3f:: ; 7c1ad (1f:41ad) +SFX_Start_Menu_3:: ; 7c1ad (1f:41ad) db CH7 - dw SFX_1f_3f_Ch1 + dw SFX_Start_Menu_3_Ch1 -SFX_1f_40:: ; 7c1b0 (1f:41b0) +SFX_Press_AB_3:: ; 7c1b0 (1f:41b0) db CH4 - dw SFX_1f_40_Ch1 + dw SFX_Press_AB_3_Ch1 -SFX_1f_41:: ; 7c1b3 (1f:41b3) +SFX_Pokedex_Rating_3:: ; 7c1b3 (1f:41b3) db ( $80 | CH4 ) - dw SFX_1f_41_Ch1 + dw SFX_Pokedex_Rating_3_Ch1 db CH5 - dw SFX_1f_41_Ch2 + dw SFX_Pokedex_Rating_3_Ch2 db CH6 - dw SFX_1f_41_Ch3 + dw SFX_Pokedex_Rating_3_Ch3 -SFX_1f_42:: ; 7c1bc (1f:41bc) +SFX_Get_Key_Item_3:: ; 7c1bc (1f:41bc) db ( $80 | CH4 ) - dw SFX_1f_42_Ch1 + dw SFX_Get_Key_Item_3_Ch1 db CH5 - dw SFX_1f_42_Ch2 + dw SFX_Get_Key_Item_3_Ch2 db CH6 - dw SFX_1f_42_Ch3 + dw SFX_Get_Key_Item_3_Ch3 -SFX_1f_43:: ; 7c1c5 (1f:41c5) +SFX_Poisoned_3:: ; 7c1c5 (1f:41c5) db CH4 - dw SFX_1f_43_Ch1 + dw SFX_Poisoned_3_Ch1 -SFX_1f_44:: ; 7c1c8 (1f:41c8) +SFX_Trade_Machine_3:: ; 7c1c8 (1f:41c8) db CH4 - dw SFX_1f_44_Ch1 + dw SFX_Trade_Machine_3_Ch1 -SFX_1f_45:: ; 7c1cb (1f:41cb) +SFX_Turn_On_PC_3:: ; 7c1cb (1f:41cb) db CH4 - dw SFX_1f_45_Ch1 + dw SFX_Turn_On_PC_3_Ch1 -SFX_1f_46:: ; 7c1ce (1f:41ce) +SFX_Turn_Off_PC_3:: ; 7c1ce (1f:41ce) db CH4 - dw SFX_1f_46_Ch1 + dw SFX_Turn_Off_PC_3_Ch1 -SFX_1f_47:: ; 7c1d1 (1f:41d1) +SFX_Enter_PC_3:: ; 7c1d1 (1f:41d1) db CH4 - dw SFX_1f_47_Ch1 + dw SFX_Enter_PC_3_Ch1 -SFX_1f_48:: ; 7c1d4 (1f:41d4) +SFX_Shrink_3:: ; 7c1d4 (1f:41d4) db CH4 - dw SFX_1f_48_Ch1 + dw SFX_Shrink_3_Ch1 -SFX_1f_49:: ; 7c1d7 (1f:41d7) +SFX_Switch_3:: ; 7c1d7 (1f:41d7) db CH4 - dw SFX_1f_49_Ch1 + dw SFX_Switch_3_Ch1 -SFX_1f_4a:: ; 7c1da (1f:41da) +SFX_Healing_Machine_3:: ; 7c1da (1f:41da) db CH4 - dw SFX_1f_4a_Ch1 + dw SFX_Healing_Machine_3_Ch1 -SFX_1f_4b:: ; 7c1dd (1f:41dd) +SFX_Teleport_Exit1_3:: ; 7c1dd (1f:41dd) db CH4 - dw SFX_1f_4b_Ch1 + dw SFX_Teleport_Exit1_3_Ch1 -SFX_1f_4c:: ; 7c1e0 (1f:41e0) +SFX_Teleport_Enter1_3:: ; 7c1e0 (1f:41e0) db CH4 - dw SFX_1f_4c_Ch1 + dw SFX_Teleport_Enter1_3_Ch1 -SFX_1f_4d:: ; 7c1e3 (1f:41e3) +SFX_Teleport_Exit2_3:: ; 7c1e3 (1f:41e3) db CH4 - dw SFX_1f_4d_Ch1 + dw SFX_Teleport_Exit2_3_Ch1 -SFX_1f_4e:: ; 7c1e6 (1f:41e6) +SFX_Ledge_3:: ; 7c1e6 (1f:41e6) db CH4 - dw SFX_1f_4e_Ch1 + dw SFX_Ledge_3_Ch1 -SFX_1f_4f:: ; 7c1e9 (1f:41e9) +SFX_Teleport_Enter2_3:: ; 7c1e9 (1f:41e9) db CH7 - dw SFX_1f_4f_Ch1 + dw SFX_Teleport_Enter2_3_Ch1 -SFX_1f_50:: ; 7c1ec (1f:41ec) +SFX_Fly_3:: ; 7c1ec (1f:41ec) db CH7 - dw SFX_1f_50_Ch1 + dw SFX_Fly_3_Ch1 -SFX_1f_51:: ; 7c1ef (1f:41ef) +SFX_Denied_3:: ; 7c1ef (1f:41ef) db ( $40 | CH4 ) - dw SFX_1f_51_Ch1 + dw SFX_Denied_3_Ch1 db CH5 - dw SFX_1f_51_Ch2 + dw SFX_Denied_3_Ch2 -SFX_1f_52:: ; 7c1f5 (1f:41f5) +SFX_Arrow_Tiles_3:: ; 7c1f5 (1f:41f5) db CH4 - dw SFX_1f_52_Ch1 + dw SFX_Arrow_Tiles_3_Ch1 -SFX_1f_53:: ; 7c1f8 (1f:41f8) +SFX_Push_Boulder_3:: ; 7c1f8 (1f:41f8) db CH7 - dw SFX_1f_53_Ch1 + dw SFX_Push_Boulder_3_Ch1 -SFX_1f_54:: ; 7c1fb (1f:41fb) +SFX_SS_Anne_Horn_3:: ; 7c1fb (1f:41fb) db ( $40 | CH4 ) - dw SFX_1f_54_Ch1 + dw SFX_SS_Anne_Horn_3_Ch1 db CH5 - dw SFX_1f_54_Ch2 + dw SFX_SS_Anne_Horn_3_Ch2 -SFX_1f_55:: ; 7c201 (1f:4201) +SFX_Withdraw_Deposit_3:: ; 7c201 (1f:4201) db CH4 - dw SFX_1f_55_Ch1 + dw SFX_Withdraw_Deposit_3_Ch1 -SFX_1f_56:: ; 7c204 (1f:4204) +SFX_Cut_3:: ; 7c204 (1f:4204) db CH7 - dw SFX_1f_56_Ch1 + dw SFX_Cut_3_Ch1 -SFX_1f_57:: ; 7c207 (1f:4207) +SFX_Go_Inside_3:: ; 7c207 (1f:4207) db CH7 - dw SFX_1f_57_Ch1 + dw SFX_Go_Inside_3_Ch1 -SFX_1f_58:: ; 7c20a (1f:420a) +SFX_Swap_3:: ; 7c20a (1f:420a) db ( $40 | CH4 ) - dw SFX_1f_58_Ch1 + dw SFX_Swap_3_Ch1 db CH5 - dw SFX_1f_58_Ch2 + dw SFX_Swap_3_Ch2 -SFX_1f_59:: ; 7c210 (1f:4210) +SFX_59_3:: ; 7c210 (1f:4210) db ( $40 | CH4 ) - dw SFX_1f_59_Ch1 + dw SFX_59_3_Ch1 db CH5 - dw SFX_1f_59_Ch2 + dw SFX_59_3_Ch2 -SFX_1f_5a:: ; 7c216 (1f:4216) +SFX_Purchase_3:: ; 7c216 (1f:4216) db ( $40 | CH4 ) - dw SFX_1f_5a_Ch1 + dw SFX_Purchase_3_Ch1 db CH5 - dw SFX_1f_5a_Ch2 + dw SFX_Purchase_3_Ch2 -SFX_1f_5b:: ; 7c21c (1f:421c) +SFX_Collision_3:: ; 7c21c (1f:421c) db CH4 - dw SFX_1f_5b_Ch1 + dw SFX_Collision_3_Ch1 -SFX_1f_5c:: ; 7c21f (1f:421f) +SFX_Go_Outside_3:: ; 7c21f (1f:421f) db CH7 - dw SFX_1f_5c_Ch1 + dw SFX_Go_Outside_3_Ch1 -SFX_1f_5d:: ; 7c222 (1f:4222) +SFX_Save_3:: ; 7c222 (1f:4222) db ( $40 | CH4 ) - dw SFX_1f_5d_Ch1 + dw SFX_Save_3_Ch1 db CH5 - dw SFX_1f_5d_Ch2 + dw SFX_Save_3_Ch2 -SFX_1f_5e:: ; 7c228 (1f:4228) +SFX_Intro_Lunge:: ; 7c228 (1f:4228) db CH7 - dw SFX_1f_5e_Ch1 + dw SFX_Intro_Lunge_Ch1 -SFX_1f_5f:: ; 7c22b (1f:422b) +SFX_Intro_Hip:: ; 7c22b (1f:422b) db CH4 - dw SFX_1f_5f_Ch1 + dw SFX_Intro_Hip_Ch1 -SFX_1f_60:: ; 7c22e (1f:422e) +SFX_Intro_Hop:: ; 7c22e (1f:422e) db CH4 - dw SFX_1f_60_Ch1 + dw SFX_Intro_Hop_Ch1 -SFX_1f_61:: ; 7c231 (1f:4231) +SFX_Intro_Raise:: ; 7c231 (1f:4231) db CH7 - dw SFX_1f_61_Ch1 + dw SFX_Intro_Raise_Ch1 -SFX_1f_62:: ; 7c234 (1f:4234) +SFX_Intro_Crash:: ; 7c234 (1f:4234) db CH7 - dw SFX_1f_62_Ch1 + dw SFX_Intro_Crash_Ch1 -SFX_1f_63:: ; 7c237 (1f:4237) +SFX_Intro_Whoosh:: ; 7c237 (1f:4237) db CH7 - dw SFX_1f_63_Ch1 + dw SFX_Intro_Whoosh_Ch1 -SFX_1f_64:: ; 7c23a (1f:423a) +SFX_Slots_Stop_Wheel:: ; 7c23a (1f:423a) db CH4 - dw SFX_1f_64_Ch1 + dw SFX_Slots_Stop_Wheel_Ch1 -SFX_1f_65:: ; 7c23d (1f:423d) +SFX_Slots_Reward:: ; 7c23d (1f:423d) db CH4 - dw SFX_1f_65_Ch1 + dw SFX_Slots_Reward_Ch1 -SFX_1f_66:: ; 7c240 (1f:4240) +SFX_Slots_New_Spin:: ; 7c240 (1f:4240) db ( $40 | CH4 ) - dw SFX_1f_66_Ch1 + dw SFX_Slots_New_Spin_Ch1 db CH5 - dw SFX_1f_66_Ch2 + dw SFX_Slots_New_Spin_Ch2 -SFX_1f_67:: ; 7c246 (1f:4246) +SFX_Shooting_Star:: ; 7c246 (1f:4246) db CH4 - dw SFX_1f_67_Ch1 + dw SFX_Shooting_Star_Ch1 diff --git a/audio/sfx/59_1.asm b/audio/sfx/59_1.asm new file mode 100644 index 00000000..6cbfdb16 --- /dev/null +++ b/audio/sfx/59_1.asm @@ -0,0 +1,11 @@ +SFX_59_1_Ch1: ; 841b (2:441b) + duty 2 + unknownsfx0x20 4, 241, 128, 7 + endchannel + + +SFX_59_1_Ch2: ; 8422 (2:4422) + duty 2 + unknownsfx0x20 1, 8, 0, 0 + unknownsfx0x20 4, 161, 97, 7 + endchannel diff --git a/audio/sfx/59_3.asm b/audio/sfx/59_3.asm new file mode 100644 index 00000000..9c808359 --- /dev/null +++ b/audio/sfx/59_3.asm @@ -0,0 +1,11 @@ +SFX_59_3_Ch1: ; 7c404 (1f:4404) + duty 2 + unknownsfx0x20 4, 241, 128, 7 + endchannel + + +SFX_59_3_Ch2: ; 7c40b (1f:440b) + duty 2 + unknownsfx0x20 1, 8, 0, 0 + unknownsfx0x20 4, 161, 97, 7 + endchannel diff --git a/audio/sfx/arrow_tiles_1.asm b/audio/sfx/arrow_tiles_1.asm new file mode 100644 index 00000000..172907a8 --- /dev/null +++ b/audio/sfx/arrow_tiles_1.asm @@ -0,0 +1,6 @@ +SFX_Arrow_Tiles_1_Ch1: ; 8649 (2:4649) + duty 0 + unknownsfx0x10 23 + unknownsfx0x20 15, 210, 0, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/arrow_tiles_3.asm b/audio/sfx/arrow_tiles_3.asm new file mode 100644 index 00000000..fd225a5f --- /dev/null +++ b/audio/sfx/arrow_tiles_3.asm @@ -0,0 +1,6 @@ +SFX_Arrow_Tiles_3_Ch1: ; 7c626 (1f:4626) + duty 0 + unknownsfx0x10 23 + unknownsfx0x20 15, 210, 0, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/ball_poof.asm b/audio/sfx/ball_poof.asm new file mode 100644 index 00000000..46fb2a07 --- /dev/null +++ b/audio/sfx/ball_poof.asm @@ -0,0 +1,11 @@ +SFX_Ball_Poof_Ch1: ; 2043d (8:443d) + duty 2 + unknownsfx0x10 22 + unknownsfx0x20 15, 242, 0, 4 + unknownsfx0x10 8 + endchannel + + +SFX_Ball_Poof_Ch2: ; 20448 (8:4448) + unknownnoise0x20 15, 162, 34 + endchannel diff --git a/audio/sfx/ball_toss.asm b/audio/sfx/ball_toss.asm new file mode 100644 index 00000000..fc9f81cc --- /dev/null +++ b/audio/sfx/ball_toss.asm @@ -0,0 +1,11 @@ +SFX_Ball_Toss_Ch1: ; 2042d (8:442d) + duty 2 + unknownsfx0x10 47 + unknownsfx0x20 15, 242, 128, 7 + endchannel + + +SFX_Ball_Toss_Ch2: ; 20436 (8:4436) + duty 2 + unknownsfx0x20 15, 194, 130, 7 + endchannel diff --git a/audio/sfx/battle_09.asm b/audio/sfx/battle_09.asm new file mode 100644 index 00000000..19e9b9e7 --- /dev/null +++ b/audio/sfx/battle_09.asm @@ -0,0 +1,6 @@ +SFX_Battle_09_Ch1: ; 204b9 (8:44b9) + duty 1 + unknownsfx0x10 151 + unknownsfx0x20 15, 242, 0, 5 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/battle_0b.asm b/audio/sfx/battle_0b.asm new file mode 100644 index 00000000..1a7e17ec --- /dev/null +++ b/audio/sfx/battle_0b.asm @@ -0,0 +1,3 @@ +SFX_Battle_0B_Ch1: ; 204c8 (8:44c8) + unknownnoise0x20 8, 241, 84 + endchannel diff --git a/audio/sfx/battle_0c.asm b/audio/sfx/battle_0c.asm new file mode 100644 index 00000000..b2fdf455 --- /dev/null +++ b/audio/sfx/battle_0c.asm @@ -0,0 +1,5 @@ +SFX_Battle_0C_Ch1: ; 204cc (8:44cc) + unknownnoise0x20 15, 143, 17 + unknownnoise0x20 4, 255, 18 + unknownnoise0x20 10, 241, 85 + endchannel diff --git a/audio/sfx/battle_0d.asm b/audio/sfx/battle_0d.asm new file mode 100644 index 00000000..c70b281d --- /dev/null +++ b/audio/sfx/battle_0d.asm @@ -0,0 +1,5 @@ +SFX_Battle_0D_Ch1: ; 204d6 (8:44d6) + unknownnoise0x20 15, 143, 52 + unknownnoise0x20 8, 242, 53 + unknownnoise0x20 10, 241, 85 + endchannel diff --git a/audio/sfx/battle_0e.asm b/audio/sfx/battle_0e.asm new file mode 100644 index 00000000..20c20628 --- /dev/null +++ b/audio/sfx/battle_0e.asm @@ -0,0 +1,4 @@ +SFX_Battle_0E_Ch1: ; 204e0 (8:44e0) + unknownnoise0x20 15, 159, 35 + unknownnoise0x20 8, 241, 33 + endchannel diff --git a/audio/sfx/battle_0f.asm b/audio/sfx/battle_0f.asm new file mode 100644 index 00000000..d84aed37 --- /dev/null +++ b/audio/sfx/battle_0f.asm @@ -0,0 +1,6 @@ +SFX_Battle_0F_Ch1: ; 204e7 (8:44e7) + unknownnoise0x20 2, 225, 75 + unknownnoise0x20 10, 241, 68 + unknownnoise0x20 2, 225, 58 + unknownnoise0x20 6, 241, 52 + endchannel diff --git a/audio/sfx/battle_12.asm b/audio/sfx/battle_12.asm new file mode 100644 index 00000000..324ce9b9 --- /dev/null +++ b/audio/sfx/battle_12.asm @@ -0,0 +1,6 @@ +SFX_Battle_12_Ch1: ; 2050b (8:450b) + unknownnoise0x20 8, 79, 35 + unknownnoise0x20 4, 196, 34 + unknownnoise0x20 6, 242, 35 + loopchannel 4, SFX_Battle_12_Ch1 + endchannel diff --git a/audio/sfx/battle_13.asm b/audio/sfx/battle_13.asm new file mode 100644 index 00000000..74349bb5 --- /dev/null +++ b/audio/sfx/battle_13.asm @@ -0,0 +1,6 @@ +SFX_Battle_13_Ch1: ; 20519 (8:4519) + unknownnoise0x20 8, 79, 51 + unknownnoise0x20 4, 196, 34 + unknownnoise0x20 6, 242, 35 + unknownnoise0x20 15, 242, 34 + endchannel diff --git a/audio/sfx/battle_14.asm b/audio/sfx/battle_14.asm new file mode 100644 index 00000000..82234904 --- /dev/null +++ b/audio/sfx/battle_14.asm @@ -0,0 +1,6 @@ +SFX_Battle_14_Ch1: ; 20526 (8:4526) + unknownnoise0x20 8, 255, 50 + unknownnoise0x20 8, 244, 67 + unknownnoise0x20 8, 242, 84 + unknownnoise0x20 8, 241, 101 + endchannel diff --git a/audio/sfx/battle_16.asm b/audio/sfx/battle_16.asm new file mode 100644 index 00000000..a2b5031e --- /dev/null +++ b/audio/sfx/battle_16.asm @@ -0,0 +1,5 @@ +SFX_Battle_16_Ch1: ; 2054c (8:454c) + unknownnoise0x20 1, 148, 35 + unknownnoise0x20 1, 180, 34 + unknownnoise0x20 8, 241, 68 + endchannel diff --git a/audio/sfx/battle_17.asm b/audio/sfx/battle_17.asm new file mode 100644 index 00000000..4be1d96b --- /dev/null +++ b/audio/sfx/battle_17.asm @@ -0,0 +1,6 @@ +SFX_Battle_17_Ch1: ; 20556 (8:4556) + unknownnoise0x20 2, 148, 51 + unknownnoise0x20 4, 180, 34 + unknownnoise0x20 4, 241, 68 + unknownnoise0x20 8, 241, 85 + endchannel diff --git a/audio/sfx/battle_18.asm b/audio/sfx/battle_18.asm new file mode 100644 index 00000000..6c201d38 --- /dev/null +++ b/audio/sfx/battle_18.asm @@ -0,0 +1,4 @@ +SFX_Battle_18_Ch1: ; 20563 (8:4563) + unknownnoise0x20 4, 255, 85 + unknownnoise0x20 8, 241, 101 + endchannel diff --git a/audio/sfx/battle_19.asm b/audio/sfx/battle_19.asm new file mode 100644 index 00000000..6b54f8cd --- /dev/null +++ b/audio/sfx/battle_19.asm @@ -0,0 +1,5 @@ +SFX_Battle_19_Ch1: ; 2056a (8:456a) + unknownnoise0x20 2, 132, 67 + unknownnoise0x20 2, 196, 34 + unknownnoise0x20 8, 242, 52 + endchannel diff --git a/audio/sfx/battle_1b.asm b/audio/sfx/battle_1b.asm new file mode 100644 index 00000000..3bb451d5 --- /dev/null +++ b/audio/sfx/battle_1b.asm @@ -0,0 +1,4 @@ +SFX_Battle_1B_Ch1: ; 2057b (8:457b) + unknownnoise0x20 2, 241, 34 + unknownnoise0x20 15, 242, 18 + endchannel diff --git a/audio/sfx/battle_1c.asm b/audio/sfx/battle_1c.asm new file mode 100644 index 00000000..579e36cc --- /dev/null +++ b/audio/sfx/battle_1c.asm @@ -0,0 +1,5 @@ +SFX_Battle_1C_Ch1: ; 20582 (8:4582) + unknownnoise0x20 2, 194, 1 + unknownnoise0x20 15, 244, 1 + unknownnoise0x20 15, 242, 1 + endchannel diff --git a/audio/sfx/battle_1e.asm b/audio/sfx/battle_1e.asm new file mode 100644 index 00000000..df556540 --- /dev/null +++ b/audio/sfx/battle_1e.asm @@ -0,0 +1,16 @@ +SFX_Battle_1E_Ch1: ; 20593 (8:4593) + duty 0 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 2 + unknownsfx0x10 34 + unknownsfx0x20 8, 226, 0, 2 + unknownsfx0x10 8 + endchannel + + +SFX_Battle_1E_Ch2: ; 205a4 (8:45a4) + unknownnoise0x20 0, 209, 66 + unknownnoise0x20 4, 161, 50 + unknownnoise0x20 0, 209, 34 + unknownnoise0x20 6, 161, 50 + endchannel diff --git a/audio/sfx/battle_20.asm b/audio/sfx/battle_20.asm new file mode 100644 index 00000000..142030ee --- /dev/null +++ b/audio/sfx/battle_20.asm @@ -0,0 +1,4 @@ +SFX_Battle_20_Ch1: ; 205be (8:45be) + unknownnoise0x20 12, 241, 84 + unknownnoise0x20 8, 241, 100 + endchannel diff --git a/audio/sfx/battle_21.asm b/audio/sfx/battle_21.asm new file mode 100644 index 00000000..10ad350e --- /dev/null +++ b/audio/sfx/battle_21.asm @@ -0,0 +1,7 @@ +SFX_Battle_21_Ch1: ; 205c5 (8:45c5) + unknownnoise0x20 2, 241, 51 + unknownnoise0x20 2, 193, 50 + unknownnoise0x20 2, 161, 49 + unknownnoise0x20 15, 130, 50 + unknownnoise0x20 8, 241, 52 + endchannel diff --git a/audio/sfx/battle_22.asm b/audio/sfx/battle_22.asm new file mode 100644 index 00000000..c6b0d972 --- /dev/null +++ b/audio/sfx/battle_22.asm @@ -0,0 +1,4 @@ +SFX_Battle_22_Ch1: ; 205d5 (8:45d5) + unknownnoise0x20 2, 210, 50 + unknownnoise0x20 15, 242, 67 + endchannel diff --git a/audio/sfx/battle_23.asm b/audio/sfx/battle_23.asm new file mode 100644 index 00000000..474e43b6 --- /dev/null +++ b/audio/sfx/battle_23.asm @@ -0,0 +1,7 @@ +SFX_Battle_23_Ch1: ; 205dc (8:45dc) + unknownnoise0x20 2, 242, 67 + unknownnoise0x20 4, 181, 50 + unknownnoise0x20 9, 134, 49 + unknownnoise0x20 7, 100, 0 + unknownnoise0x20 15, 242, 85 + endchannel diff --git a/audio/sfx/battle_24.asm b/audio/sfx/battle_24.asm new file mode 100644 index 00000000..4fea9cf9 --- /dev/null +++ b/audio/sfx/battle_24.asm @@ -0,0 +1,12 @@ +SFX_Battle_24_Ch1: ; 205ec (8:45ec) + duty 1 + unknownsfx0x10 151 + unknownsfx0x20 15, 242, 0, 7 + unknownsfx0x10 8 + endchannel + + +SFX_Battle_24_Ch2: ; 205f7 (8:45f7) + unknownnoise0x20 15, 63, 34 + unknownnoise0x20 15, 242, 33 + endchannel diff --git a/audio/sfx/battle_25.asm b/audio/sfx/battle_25.asm new file mode 100644 index 00000000..18a70f45 --- /dev/null +++ b/audio/sfx/battle_25.asm @@ -0,0 +1,7 @@ +SFX_Battle_25_Ch1: ; 205fe (8:45fe) + unknownnoise0x20 15, 79, 65 + unknownnoise0x20 8, 143, 65 + unknownnoise0x20 8, 207, 65 + unknownnoise0x20 8, 242, 66 + unknownnoise0x20 15, 242, 65 + endchannel diff --git a/audio/sfx/battle_26.asm b/audio/sfx/battle_26.asm new file mode 100644 index 00000000..943078e1 --- /dev/null +++ b/audio/sfx/battle_26.asm @@ -0,0 +1,9 @@ +SFX_Battle_26_Ch1: ; 2060e (8:460e) + unknownnoise0x20 10, 255, 80 + unknownnoise0x20 15, 255, 81 + unknownnoise0x20 8, 242, 81 + unknownnoise0x20 6, 255, 82 + unknownnoise0x20 6, 255, 83 + unknownnoise0x20 8, 255, 84 + unknownnoise0x20 15, 242, 84 + endchannel diff --git a/audio/sfx/battle_27.asm b/audio/sfx/battle_27.asm new file mode 100644 index 00000000..ddd4e452 --- /dev/null +++ b/audio/sfx/battle_27.asm @@ -0,0 +1,27 @@ +SFX_Battle_27_Ch1: ; 20624 (8:4624) + duty 2 + unknownsfx0x20 15, 63, 192, 7 + +SFX_Battle_27_branch_2062a: + unknownsfx0x20 15, 223, 192, 7 + loopchannel 4, SFX_Battle_27_branch_2062a + unknownsfx0x20 15, 209, 192, 7 + endchannel + + +SFX_Battle_27_Ch2: ; 20637 (8:4637) + dutycycle 179 + unknownsfx0x20 15, 47, 200, 7 + +SFX_Battle_27_branch_2063d: + unknownsfx0x20 15, 207, 199, 7 + loopchannel 4, SFX_Battle_27_branch_2063d + unknownsfx0x20 15, 193, 200, 7 + endchannel + + +SFX_Battle_27_Ch3: ; 2064a (8:464a) + unknownnoise0x20 3, 151, 18 + unknownnoise0x20 3, 161, 17 + loopchannel 10, SFX_Battle_27_Ch3 + endchannel diff --git a/audio/sfx/battle_28.asm b/audio/sfx/battle_28.asm new file mode 100644 index 00000000..73855179 --- /dev/null +++ b/audio/sfx/battle_28.asm @@ -0,0 +1,21 @@ +SFX_Battle_28_Ch1: ; 20655 (8:4655) + duty 0 + unknownsfx0x20 0, 241, 192, 7 + unknownsfx0x20 0, 241, 0, 7 + loopchannel 12, SFX_Battle_28_Ch1 + endchannel + + +SFX_Battle_28_Ch2: ; 20664 (8:4664) + dutycycle 179 + unknownsfx0x20 0, 225, 193, 7 + unknownsfx0x20 0, 225, 1, 7 + loopchannel 12, SFX_Battle_28_Ch2 + endchannel + + +SFX_Battle_28_Ch3: ; 20673 (8:4673) + unknownnoise0x20 1, 209, 73 + unknownnoise0x20 1, 209, 41 + loopchannel 6, SFX_Battle_28_Ch3 + endchannel diff --git a/audio/sfx/battle_29.asm b/audio/sfx/battle_29.asm new file mode 100644 index 00000000..e766a453 --- /dev/null +++ b/audio/sfx/battle_29.asm @@ -0,0 +1,18 @@ +SFX_Battle_29_Ch1: ; 2067e (8:467e) + dutycycle 201 + unknownsfx0x20 11, 243, 32, 1 + unknownsfx0x20 9, 211, 80, 1 + loopchannel 5, SFX_Battle_29_Ch1 + unknownsfx0x20 8, 227, 48, 1 + unknownsfx0x20 15, 194, 16, 1 + endchannel + + +SFX_Battle_29_Ch2: ; 20695 (8:4695) + unknownnoise0x20 10, 243, 53 + unknownnoise0x20 14, 246, 69 + loopchannel 4, SFX_Battle_29_Ch2 + unknownnoise0x20 12, 244, 188 + unknownnoise0x20 12, 245, 156 + unknownnoise0x20 15, 244, 172 + endchannel diff --git a/audio/sfx/battle_2a.asm b/audio/sfx/battle_2a.asm new file mode 100644 index 00000000..d7334aae --- /dev/null +++ b/audio/sfx/battle_2a.asm @@ -0,0 +1,28 @@ +SFX_Battle_2A_Ch1: ; 206a9 (8:46a9) + dutycycle 57 + unknownsfx0x20 4, 244, 0, 6 + unknownsfx0x20 3, 196, 0, 5 + unknownsfx0x20 5, 181, 0, 6 + unknownsfx0x20 13, 226, 192, 6 + loopchannel 3, SFX_Battle_2A_Ch1 + unknownsfx0x20 8, 209, 0, 6 + endchannel + + +SFX_Battle_2A_Ch2: ; 206c4 (8:46c4) + dutycycle 141 + unknownsfx0x20 5, 228, 224, 5 + unknownsfx0x20 4, 180, 224, 4 + unknownsfx0x20 6, 165, 232, 5 + unknownsfx0x20 14, 209, 160, 6 + loopchannel 3, SFX_Battle_2A_Ch2 + endchannel + + +SFX_Battle_2A_Ch3: ; 206db (8:46db) + unknownnoise0x20 5, 195, 51 + unknownnoise0x20 3, 146, 67 + unknownnoise0x20 10, 181, 51 + unknownnoise0x20 15, 195, 50 + loopchannel 2, SFX_Battle_2A_Ch3 + endchannel diff --git a/audio/sfx/battle_2b.asm b/audio/sfx/battle_2b.asm new file mode 100644 index 00000000..276627c3 --- /dev/null +++ b/audio/sfx/battle_2b.asm @@ -0,0 +1,21 @@ +SFX_Battle_2B_Ch1: ; 206ec (8:46ec) + dutycycle 210 + unknownsfx0x20 3, 129, 0, 3 + unknownsfx0x20 3, 193, 0, 4 + unknownsfx0x20 3, 241, 0, 5 + unknownsfx0x20 3, 177, 0, 4 + unknownsfx0x20 3, 113, 0, 3 + loopchannel 5, SFX_Battle_2B_Ch1 + unknownsfx0x20 8, 129, 0, 4 + endchannel + + +SFX_Battle_2B_Ch2: ; 2070b (8:470b) + unknownnoise0x20 3, 98, 34 + unknownnoise0x20 3, 162, 50 + unknownnoise0x20 3, 210, 51 + unknownnoise0x20 3, 146, 35 + unknownnoise0x20 3, 82, 18 + loopchannel 5, SFX_Battle_2B_Ch2 + unknownnoise0x20 8, 129, 18 + endchannel diff --git a/audio/sfx/battle_2c.asm b/audio/sfx/battle_2c.asm new file mode 100644 index 00000000..22b902f1 --- /dev/null +++ b/audio/sfx/battle_2c.asm @@ -0,0 +1,25 @@ +SFX_Battle_2C_Ch1: ; 20722 (8:4722) + dutycycle 57 + unknownsfx0x20 15, 244, 0, 5 + unknownsfx0x20 15, 196, 0, 4 + unknownsfx0x20 15, 226, 192, 5 + loopchannel 3, SFX_Battle_2C_Ch1 + endchannel + + +SFX_Battle_2C_Ch2: ; 20735 (8:4735) + dutycycle 141 + unknownsfx0x20 7, 228, 48, 4 + unknownsfx0x20 15, 180, 48, 3 + unknownsfx0x20 15, 162, 56, 4 + loopchannel 4, SFX_Battle_2C_Ch2 + endchannel + + +SFX_Battle_2C_Ch3: ; 20748 (8:4748) + unknownnoise0x20 9, 244, 68 + unknownnoise0x20 9, 242, 67 + unknownnoise0x20 15, 244, 66 + unknownnoise0x20 15, 244, 65 + loopchannel 3, SFX_Battle_2C_Ch3 + endchannel diff --git a/audio/sfx/battle_2e.asm b/audio/sfx/battle_2e.asm new file mode 100644 index 00000000..91dda605 --- /dev/null +++ b/audio/sfx/battle_2e.asm @@ -0,0 +1,27 @@ +SFX_Battle_2E_Ch1: ; 20792 (8:4792) + duty 0 + unknownsfx0x20 2, 241, 0, 2 + unknownsfx0x20 3, 241, 0, 7 + unknownsfx0x20 4, 241, 0, 5 + unknownsfx0x20 5, 241, 240, 7 + loopchannel 8, SFX_Battle_2E_Ch1 + endchannel + + +SFX_Battle_2E_Ch2: ; 207a9 (8:47a9) + dutycycle 179 + unknownsfx0x20 2, 225, 2, 3 + unknownsfx0x20 3, 225, 242, 7 + unknownsfx0x20 4, 225, 2, 6 + unknownsfx0x20 5, 225, 2, 7 + loopchannel 8, SFX_Battle_2E_Ch2 + endchannel + + +SFX_Battle_2E_Ch3: ; 207c0 (8:47c0) + unknownnoise0x20 2, 211, 16 + unknownnoise0x20 3, 211, 17 + unknownnoise0x20 2, 210, 16 + unknownnoise0x20 5, 210, 18 + loopchannel 9, SFX_Battle_2E_Ch3 + endchannel diff --git a/audio/sfx/battle_2f.asm b/audio/sfx/battle_2f.asm new file mode 100644 index 00000000..4b1d9b2c --- /dev/null +++ b/audio/sfx/battle_2f.asm @@ -0,0 +1,21 @@ +SFX_Battle_2F_Ch1: ; 207d1 (8:47d1) + dutycycle 43 + unknownsfx0x20 3, 241, 240, 7 + unknownsfx0x20 4, 242, 0, 2 + loopchannel 8, SFX_Battle_2F_Ch1 + endchannel + + +SFX_Battle_2F_Ch2: ; 207e0 (8:47e0) + dutycycle 179 + unknownsfx0x20 4, 226, 2, 2 + unknownsfx0x20 4, 225, 226, 7 + loopchannel 9, SFX_Battle_2F_Ch2 + endchannel + + +SFX_Battle_2F_Ch3: ; 207ef (8:47ef) + unknownnoise0x20 4, 255, 67 + unknownnoise0x20 4, 242, 68 + loopchannel 9, SFX_Battle_2F_Ch3 + endchannel diff --git a/audio/sfx/battle_31.asm b/audio/sfx/battle_31.asm new file mode 100644 index 00000000..5d3e2e40 --- /dev/null +++ b/audio/sfx/battle_31.asm @@ -0,0 +1,18 @@ +SFX_Battle_31_Ch1: ; 20847 (8:4847) + duty 2 + unknownsfx0x20 15, 255, 224, 7 + unknownsfx0x20 15, 255, 224, 7 + unknownsfx0x20 15, 255, 224, 7 + unknownsfx0x20 15, 255, 224, 7 + unknownsfx0x20 15, 242, 224, 7 + endchannel + + +SFX_Battle_31_Ch2: ; 2085e (8:485e) + duty 3 + unknownsfx0x20 15, 255, 226, 7 + unknownsfx0x20 15, 255, 225, 7 + unknownsfx0x20 15, 255, 226, 7 + unknownsfx0x20 15, 255, 225, 7 + unknownsfx0x20 15, 242, 226, 7 + endchannel diff --git a/audio/sfx/battle_32.asm b/audio/sfx/battle_32.asm new file mode 100644 index 00000000..c949fb5b --- /dev/null +++ b/audio/sfx/battle_32.asm @@ -0,0 +1,12 @@ +SFX_Battle_32_Ch1: ; 20875 (8:4875) + duty 2 + unknownsfx0x10 175 + unknownsfx0x20 8, 241, 0, 7 + unknownsfx0x10 8 + endchannel + + +SFX_Battle_32_Ch2: ; 20880 (8:4880) + duty 3 + unknownsfx0x20 8, 241, 1, 7 + endchannel diff --git a/audio/sfx/battle_33.asm b/audio/sfx/battle_33.asm new file mode 100644 index 00000000..8b2bd17d --- /dev/null +++ b/audio/sfx/battle_33.asm @@ -0,0 +1,18 @@ +SFX_Battle_33_Ch1: ; 20887 (8:4887) + duty 2 + unknownsfx0x20 6, 241, 0, 5 + unknownsfx0x20 6, 241, 128, 5 + unknownsfx0x20 6, 241, 0, 6 + unknownsfx0x20 6, 241, 128, 6 + unknownsfx0x20 8, 241, 0, 7 + endchannel + + +SFX_Battle_33_Ch2: ; 2089e (8:489e) + duty 3 + unknownsfx0x20 6, 225, 16, 5 + unknownsfx0x20 6, 225, 144, 5 + unknownsfx0x20 6, 225, 16, 6 + unknownsfx0x20 6, 225, 144, 6 + unknownsfx0x20 8, 225, 16, 7 + endchannel diff --git a/audio/sfx/battle_34.asm b/audio/sfx/battle_34.asm new file mode 100644 index 00000000..ac80eeea --- /dev/null +++ b/audio/sfx/battle_34.asm @@ -0,0 +1,22 @@ +SFX_Battle_34_Ch1: ; 208b5 (8:48b5) + dutycycle 237 + unknownsfx0x20 8, 255, 248, 3 + unknownsfx0x20 15, 255, 0, 4 + unknownsfx0x20 15, 243, 0, 4 + endchannel + + +SFX_Battle_34_Ch2: ; 208c4 (8:48c4) + dutycycle 180 + unknownsfx0x20 8, 239, 192, 3 + unknownsfx0x20 15, 239, 192, 3 + unknownsfx0x20 15, 227, 192, 3 + endchannel + + +SFX_Battle_34_Ch3: ; 208d3 (8:48d3) + unknownnoise0x20 4, 255, 81 + unknownnoise0x20 8, 255, 84 + unknownnoise0x20 15, 255, 85 + unknownnoise0x20 15, 243, 86 + endchannel diff --git a/audio/sfx/battle_35.asm b/audio/sfx/battle_35.asm new file mode 100644 index 00000000..7e64aca9 --- /dev/null +++ b/audio/sfx/battle_35.asm @@ -0,0 +1,29 @@ +SFX_Battle_35_Ch1: ; 208e0 (8:48e0) + executemusic + vibrato 10, 2, 4 + duty 2 + notetype 10, 8, 7 + octave 5 + G# 8 + octave 6 + F# 4 + E_ 4 + octave 5 + G# 8 + endchannel + + +SFX_Battle_35_Ch2: ; 208f0 (8:48f0) + executemusic + vibrato 10, 2, 3 + duty 2 + notetype 11, 6, 7 + octave 5 + G# 8 + notetype 10, 6, 7 + octave 6 + F# 4 + E_ 4 + octave 5 + G# 8 + endchannel diff --git a/audio/sfx/battle_36.asm b/audio/sfx/battle_36.asm new file mode 100644 index 00000000..f878a1c8 --- /dev/null +++ b/audio/sfx/battle_36.asm @@ -0,0 +1,47 @@ +SFX_Battle_36_Ch1: ; 20902 (8:4902) + duty 0 + unknownsfx0x20 2, 241, 128, 7 + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 2, 241, 144, 7 + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 2, 241, 160, 7 + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 2, 241, 176, 7 + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 2, 241, 192, 7 + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 2, 241, 208, 7 + +SFX_Battle_36_branch_20930: + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 2, 241, 224, 7 + loopchannel 12, SFX_Battle_36_branch_20930 + unknownsfx0x20 15, 241, 0, 7 + endchannel + + +SFX_Battle_36_Ch2: ; 20941 (8:4941) + dutycycle 179 + unknownsfx0x20 2, 241, 129, 7 + unknownsfx0x20 2, 241, 1, 7 + unknownsfx0x20 2, 241, 145, 7 + unknownsfx0x20 2, 241, 1, 7 + unknownsfx0x20 2, 241, 161, 7 + unknownsfx0x20 2, 241, 1, 7 + unknownsfx0x20 2, 241, 177, 7 + unknownsfx0x20 2, 241, 1, 7 + unknownsfx0x20 2, 241, 193, 7 + unknownsfx0x20 2, 241, 1, 7 + unknownsfx0x20 2, 241, 209, 7 + unknownsfx0x20 2, 241, 1, 7 + unknownsfx0x20 2, 241, 225, 7 + loopchannel 12, SFX_Battle_36_branch_20930 + unknownsfx0x20 15, 241, 1, 7 + endchannel + + +SFX_Battle_36_Ch3: ; 20980 (8:4980) + unknownnoise0x20 1, 209, 73 + unknownnoise0x20 1, 209, 41 + loopchannel 26, SFX_Battle_36_Ch3 + endchannel diff --git a/audio/sfx/caught_mon.asm b/audio/sfx/caught_mon.asm new file mode 100644 index 00000000..d841f57a --- /dev/null +++ b/audio/sfx/caught_mon.asm @@ -0,0 +1,61 @@ +SFX_Caught_Mon_Ch1: ; 23a13 (8:7a13) + executemusic + tempo 256 + volume 7, 7 + duty 3 + toggleperfectpitch + notetype 6, 11, 2 + octave 3 + E_ 2 + F# 2 + G# 2 + G# 1 + G# 1 + B_ 2 + octave 4 + C# 2 + D# 2 + D# 1 + D# 1 + notetype 6, 11, 5 + E_ 8 + endchannel + + +SFX_Caught_Mon_Ch2: ; 23a2e (8:7a2e) + executemusic + duty 2 + notetype 6, 12, 2 + octave 4 + G# 2 + G# 1 + G# 1 + E_ 2 + E_ 1 + E_ 1 + B_ 2 + B_ 1 + B_ 1 + A_ 2 + A_ 1 + A_ 1 + notetype 6, 12, 5 + G# 8 + endchannel + + +SFX_Caught_Mon_Ch3: ; 23a44 (8:7a44) + executemusic + notetype 6, 1, 0 + octave 4 + B_ 2 + rest 2 + octave 5 + C# 2 + rest 2 + D# 2 + rest 2 + F# 2 + G_ 2 + G# 4 + endchannel diff --git a/audio/sfx/collision_1.asm b/audio/sfx/collision_1.asm new file mode 100644 index 00000000..4b9c4a7e --- /dev/null +++ b/audio/sfx/collision_1.asm @@ -0,0 +1,6 @@ +SFX_Collision_1_Ch1: ; 8447 (2:4447) + duty 2 + unknownsfx0x10 90 + unknownsfx0x20 15, 241, 0, 3 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/collision_3.asm b/audio/sfx/collision_3.asm new file mode 100644 index 00000000..18806c1f --- /dev/null +++ b/audio/sfx/collision_3.asm @@ -0,0 +1,6 @@ +SFX_Collision_3_Ch1: ; 7c430 (1f:4430) + duty 2 + unknownsfx0x10 90 + unknownsfx0x20 15, 241, 0, 3 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/cry00_1.asm b/audio/sfx/cry00_1.asm new file mode 100644 index 00000000..f29e29ab --- /dev/null +++ b/audio/sfx/cry00_1.asm @@ -0,0 +1,21 @@ +SFX_Cry00_1_Ch1: ; 8987 (2:4987) + dutycycle 245 + unknownsfx0x20 4, 243, 24, 7 + unknownsfx0x20 15, 229, 152, 7 + unknownsfx0x20 8, 145, 88, 7 + endchannel + + +SFX_Cry00_1_Ch2: ; 8996 (2:4996) + dutycycle 160 + unknownsfx0x20 5, 179, 8, 7 + unknownsfx0x20 15, 197, 136, 7 + unknownsfx0x20 8, 113, 72, 7 + endchannel + + +SFX_Cry00_1_Ch3: ; 89a5 (2:49a5) + unknownnoise0x20 3, 161, 28 + unknownnoise0x20 14, 148, 44 + unknownnoise0x20 8, 129, 28 + endchannel diff --git a/audio/sfx/cry00_2.asm b/audio/sfx/cry00_2.asm new file mode 100644 index 00000000..fa069f18 --- /dev/null +++ b/audio/sfx/cry00_2.asm @@ -0,0 +1,21 @@ +SFX_Cry00_2_Ch1: ; 20c2f (8:4c2f) + dutycycle 245 + unknownsfx0x20 4, 243, 24, 7 + unknownsfx0x20 15, 229, 152, 7 + unknownsfx0x20 8, 145, 88, 7 + endchannel + + +SFX_Cry00_2_Ch2: ; 20c3e (8:4c3e) + dutycycle 160 + unknownsfx0x20 5, 179, 8, 7 + unknownsfx0x20 15, 197, 136, 7 + unknownsfx0x20 8, 113, 72, 7 + endchannel + + +SFX_Cry00_2_Ch3: ; 20c4d (8:4c4d) + unknownnoise0x20 3, 161, 28 + unknownnoise0x20 14, 148, 44 + unknownnoise0x20 8, 129, 28 + endchannel diff --git a/audio/sfx/cry00_3.asm b/audio/sfx/cry00_3.asm new file mode 100644 index 00000000..bdeadab5 --- /dev/null +++ b/audio/sfx/cry00_3.asm @@ -0,0 +1,21 @@ +SFX_Cry00_3_Ch1: ; 7c9fc (1f:49fc) + dutycycle 245 + unknownsfx0x20 4, 243, 24, 7 + unknownsfx0x20 15, 229, 152, 7 + unknownsfx0x20 8, 145, 88, 7 + endchannel + + +SFX_Cry00_3_Ch2: ; 7ca0b (1f:4a0b) + dutycycle 160 + unknownsfx0x20 5, 179, 8, 7 + unknownsfx0x20 15, 197, 136, 7 + unknownsfx0x20 8, 113, 72, 7 + endchannel + + +SFX_Cry00_3_Ch3: ; 7ca1a (1f:4a1a) + unknownnoise0x20 3, 161, 28 + unknownnoise0x20 14, 148, 44 + unknownnoise0x20 8, 129, 28 + endchannel diff --git a/audio/sfx/cry01_1.asm b/audio/sfx/cry01_1.asm new file mode 100644 index 00000000..835d41f7 --- /dev/null +++ b/audio/sfx/cry01_1.asm @@ -0,0 +1,24 @@ +SFX_Cry01_1_Ch1: ; 8b97 (2:4b97) + dutycycle 160 + unknownsfx0x20 4, 243, 0, 6 + unknownsfx0x20 8, 213, 96, 7 + unknownsfx0x20 3, 226, 32, 7 + unknownsfx0x20 8, 209, 16, 7 + endchannel + + +SFX_Cry01_1_Ch2: ; 8baa (2:4baa) + dutycycle 90 + unknownsfx0x20 5, 179, 241, 6 + unknownsfx0x20 7, 197, 82, 7 + unknownsfx0x20 3, 162, 17, 7 + unknownsfx0x20 8, 177, 1, 6 + endchannel + + +SFX_Cry01_1_Ch3: ; 8bbd (2:4bbd) + unknownnoise0x20 3, 162, 60 + unknownnoise0x20 12, 148, 44 + unknownnoise0x20 3, 130, 28 + unknownnoise0x20 8, 113, 44 + endchannel diff --git a/audio/sfx/cry01_2.asm b/audio/sfx/cry01_2.asm new file mode 100644 index 00000000..bcafa873 --- /dev/null +++ b/audio/sfx/cry01_2.asm @@ -0,0 +1,24 @@ +SFX_Cry01_2_Ch1: ; 20e3f (8:4e3f) + dutycycle 160 + unknownsfx0x20 4, 243, 0, 6 + unknownsfx0x20 8, 213, 96, 7 + unknownsfx0x20 3, 226, 32, 7 + unknownsfx0x20 8, 209, 16, 7 + endchannel + + +SFX_Cry01_2_Ch2: ; 20e52 (8:4e52) + dutycycle 90 + unknownsfx0x20 5, 179, 241, 6 + unknownsfx0x20 7, 197, 82, 7 + unknownsfx0x20 3, 162, 17, 7 + unknownsfx0x20 8, 177, 1, 6 + endchannel + + +SFX_Cry01_2_Ch3: ; 20e65 (8:4e65) + unknownnoise0x20 3, 162, 60 + unknownnoise0x20 12, 148, 44 + unknownnoise0x20 3, 130, 28 + unknownnoise0x20 8, 113, 44 + endchannel diff --git a/audio/sfx/cry01_3.asm b/audio/sfx/cry01_3.asm new file mode 100644 index 00000000..1a31c7ca --- /dev/null +++ b/audio/sfx/cry01_3.asm @@ -0,0 +1,24 @@ +SFX_Cry01_3_Ch1: ; 7cc0c (1f:4c0c) + dutycycle 160 + unknownsfx0x20 4, 243, 0, 6 + unknownsfx0x20 8, 213, 96, 7 + unknownsfx0x20 3, 226, 32, 7 + unknownsfx0x20 8, 209, 16, 7 + endchannel + + +SFX_Cry01_3_Ch2: ; 7cc1f (1f:4c1f) + dutycycle 90 + unknownsfx0x20 5, 179, 241, 6 + unknownsfx0x20 7, 197, 82, 7 + unknownsfx0x20 3, 162, 17, 7 + unknownsfx0x20 8, 177, 1, 6 + endchannel + + +SFX_Cry01_3_Ch3: ; 7cc32 (1f:4c32) + unknownnoise0x20 3, 162, 60 + unknownnoise0x20 12, 148, 44 + unknownnoise0x20 3, 130, 28 + unknownnoise0x20 8, 113, 44 + endchannel diff --git a/audio/sfx/cry02_1.asm b/audio/sfx/cry02_1.asm new file mode 100644 index 00000000..97cff95e --- /dev/null +++ b/audio/sfx/cry02_1.asm @@ -0,0 +1,17 @@ +SFX_Cry02_1_Ch1: ; 8b0c (2:4b0c) + duty 0 + unknownsfx0x20 8, 245, 128, 4 + unknownsfx0x20 2, 225, 224, 5 + unknownsfx0x20 8, 209, 220, 5 + endchannel + + +SFX_Cry02_1_Ch2: ; 8b1b (2:4b1b) + dutycycle 165 + unknownsfx0x20 7, 149, 65, 4 + unknownsfx0x20 2, 129, 33, 5 + unknownsfx0x20 8, 97, 26, 5 + + +SFX_Cry02_1_Ch3: ; 8b29 (2:4b29) + endchannel diff --git a/audio/sfx/cry02_2.asm b/audio/sfx/cry02_2.asm new file mode 100644 index 00000000..7d67fc4a --- /dev/null +++ b/audio/sfx/cry02_2.asm @@ -0,0 +1,17 @@ +SFX_Cry02_2_Ch1: ; 20db4 (8:4db4) + duty 0 + unknownsfx0x20 8, 245, 128, 4 + unknownsfx0x20 2, 225, 224, 5 + unknownsfx0x20 8, 209, 220, 5 + endchannel + + +SFX_Cry02_2_Ch2: ; 20dc3 (8:4dc3) + dutycycle 165 + unknownsfx0x20 7, 149, 65, 4 + unknownsfx0x20 2, 129, 33, 5 + unknownsfx0x20 8, 97, 26, 5 + + +SFX_Cry02_2_Ch3: ; 20dd1 (8:4dd1) + endchannel diff --git a/audio/sfx/cry02_3.asm b/audio/sfx/cry02_3.asm new file mode 100644 index 00000000..604d084a --- /dev/null +++ b/audio/sfx/cry02_3.asm @@ -0,0 +1,17 @@ +SFX_Cry02_3_Ch1: ; 7cb81 (1f:4b81) + duty 0 + unknownsfx0x20 8, 245, 128, 4 + unknownsfx0x20 2, 225, 224, 5 + unknownsfx0x20 8, 209, 220, 5 + endchannel + + +SFX_Cry02_3_Ch2: ; 7cb90 (1f:4b90) + dutycycle 165 + unknownsfx0x20 7, 149, 65, 4 + unknownsfx0x20 2, 129, 33, 5 + unknownsfx0x20 8, 97, 26, 5 + + +SFX_Cry02_3_Ch3: ; 7cb9e (1f:4b9e) + endchannel diff --git a/audio/sfx/cry03_1.asm b/audio/sfx/cry03_1.asm new file mode 100644 index 00000000..42f2c5d3 --- /dev/null +++ b/audio/sfx/cry03_1.asm @@ -0,0 +1,30 @@ +SFX_Cry03_1_Ch1: ; 88a6 (2:48a6) + dutycycle 240 + unknownsfx0x20 4, 247, 8, 6 + unknownsfx0x20 6, 230, 0, 6 + unknownsfx0x20 6, 215, 240, 5 + unknownsfx0x20 6, 196, 224, 5 + unknownsfx0x20 5, 211, 192, 5 + unknownsfx0x20 4, 211, 160, 5 + unknownsfx0x20 8, 225, 128, 5 + endchannel + + +SFX_Cry03_1_Ch2: ; 88c5 (2:48c5) + dutycycle 10 + unknownsfx0x20 4, 199, 4, 5 + unknownsfx0x20 6, 166, 2, 5 + unknownsfx0x20 6, 151, 241, 4 + unknownsfx0x20 4, 180, 225, 4 + unknownsfx0x20 5, 163, 194, 4 + unknownsfx0x20 4, 179, 163, 4 + unknownsfx0x20 8, 193, 130, 4 + endchannel + + +SFX_Cry03_1_Ch3: ; 88e4 (2:48e4) + unknownnoise0x20 12, 228, 76 + unknownnoise0x20 10, 199, 92 + unknownnoise0x20 12, 182, 76 + unknownnoise0x20 15, 162, 92 + endchannel diff --git a/audio/sfx/cry03_2.asm b/audio/sfx/cry03_2.asm new file mode 100644 index 00000000..92dab482 --- /dev/null +++ b/audio/sfx/cry03_2.asm @@ -0,0 +1,30 @@ +SFX_Cry03_2_Ch1: ; 20b4e (8:4b4e) + dutycycle 240 + unknownsfx0x20 4, 247, 8, 6 + unknownsfx0x20 6, 230, 0, 6 + unknownsfx0x20 6, 215, 240, 5 + unknownsfx0x20 6, 196, 224, 5 + unknownsfx0x20 5, 211, 192, 5 + unknownsfx0x20 4, 211, 160, 5 + unknownsfx0x20 8, 225, 128, 5 + endchannel + + +SFX_Cry03_2_Ch2: ; 20b6d (8:4b6d) + dutycycle 10 + unknownsfx0x20 4, 199, 4, 5 + unknownsfx0x20 6, 166, 2, 5 + unknownsfx0x20 6, 151, 241, 4 + unknownsfx0x20 4, 180, 225, 4 + unknownsfx0x20 5, 163, 194, 4 + unknownsfx0x20 4, 179, 163, 4 + unknownsfx0x20 8, 193, 130, 4 + endchannel + + +SFX_Cry03_2_Ch3: ; 20b8c (8:4b8c) + unknownnoise0x20 12, 228, 76 + unknownnoise0x20 10, 199, 92 + unknownnoise0x20 12, 182, 76 + unknownnoise0x20 15, 162, 92 + endchannel diff --git a/audio/sfx/cry03_3.asm b/audio/sfx/cry03_3.asm new file mode 100644 index 00000000..0161b820 --- /dev/null +++ b/audio/sfx/cry03_3.asm @@ -0,0 +1,30 @@ +SFX_Cry03_3_Ch1: ; 7c91b (1f:491b) + dutycycle 240 + unknownsfx0x20 4, 247, 8, 6 + unknownsfx0x20 6, 230, 0, 6 + unknownsfx0x20 6, 215, 240, 5 + unknownsfx0x20 6, 196, 224, 5 + unknownsfx0x20 5, 211, 192, 5 + unknownsfx0x20 4, 211, 160, 5 + unknownsfx0x20 8, 225, 128, 5 + endchannel + + +SFX_Cry03_3_Ch2: ; 7c93a (1f:493a) + dutycycle 10 + unknownsfx0x20 4, 199, 4, 5 + unknownsfx0x20 6, 166, 2, 5 + unknownsfx0x20 6, 151, 241, 4 + unknownsfx0x20 4, 180, 225, 4 + unknownsfx0x20 5, 163, 194, 4 + unknownsfx0x20 4, 179, 163, 4 + unknownsfx0x20 8, 193, 130, 4 + endchannel + + +SFX_Cry03_3_Ch3: ; 7c959 (1f:4959) + unknownnoise0x20 12, 228, 76 + unknownnoise0x20 10, 199, 92 + unknownnoise0x20 12, 182, 76 + unknownnoise0x20 15, 162, 92 + endchannel diff --git a/audio/sfx/cry04_1.asm b/audio/sfx/cry04_1.asm new file mode 100644 index 00000000..c80a6bd9 --- /dev/null +++ b/audio/sfx/cry04_1.asm @@ -0,0 +1,32 @@ +SFX_Cry04_1_Ch1: ; 8c55 (2:4c55) + dutycycle 240 + unknownsfx0x20 4, 247, 160, 6 + unknownsfx0x20 8, 230, 164, 6 + unknownsfx0x20 4, 214, 160, 6 + unknownsfx0x20 12, 211, 32, 6 + unknownsfx0x20 8, 195, 36, 6 + unknownsfx0x20 4, 194, 32, 6 + unknownsfx0x20 8, 177, 16, 6 + endchannel + + +SFX_Cry04_1_Ch2: ; 8c74 (2:4c74) + dutycycle 90 + unknownsfx0x20 4, 231, 1, 6 + unknownsfx0x20 8, 214, 3, 6 + unknownsfx0x20 4, 198, 1, 6 + unknownsfx0x20 12, 195, 129, 5 + unknownsfx0x20 8, 179, 131, 5 + unknownsfx0x20 4, 178, 130, 5 + unknownsfx0x20 8, 161, 113, 5 + endchannel + + +SFX_Cry04_1_Ch3: ; 8c93 (2:4c93) + unknownnoise0x20 7, 214, 92 + unknownnoise0x20 8, 230, 76 + unknownnoise0x20 4, 212, 92 + unknownnoise0x20 4, 212, 76 + unknownnoise0x20 7, 195, 76 + unknownnoise0x20 8, 161, 92 + endchannel diff --git a/audio/sfx/cry04_2.asm b/audio/sfx/cry04_2.asm new file mode 100644 index 00000000..dcd866da --- /dev/null +++ b/audio/sfx/cry04_2.asm @@ -0,0 +1,32 @@ +SFX_Cry04_2_Ch1: ; 20efd (8:4efd) + dutycycle 240 + unknownsfx0x20 4, 247, 160, 6 + unknownsfx0x20 8, 230, 164, 6 + unknownsfx0x20 4, 214, 160, 6 + unknownsfx0x20 12, 211, 32, 6 + unknownsfx0x20 8, 195, 36, 6 + unknownsfx0x20 4, 194, 32, 6 + unknownsfx0x20 8, 177, 16, 6 + endchannel + + +SFX_Cry04_2_Ch2: ; 20f1c (8:4f1c) + dutycycle 90 + unknownsfx0x20 4, 231, 1, 6 + unknownsfx0x20 8, 214, 3, 6 + unknownsfx0x20 4, 198, 1, 6 + unknownsfx0x20 12, 195, 129, 5 + unknownsfx0x20 8, 179, 131, 5 + unknownsfx0x20 4, 178, 130, 5 + unknownsfx0x20 8, 161, 113, 5 + endchannel + + +SFX_Cry04_2_Ch3: ; 20f3b (8:4f3b) + unknownnoise0x20 7, 214, 92 + unknownnoise0x20 8, 230, 76 + unknownnoise0x20 4, 212, 92 + unknownnoise0x20 4, 212, 76 + unknownnoise0x20 7, 195, 76 + unknownnoise0x20 8, 161, 92 + endchannel diff --git a/audio/sfx/cry04_3.asm b/audio/sfx/cry04_3.asm new file mode 100644 index 00000000..5d8c6df9 --- /dev/null +++ b/audio/sfx/cry04_3.asm @@ -0,0 +1,32 @@ +SFX_Cry04_3_Ch1: ; 7ccca (1f:4cca) + dutycycle 240 + unknownsfx0x20 4, 247, 160, 6 + unknownsfx0x20 8, 230, 164, 6 + unknownsfx0x20 4, 214, 160, 6 + unknownsfx0x20 12, 211, 32, 6 + unknownsfx0x20 8, 195, 36, 6 + unknownsfx0x20 4, 194, 32, 6 + unknownsfx0x20 8, 177, 16, 6 + endchannel + + +SFX_Cry04_3_Ch2: ; 7cce9 (1f:4ce9) + dutycycle 90 + unknownsfx0x20 4, 231, 1, 6 + unknownsfx0x20 8, 214, 3, 6 + unknownsfx0x20 4, 198, 1, 6 + unknownsfx0x20 12, 195, 129, 5 + unknownsfx0x20 8, 179, 131, 5 + unknownsfx0x20 4, 178, 130, 5 + unknownsfx0x20 8, 161, 113, 5 + endchannel + + +SFX_Cry04_3_Ch3: ; 7cd08 (1f:4d08) + unknownnoise0x20 7, 214, 92 + unknownnoise0x20 8, 230, 76 + unknownnoise0x20 4, 212, 92 + unknownnoise0x20 4, 212, 76 + unknownnoise0x20 7, 195, 76 + unknownnoise0x20 8, 161, 92 + endchannel diff --git a/audio/sfx/cry05_1.asm b/audio/sfx/cry05_1.asm new file mode 100644 index 00000000..891cc50e --- /dev/null +++ b/audio/sfx/cry05_1.asm @@ -0,0 +1,19 @@ +SFX_Cry05_1_Ch1: ; 8a35 (2:4a35) + dutycycle 10 + unknownsfx0x20 6, 226, 0, 5 + unknownsfx0x20 6, 227, 128, 5 + unknownsfx0x20 6, 211, 112, 5 + unknownsfx0x20 8, 161, 96, 5 + endchannel + + +SFX_Cry05_1_Ch2: ; 8a48 (2:4a48) + dutycycle 245 + unknownsfx0x20 6, 226, 130, 4 + unknownsfx0x20 6, 211, 1, 5 + unknownsfx0x20 6, 178, 226, 4 + unknownsfx0x20 8, 129, 193, 4 + + +SFX_Cry05_1_Ch3: ; 8a5a (2:4a5a) + endchannel diff --git a/audio/sfx/cry05_2.asm b/audio/sfx/cry05_2.asm new file mode 100644 index 00000000..98df4c1d --- /dev/null +++ b/audio/sfx/cry05_2.asm @@ -0,0 +1,19 @@ +SFX_Cry05_2_Ch1: ; 20cdd (8:4cdd) + dutycycle 10 + unknownsfx0x20 6, 226, 0, 5 + unknownsfx0x20 6, 227, 128, 5 + unknownsfx0x20 6, 211, 112, 5 + unknownsfx0x20 8, 161, 96, 5 + endchannel + + +SFX_Cry05_2_Ch2: ; 20cf0 (8:4cf0) + dutycycle 245 + unknownsfx0x20 6, 226, 130, 4 + unknownsfx0x20 6, 211, 1, 5 + unknownsfx0x20 6, 178, 226, 4 + unknownsfx0x20 8, 129, 193, 4 + + +SFX_Cry05_2_Ch3: ; 20d02 (8:4d02) + endchannel diff --git a/audio/sfx/cry05_3.asm b/audio/sfx/cry05_3.asm new file mode 100644 index 00000000..a7f88abf --- /dev/null +++ b/audio/sfx/cry05_3.asm @@ -0,0 +1,19 @@ +SFX_Cry05_3_Ch1: ; 7caaa (1f:4aaa) + dutycycle 10 + unknownsfx0x20 6, 226, 0, 5 + unknownsfx0x20 6, 227, 128, 5 + unknownsfx0x20 6, 211, 112, 5 + unknownsfx0x20 8, 161, 96, 5 + endchannel + + +SFX_Cry05_3_Ch2: ; 7cabd (1f:4abd) + dutycycle 245 + unknownsfx0x20 6, 226, 130, 4 + unknownsfx0x20 6, 211, 1, 5 + unknownsfx0x20 6, 178, 226, 4 + unknownsfx0x20 8, 129, 193, 4 + + +SFX_Cry05_3_Ch3: ; 7cacf (1f:4acf) + endchannel diff --git a/audio/sfx/cry06_1.asm b/audio/sfx/cry06_1.asm new file mode 100644 index 00000000..b26004e2 --- /dev/null +++ b/audio/sfx/cry06_1.asm @@ -0,0 +1,22 @@ +SFX_Cry06_1_Ch1: ; 89df (2:49df) + dutycycle 250 + unknownsfx0x20 6, 131, 71, 2 + unknownsfx0x20 15, 98, 38, 2 + unknownsfx0x20 4, 82, 69, 2 + unknownsfx0x20 9, 99, 6, 2 + unknownsfx0x20 15, 130, 37, 2 + unknownsfx0x20 15, 66, 7, 2 + + +SFX_Cry06_1_Ch2: ; 89f9 (2:49f9) + endchannel + + +SFX_Cry06_1_Ch3: ; 89fa (2:49fa) + unknownnoise0x20 8, 212, 140 + unknownnoise0x20 4, 226, 156 + unknownnoise0x20 15, 198, 140 + unknownnoise0x20 8, 228, 172 + unknownnoise0x20 15, 215, 156 + unknownnoise0x20 15, 242, 172 + endchannel diff --git a/audio/sfx/cry06_2.asm b/audio/sfx/cry06_2.asm new file mode 100644 index 00000000..283c1360 --- /dev/null +++ b/audio/sfx/cry06_2.asm @@ -0,0 +1,22 @@ +SFX_Cry06_2_Ch1: ; 20c87 (8:4c87) + dutycycle 250 + unknownsfx0x20 6, 131, 71, 2 + unknownsfx0x20 15, 98, 38, 2 + unknownsfx0x20 4, 82, 69, 2 + unknownsfx0x20 9, 99, 6, 2 + unknownsfx0x20 15, 130, 37, 2 + unknownsfx0x20 15, 66, 7, 2 + + +SFX_Cry06_2_Ch2: ; 20ca1 (8:4ca1) + endchannel + + +SFX_Cry06_2_Ch3: ; 20ca2 (8:4ca2) + unknownnoise0x20 8, 212, 140 + unknownnoise0x20 4, 226, 156 + unknownnoise0x20 15, 198, 140 + unknownnoise0x20 8, 228, 172 + unknownnoise0x20 15, 215, 156 + unknownnoise0x20 15, 242, 172 + endchannel diff --git a/audio/sfx/cry06_3.asm b/audio/sfx/cry06_3.asm new file mode 100644 index 00000000..9feecc3b --- /dev/null +++ b/audio/sfx/cry06_3.asm @@ -0,0 +1,22 @@ +SFX_Cry06_3_Ch1: ; 7ca54 (1f:4a54) + dutycycle 250 + unknownsfx0x20 6, 131, 71, 2 + unknownsfx0x20 15, 98, 38, 2 + unknownsfx0x20 4, 82, 69, 2 + unknownsfx0x20 9, 99, 6, 2 + unknownsfx0x20 15, 130, 37, 2 + unknownsfx0x20 15, 66, 7, 2 + + +SFX_Cry06_3_Ch2: ; 7ca6e (1f:4a6e) + endchannel + + +SFX_Cry06_3_Ch3: ; 7ca6f (1f:4a6f) + unknownnoise0x20 8, 212, 140 + unknownnoise0x20 4, 226, 156 + unknownnoise0x20 15, 198, 140 + unknownnoise0x20 8, 228, 172 + unknownnoise0x20 15, 215, 156 + unknownnoise0x20 15, 242, 172 + endchannel diff --git a/audio/sfx/cry07_1.asm b/audio/sfx/cry07_1.asm new file mode 100644 index 00000000..b1346b94 --- /dev/null +++ b/audio/sfx/cry07_1.asm @@ -0,0 +1,21 @@ +SFX_Cry07_1_Ch1: ; 8a0d (2:4a0d) + dutycycle 240 + unknownsfx0x20 4, 243, 224, 6 + unknownsfx0x20 15, 228, 64, 6 + unknownsfx0x20 8, 193, 32, 6 + endchannel + + +SFX_Cry07_1_Ch2: ; 8a1c (2:4a1c) + dutycycle 10 + unknownsfx0x20 3, 195, 131, 6 + unknownsfx0x20 14, 180, 2, 6 + unknownsfx0x20 8, 161, 1, 6 + endchannel + + +SFX_Cry07_1_Ch3: ; 8a2b (2:4a2b) + unknownnoise0x20 4, 211, 92 + unknownnoise0x20 15, 230, 76 + unknownnoise0x20 8, 177, 92 + endchannel diff --git a/audio/sfx/cry07_2.asm b/audio/sfx/cry07_2.asm new file mode 100644 index 00000000..075b7139 --- /dev/null +++ b/audio/sfx/cry07_2.asm @@ -0,0 +1,21 @@ +SFX_Cry07_2_Ch1: ; 20cb5 (8:4cb5) + dutycycle 240 + unknownsfx0x20 4, 243, 224, 6 + unknownsfx0x20 15, 228, 64, 6 + unknownsfx0x20 8, 193, 32, 6 + endchannel + + +SFX_Cry07_2_Ch2: ; 20cc4 (8:4cc4) + dutycycle 10 + unknownsfx0x20 3, 195, 131, 6 + unknownsfx0x20 14, 180, 2, 6 + unknownsfx0x20 8, 161, 1, 6 + endchannel + + +SFX_Cry07_2_Ch3: ; 20cd3 (8:4cd3) + unknownnoise0x20 4, 211, 92 + unknownnoise0x20 15, 230, 76 + unknownnoise0x20 8, 177, 92 + endchannel diff --git a/audio/sfx/cry07_3.asm b/audio/sfx/cry07_3.asm new file mode 100644 index 00000000..4955e115 --- /dev/null +++ b/audio/sfx/cry07_3.asm @@ -0,0 +1,21 @@ +SFX_Cry07_3_Ch1: ; 7ca82 (1f:4a82) + dutycycle 240 + unknownsfx0x20 4, 243, 224, 6 + unknownsfx0x20 15, 228, 64, 6 + unknownsfx0x20 8, 193, 32, 6 + endchannel + + +SFX_Cry07_3_Ch2: ; 7ca91 (1f:4a91) + dutycycle 10 + unknownsfx0x20 3, 195, 131, 6 + unknownsfx0x20 14, 180, 2, 6 + unknownsfx0x20 8, 161, 1, 6 + endchannel + + +SFX_Cry07_3_Ch3: ; 7caa0 (1f:4aa0) + unknownnoise0x20 4, 211, 92 + unknownnoise0x20 15, 230, 76 + unknownnoise0x20 8, 177, 92 + endchannel diff --git a/audio/sfx/cry08_1.asm b/audio/sfx/cry08_1.asm new file mode 100644 index 00000000..65131766 --- /dev/null +++ b/audio/sfx/cry08_1.asm @@ -0,0 +1,23 @@ +SFX_Cry08_1_Ch1: ; 8c25 (2:4c25) + dutycycle 240 + unknownsfx0x20 15, 246, 101, 5 + unknownsfx0x20 10, 228, 124, 5 + unknownsfx0x20 3, 194, 92, 5 + unknownsfx0x20 15, 178, 60, 5 + endchannel + + +SFX_Cry08_1_Ch2: ; 8c38 (2:4c38) + dutycycle 90 + unknownsfx0x20 14, 214, 3, 5 + unknownsfx0x20 9, 180, 27, 5 + unknownsfx0x20 4, 146, 250, 4 + unknownsfx0x20 15, 162, 219, 4 + endchannel + + +SFX_Cry08_1_Ch3: ; 8c4b (2:4c4b) + unknownnoise0x20 12, 230, 76 + unknownnoise0x20 11, 215, 92 + unknownnoise0x20 15, 194, 76 + endchannel diff --git a/audio/sfx/cry08_2.asm b/audio/sfx/cry08_2.asm new file mode 100644 index 00000000..71a0e205 --- /dev/null +++ b/audio/sfx/cry08_2.asm @@ -0,0 +1,23 @@ +SFX_Cry08_2_Ch1: ; 20ecd (8:4ecd) + dutycycle 240 + unknownsfx0x20 15, 246, 101, 5 + unknownsfx0x20 10, 228, 124, 5 + unknownsfx0x20 3, 194, 92, 5 + unknownsfx0x20 15, 178, 60, 5 + endchannel + + +SFX_Cry08_2_Ch2: ; 20ee0 (8:4ee0) + dutycycle 90 + unknownsfx0x20 14, 214, 3, 5 + unknownsfx0x20 9, 180, 27, 5 + unknownsfx0x20 4, 146, 250, 4 + unknownsfx0x20 15, 162, 219, 4 + endchannel + + +SFX_Cry08_2_Ch3: ; 20ef3 (8:4ef3) + unknownnoise0x20 12, 230, 76 + unknownnoise0x20 11, 215, 92 + unknownnoise0x20 15, 194, 76 + endchannel diff --git a/audio/sfx/cry08_3.asm b/audio/sfx/cry08_3.asm new file mode 100644 index 00000000..bfda8c3d --- /dev/null +++ b/audio/sfx/cry08_3.asm @@ -0,0 +1,23 @@ +SFX_Cry08_3_Ch1: ; 7cc9a (1f:4c9a) + dutycycle 240 + unknownsfx0x20 15, 246, 101, 5 + unknownsfx0x20 10, 228, 124, 5 + unknownsfx0x20 3, 194, 92, 5 + unknownsfx0x20 15, 178, 60, 5 + endchannel + + +SFX_Cry08_3_Ch2: ; 7ccad (1f:4cad) + dutycycle 90 + unknownsfx0x20 14, 214, 3, 5 + unknownsfx0x20 9, 180, 27, 5 + unknownsfx0x20 4, 146, 250, 4 + unknownsfx0x20 15, 162, 219, 4 + endchannel + + +SFX_Cry08_3_Ch3: ; 7ccc0 (1f:4cc0) + unknownnoise0x20 12, 230, 76 + unknownnoise0x20 11, 215, 92 + unknownnoise0x20 15, 194, 76 + endchannel diff --git a/audio/sfx/cry09_1.asm b/audio/sfx/cry09_1.asm new file mode 100644 index 00000000..29dffdb6 --- /dev/null +++ b/audio/sfx/cry09_1.asm @@ -0,0 +1,35 @@ +SFX_Cry09_1_Ch1: ; 872f (2:472f) + dutycycle 240 + unknownsfx0x20 15, 247, 160, 7 + unknownsfx0x20 6, 230, 163, 7 + unknownsfx0x20 10, 244, 160, 7 + dutycycle 165 + unknownsfx0x20 10, 246, 216, 7 + unknownsfx0x20 4, 227, 215, 7 + unknownsfx0x20 15, 242, 216, 7 + endchannel + + +SFX_Cry09_1_Ch2: ; 874c (2:474c) + dutycycle 5 + unknownsfx0x20 2, 8, 0, 0 + unknownsfx0x20 15, 167, 161, 6 + unknownsfx0x20 6, 134, 162, 6 + unknownsfx0x20 10, 116, 161, 6 + dutycycle 95 + unknownsfx0x20 10, 118, 214, 6 + unknownsfx0x20 4, 131, 217, 6 + unknownsfx0x20 15, 162, 215, 6 + endchannel + + +SFX_Cry09_1_Ch3: ; 876d (2:476d) + unknownnoise0x20 2, 242, 60 + unknownnoise0x20 8, 228, 62 + unknownnoise0x20 15, 215, 60 + unknownnoise0x20 6, 197, 59 + unknownnoise0x20 6, 228, 61 + unknownnoise0x20 8, 182, 60 + unknownnoise0x20 6, 212, 61 + unknownnoise0x20 8, 193, 59 + endchannel diff --git a/audio/sfx/cry09_2.asm b/audio/sfx/cry09_2.asm new file mode 100644 index 00000000..c0e61ec7 --- /dev/null +++ b/audio/sfx/cry09_2.asm @@ -0,0 +1,35 @@ +SFX_Cry09_2_Ch1: ; 209d7 (8:49d7) + dutycycle 240 + unknownsfx0x20 15, 247, 160, 7 + unknownsfx0x20 6, 230, 163, 7 + unknownsfx0x20 10, 244, 160, 7 + dutycycle 165 + unknownsfx0x20 10, 246, 216, 7 + unknownsfx0x20 4, 227, 215, 7 + unknownsfx0x20 15, 242, 216, 7 + endchannel + + +SFX_Cry09_2_Ch2: ; 209f4 (8:49f4) + dutycycle 5 + unknownsfx0x20 2, 8, 0, 0 + unknownsfx0x20 15, 167, 161, 6 + unknownsfx0x20 6, 134, 162, 6 + unknownsfx0x20 10, 116, 161, 6 + dutycycle 95 + unknownsfx0x20 10, 118, 214, 6 + unknownsfx0x20 4, 131, 217, 6 + unknownsfx0x20 15, 162, 215, 6 + endchannel + + +SFX_Cry09_2_Ch3: ; 20a15 (8:4a15) + unknownnoise0x20 2, 242, 60 + unknownnoise0x20 8, 228, 62 + unknownnoise0x20 15, 215, 60 + unknownnoise0x20 6, 197, 59 + unknownnoise0x20 6, 228, 61 + unknownnoise0x20 8, 182, 60 + unknownnoise0x20 6, 212, 61 + unknownnoise0x20 8, 193, 59 + endchannel diff --git a/audio/sfx/cry09_3.asm b/audio/sfx/cry09_3.asm new file mode 100644 index 00000000..c5c0f599 --- /dev/null +++ b/audio/sfx/cry09_3.asm @@ -0,0 +1,35 @@ +SFX_Cry09_3_Ch1: ; 7c7a4 (1f:47a4) + dutycycle 240 + unknownsfx0x20 15, 247, 160, 7 + unknownsfx0x20 6, 230, 163, 7 + unknownsfx0x20 10, 244, 160, 7 + dutycycle 165 + unknownsfx0x20 10, 246, 216, 7 + unknownsfx0x20 4, 227, 215, 7 + unknownsfx0x20 15, 242, 216, 7 + endchannel + + +SFX_Cry09_3_Ch2: ; 7c7c1 (1f:47c1) + dutycycle 5 + unknownsfx0x20 2, 8, 0, 0 + unknownsfx0x20 15, 167, 161, 6 + unknownsfx0x20 6, 134, 162, 6 + unknownsfx0x20 10, 116, 161, 6 + dutycycle 95 + unknownsfx0x20 10, 118, 214, 6 + unknownsfx0x20 4, 131, 217, 6 + unknownsfx0x20 15, 162, 215, 6 + endchannel + + +SFX_Cry09_3_Ch3: ; 7c7e2 (1f:47e2) + unknownnoise0x20 2, 242, 60 + unknownnoise0x20 8, 228, 62 + unknownnoise0x20 15, 215, 60 + unknownnoise0x20 6, 197, 59 + unknownnoise0x20 6, 228, 61 + unknownnoise0x20 8, 182, 60 + unknownnoise0x20 6, 212, 61 + unknownnoise0x20 8, 193, 59 + endchannel diff --git a/audio/sfx/cry0a_1.asm b/audio/sfx/cry0a_1.asm new file mode 100644 index 00000000..9a8e616b --- /dev/null +++ b/audio/sfx/cry0a_1.asm @@ -0,0 +1,35 @@ +SFX_Cry0A_1_Ch1: ; 8bca (2:4bca) + dutycycle 240 + unknownsfx0x20 8, 247, 224, 6 + unknownsfx0x20 6, 230, 229, 6 + unknownsfx0x20 3, 244, 224, 6 + unknownsfx0x20 3, 246, 208, 6 + unknownsfx0x20 3, 227, 192, 6 + unknownsfx0x20 4, 242, 176, 6 + unknownsfx0x20 15, 162, 200, 6 + endchannel + + +SFX_Cry0A_1_Ch2: ; 8be9 (2:4be9) + dutycycle 5 + unknownsfx0x20 3, 8, 0, 0 + unknownsfx0x20 8, 167, 161, 6 + unknownsfx0x20 6, 134, 163, 6 + unknownsfx0x20 3, 116, 161, 6 + unknownsfx0x20 3, 118, 145, 6 + unknownsfx0x20 3, 131, 130, 6 + unknownsfx0x20 4, 162, 113, 6 + unknownsfx0x20 15, 114, 137, 6 + endchannel + + +SFX_Cry0A_1_Ch3: ; 8c0c (2:4c0c) + unknownnoise0x20 2, 242, 60 + unknownnoise0x20 8, 228, 62 + unknownnoise0x20 8, 215, 60 + unknownnoise0x20 5, 197, 59 + unknownnoise0x20 3, 212, 44 + unknownnoise0x20 2, 182, 60 + unknownnoise0x20 3, 164, 44 + unknownnoise0x20 8, 145, 60 + endchannel diff --git a/audio/sfx/cry0a_2.asm b/audio/sfx/cry0a_2.asm new file mode 100644 index 00000000..0386099d --- /dev/null +++ b/audio/sfx/cry0a_2.asm @@ -0,0 +1,35 @@ +SFX_Cry0A_2_Ch1: ; 20e72 (8:4e72) + dutycycle 240 + unknownsfx0x20 8, 247, 224, 6 + unknownsfx0x20 6, 230, 229, 6 + unknownsfx0x20 3, 244, 224, 6 + unknownsfx0x20 3, 246, 208, 6 + unknownsfx0x20 3, 227, 192, 6 + unknownsfx0x20 4, 242, 176, 6 + unknownsfx0x20 15, 162, 200, 6 + endchannel + + +SFX_Cry0A_2_Ch2: ; 20e91 (8:4e91) + dutycycle 5 + unknownsfx0x20 3, 8, 0, 0 + unknownsfx0x20 8, 167, 161, 6 + unknownsfx0x20 6, 134, 163, 6 + unknownsfx0x20 3, 116, 161, 6 + unknownsfx0x20 3, 118, 145, 6 + unknownsfx0x20 3, 131, 130, 6 + unknownsfx0x20 4, 162, 113, 6 + unknownsfx0x20 15, 114, 137, 6 + endchannel + + +SFX_Cry0A_2_Ch3: ; 20eb4 (8:4eb4) + unknownnoise0x20 2, 242, 60 + unknownnoise0x20 8, 228, 62 + unknownnoise0x20 8, 215, 60 + unknownnoise0x20 5, 197, 59 + unknownnoise0x20 3, 212, 44 + unknownnoise0x20 2, 182, 60 + unknownnoise0x20 3, 164, 44 + unknownnoise0x20 8, 145, 60 + endchannel diff --git a/audio/sfx/cry0a_3.asm b/audio/sfx/cry0a_3.asm new file mode 100644 index 00000000..4cf59333 --- /dev/null +++ b/audio/sfx/cry0a_3.asm @@ -0,0 +1,35 @@ +SFX_Cry0A_3_Ch1: ; 7cc3f (1f:4c3f) + dutycycle 240 + unknownsfx0x20 8, 247, 224, 6 + unknownsfx0x20 6, 230, 229, 6 + unknownsfx0x20 3, 244, 224, 6 + unknownsfx0x20 3, 246, 208, 6 + unknownsfx0x20 3, 227, 192, 6 + unknownsfx0x20 4, 242, 176, 6 + unknownsfx0x20 15, 162, 200, 6 + endchannel + + +SFX_Cry0A_3_Ch2: ; 7cc5e (1f:4c5e) + dutycycle 5 + unknownsfx0x20 3, 8, 0, 0 + unknownsfx0x20 8, 167, 161, 6 + unknownsfx0x20 6, 134, 163, 6 + unknownsfx0x20 3, 116, 161, 6 + unknownsfx0x20 3, 118, 145, 6 + unknownsfx0x20 3, 131, 130, 6 + unknownsfx0x20 4, 162, 113, 6 + unknownsfx0x20 15, 114, 137, 6 + endchannel + + +SFX_Cry0A_3_Ch3: ; 7cc81 (1f:4c81) + unknownnoise0x20 2, 242, 60 + unknownnoise0x20 8, 228, 62 + unknownnoise0x20 8, 215, 60 + unknownnoise0x20 5, 197, 59 + unknownnoise0x20 3, 212, 44 + unknownnoise0x20 2, 182, 60 + unknownnoise0x20 3, 164, 44 + unknownnoise0x20 8, 145, 60 + endchannel diff --git a/audio/sfx/cry0b_1.asm b/audio/sfx/cry0b_1.asm new file mode 100644 index 00000000..0f0edca7 --- /dev/null +++ b/audio/sfx/cry0b_1.asm @@ -0,0 +1,37 @@ +SFX_Cry0B_1_Ch1: ; 8a5b (2:4a5b) + dutycycle 204 + unknownsfx0x20 4, 241, 0, 7 + unknownsfx0x20 4, 225, 128, 7 + unknownsfx0x20 4, 209, 64, 7 + unknownsfx0x20 4, 225, 64, 7 + unknownsfx0x20 4, 241, 128, 7 + unknownsfx0x20 4, 209, 0, 7 + unknownsfx0x20 4, 241, 1, 7 + unknownsfx0x20 4, 209, 130, 7 + unknownsfx0x20 4, 193, 66, 7 + unknownsfx0x20 8, 177, 65, 7 + endchannel + + +SFX_Cry0B_1_Ch2: ; 8a86 (2:4a86) + dutycycle 68 + unknownsfx0x20 12, 8, 0, 0 + unknownsfx0x20 4, 241, 1, 7 + unknownsfx0x20 4, 225, 130, 7 + unknownsfx0x20 4, 209, 65, 7 + unknownsfx0x20 4, 225, 65, 7 + unknownsfx0x20 4, 241, 130, 7 + unknownsfx0x20 8, 209, 1, 7 + endchannel + + +SFX_Cry0B_1_Ch3: ; 8aa5 (2:4aa5) + unknownnoise0x20 15, 8, 0 + unknownnoise0x20 4, 8, 0 + unknownnoise0x20 4, 209, 76 + unknownnoise0x20 4, 177, 44 + unknownnoise0x20 4, 209, 60 + unknownnoise0x20 4, 177, 60 + unknownnoise0x20 4, 193, 44 + unknownnoise0x20 8, 161, 76 + endchannel diff --git a/audio/sfx/cry0b_2.asm b/audio/sfx/cry0b_2.asm new file mode 100644 index 00000000..071cd9b1 --- /dev/null +++ b/audio/sfx/cry0b_2.asm @@ -0,0 +1,37 @@ +SFX_Cry0B_2_Ch1: ; 20d03 (8:4d03) + dutycycle 204 + unknownsfx0x20 4, 241, 0, 7 + unknownsfx0x20 4, 225, 128, 7 + unknownsfx0x20 4, 209, 64, 7 + unknownsfx0x20 4, 225, 64, 7 + unknownsfx0x20 4, 241, 128, 7 + unknownsfx0x20 4, 209, 0, 7 + unknownsfx0x20 4, 241, 1, 7 + unknownsfx0x20 4, 209, 130, 7 + unknownsfx0x20 4, 193, 66, 7 + unknownsfx0x20 8, 177, 65, 7 + endchannel + + +SFX_Cry0B_2_Ch2: ; 20d2e (8:4d2e) + dutycycle 68 + unknownsfx0x20 12, 8, 0, 0 + unknownsfx0x20 4, 241, 1, 7 + unknownsfx0x20 4, 225, 130, 7 + unknownsfx0x20 4, 209, 65, 7 + unknownsfx0x20 4, 225, 65, 7 + unknownsfx0x20 4, 241, 130, 7 + unknownsfx0x20 8, 209, 1, 7 + endchannel + + +SFX_Cry0B_2_Ch3: ; 20d4d (8:4d4d) + unknownnoise0x20 15, 8, 0 + unknownnoise0x20 4, 8, 0 + unknownnoise0x20 4, 209, 76 + unknownnoise0x20 4, 177, 44 + unknownnoise0x20 4, 209, 60 + unknownnoise0x20 4, 177, 60 + unknownnoise0x20 4, 193, 44 + unknownnoise0x20 8, 161, 76 + endchannel diff --git a/audio/sfx/cry0b_3.asm b/audio/sfx/cry0b_3.asm new file mode 100644 index 00000000..c2bd1809 --- /dev/null +++ b/audio/sfx/cry0b_3.asm @@ -0,0 +1,37 @@ +SFX_Cry0B_3_Ch1: ; 7cad0 (1f:4ad0) + dutycycle 204 + unknownsfx0x20 4, 241, 0, 7 + unknownsfx0x20 4, 225, 128, 7 + unknownsfx0x20 4, 209, 64, 7 + unknownsfx0x20 4, 225, 64, 7 + unknownsfx0x20 4, 241, 128, 7 + unknownsfx0x20 4, 209, 0, 7 + unknownsfx0x20 4, 241, 1, 7 + unknownsfx0x20 4, 209, 130, 7 + unknownsfx0x20 4, 193, 66, 7 + unknownsfx0x20 8, 177, 65, 7 + endchannel + + +SFX_Cry0B_3_Ch2: ; 7cafb (1f:4afb) + dutycycle 68 + unknownsfx0x20 12, 8, 0, 0 + unknownsfx0x20 4, 241, 1, 7 + unknownsfx0x20 4, 225, 130, 7 + unknownsfx0x20 4, 209, 65, 7 + unknownsfx0x20 4, 225, 65, 7 + unknownsfx0x20 4, 241, 130, 7 + unknownsfx0x20 8, 209, 1, 7 + endchannel + + +SFX_Cry0B_3_Ch3: ; 7cb1a (1f:4b1a) + unknownnoise0x20 15, 8, 0 + unknownnoise0x20 4, 8, 0 + unknownnoise0x20 4, 209, 76 + unknownnoise0x20 4, 177, 44 + unknownnoise0x20 4, 209, 60 + unknownnoise0x20 4, 177, 60 + unknownnoise0x20 4, 193, 44 + unknownnoise0x20 8, 161, 76 + endchannel diff --git a/audio/sfx/cry0c_1.asm b/audio/sfx/cry0c_1.asm new file mode 100644 index 00000000..1c0f9f65 --- /dev/null +++ b/audio/sfx/cry0c_1.asm @@ -0,0 +1,29 @@ +SFX_Cry0C_1_Ch1: ; 8abe (2:4abe) + dutycycle 204 + unknownsfx0x20 8, 245, 0, 6 + unknownsfx0x20 2, 210, 56, 6 + unknownsfx0x20 2, 194, 48, 6 + unknownsfx0x20 2, 194, 40, 6 + unknownsfx0x20 2, 178, 32, 6 + unknownsfx0x20 2, 178, 16, 6 + unknownsfx0x20 2, 162, 24, 6 + unknownsfx0x20 2, 178, 16, 6 + unknownsfx0x20 8, 193, 32, 6 + endchannel + + +SFX_Cry0C_1_Ch2: ; 8ae5 (2:4ae5) + dutycycle 68 + unknownsfx0x20 12, 195, 192, 5 + unknownsfx0x20 3, 177, 249, 5 + unknownsfx0x20 2, 161, 241, 5 + unknownsfx0x20 2, 161, 233, 5 + unknownsfx0x20 2, 145, 225, 5 + unknownsfx0x20 2, 145, 217, 5 + unknownsfx0x20 2, 129, 209, 5 + unknownsfx0x20 2, 145, 217, 5 + unknownsfx0x20 8, 145, 225, 5 + + +SFX_Cry0C_1_Ch3: ; 8b0b (2:4b0b) + endchannel diff --git a/audio/sfx/cry0c_2.asm b/audio/sfx/cry0c_2.asm new file mode 100644 index 00000000..ef598b3e --- /dev/null +++ b/audio/sfx/cry0c_2.asm @@ -0,0 +1,29 @@ +SFX_Cry0C_2_Ch1: ; 20d66 (8:4d66) + dutycycle 204 + unknownsfx0x20 8, 245, 0, 6 + unknownsfx0x20 2, 210, 56, 6 + unknownsfx0x20 2, 194, 48, 6 + unknownsfx0x20 2, 194, 40, 6 + unknownsfx0x20 2, 178, 32, 6 + unknownsfx0x20 2, 178, 16, 6 + unknownsfx0x20 2, 162, 24, 6 + unknownsfx0x20 2, 178, 16, 6 + unknownsfx0x20 8, 193, 32, 6 + endchannel + + +SFX_Cry0C_2_Ch2: ; 20d8d (8:4d8d) + dutycycle 68 + unknownsfx0x20 12, 195, 192, 5 + unknownsfx0x20 3, 177, 249, 5 + unknownsfx0x20 2, 161, 241, 5 + unknownsfx0x20 2, 161, 233, 5 + unknownsfx0x20 2, 145, 225, 5 + unknownsfx0x20 2, 145, 217, 5 + unknownsfx0x20 2, 129, 209, 5 + unknownsfx0x20 2, 145, 217, 5 + unknownsfx0x20 8, 145, 225, 5 + + +SFX_Cry0C_2_Ch3: ; 20db3 (8:4db3) + endchannel diff --git a/audio/sfx/cry0c_3.asm b/audio/sfx/cry0c_3.asm new file mode 100644 index 00000000..4075ac51 --- /dev/null +++ b/audio/sfx/cry0c_3.asm @@ -0,0 +1,29 @@ +SFX_Cry0C_3_Ch1: ; 7cb33 (1f:4b33) + dutycycle 204 + unknownsfx0x20 8, 245, 0, 6 + unknownsfx0x20 2, 210, 56, 6 + unknownsfx0x20 2, 194, 48, 6 + unknownsfx0x20 2, 194, 40, 6 + unknownsfx0x20 2, 178, 32, 6 + unknownsfx0x20 2, 178, 16, 6 + unknownsfx0x20 2, 162, 24, 6 + unknownsfx0x20 2, 178, 16, 6 + unknownsfx0x20 8, 193, 32, 6 + endchannel + + +SFX_Cry0C_3_Ch2: ; 7cb5a (1f:4b5a) + dutycycle 68 + unknownsfx0x20 12, 195, 192, 5 + unknownsfx0x20 3, 177, 249, 5 + unknownsfx0x20 2, 161, 241, 5 + unknownsfx0x20 2, 161, 233, 5 + unknownsfx0x20 2, 145, 225, 5 + unknownsfx0x20 2, 145, 217, 5 + unknownsfx0x20 2, 129, 209, 5 + unknownsfx0x20 2, 145, 217, 5 + unknownsfx0x20 8, 145, 225, 5 + + +SFX_Cry0C_3_Ch3: ; 7cb80 (1f:4b80) + endchannel diff --git a/audio/sfx/cry0d_1.asm b/audio/sfx/cry0d_1.asm new file mode 100644 index 00000000..591bf58e --- /dev/null +++ b/audio/sfx/cry0d_1.asm @@ -0,0 +1,40 @@ +SFX_Cry0D_1_Ch1: ; 8b2a (2:4b2a) + dutycycle 136 + unknownsfx0x20 5, 242, 80, 6 + unknownsfx0x20 9, 209, 96, 6 + unknownsfx0x20 5, 226, 18, 6 + unknownsfx0x20 9, 193, 34, 6 + unknownsfx0x20 5, 242, 16, 6 + unknownsfx0x20 6, 209, 32, 6 + loopchannel 2, SFX_Cry0D_1_Ch1 + endchannel + + +SFX_Cry0D_1_Ch2: ; 8b49 (2:4b49) + dutycycle 64 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 5, 242, 81, 6 + unknownsfx0x20 9, 209, 97, 6 + unknownsfx0x20 5, 226, 20, 6 + unknownsfx0x20 8, 193, 36, 6 + unknownsfx0x20 5, 242, 17, 6 + unknownsfx0x20 12, 209, 33, 6 + unknownsfx0x20 5, 226, 20, 6 + unknownsfx0x20 8, 193, 36, 6 + unknownsfx0x20 5, 242, 17, 6 + unknownsfx0x20 4, 209, 33, 6 + endchannel + + +SFX_Cry0D_1_Ch3: ; 8b78 (2:4b78) + unknownnoise0x20 6, 210, 28 + unknownnoise0x20 9, 177, 44 + unknownnoise0x20 8, 194, 44 + unknownnoise0x20 9, 177, 60 + unknownnoise0x20 6, 194, 44 + unknownnoise0x20 9, 162, 60 + unknownnoise0x20 7, 194, 44 + unknownnoise0x20 5, 161, 60 + unknownnoise0x20 9, 194, 44 + unknownnoise0x20 4, 161, 60 + endchannel diff --git a/audio/sfx/cry0d_2.asm b/audio/sfx/cry0d_2.asm new file mode 100644 index 00000000..a7ca34f1 --- /dev/null +++ b/audio/sfx/cry0d_2.asm @@ -0,0 +1,40 @@ +SFX_Cry0D_2_Ch1: ; 20dd2 (8:4dd2) + dutycycle 136 + unknownsfx0x20 5, 242, 80, 6 + unknownsfx0x20 9, 209, 96, 6 + unknownsfx0x20 5, 226, 18, 6 + unknownsfx0x20 9, 193, 34, 6 + unknownsfx0x20 5, 242, 16, 6 + unknownsfx0x20 6, 209, 32, 6 + loopchannel 2, SFX_Cry0D_2_Ch1 + endchannel + + +SFX_Cry0D_2_Ch2: ; 20df1 (8:4df1) + dutycycle 64 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 5, 242, 81, 6 + unknownsfx0x20 9, 209, 97, 6 + unknownsfx0x20 5, 226, 20, 6 + unknownsfx0x20 8, 193, 36, 6 + unknownsfx0x20 5, 242, 17, 6 + unknownsfx0x20 12, 209, 33, 6 + unknownsfx0x20 5, 226, 20, 6 + unknownsfx0x20 8, 193, 36, 6 + unknownsfx0x20 5, 242, 17, 6 + unknownsfx0x20 4, 209, 33, 6 + endchannel + + +SFX_Cry0D_2_Ch3: ; 20e20 (8:4e20) + unknownnoise0x20 6, 210, 28 + unknownnoise0x20 9, 177, 44 + unknownnoise0x20 8, 194, 44 + unknownnoise0x20 9, 177, 60 + unknownnoise0x20 6, 194, 44 + unknownnoise0x20 9, 162, 60 + unknownnoise0x20 7, 194, 44 + unknownnoise0x20 5, 161, 60 + unknownnoise0x20 9, 194, 44 + unknownnoise0x20 4, 161, 60 + endchannel diff --git a/audio/sfx/cry0d_3.asm b/audio/sfx/cry0d_3.asm new file mode 100644 index 00000000..a9187dc8 --- /dev/null +++ b/audio/sfx/cry0d_3.asm @@ -0,0 +1,40 @@ +SFX_Cry0D_3_Ch1: ; 7cb9f (1f:4b9f) + dutycycle 136 + unknownsfx0x20 5, 242, 80, 6 + unknownsfx0x20 9, 209, 96, 6 + unknownsfx0x20 5, 226, 18, 6 + unknownsfx0x20 9, 193, 34, 6 + unknownsfx0x20 5, 242, 16, 6 + unknownsfx0x20 6, 209, 32, 6 + loopchannel 2, SFX_Cry0D_3_Ch1 + endchannel + + +SFX_Cry0D_3_Ch2: ; 7cbbe (1f:4bbe) + dutycycle 64 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 5, 242, 81, 6 + unknownsfx0x20 9, 209, 97, 6 + unknownsfx0x20 5, 226, 20, 6 + unknownsfx0x20 8, 193, 36, 6 + unknownsfx0x20 5, 242, 17, 6 + unknownsfx0x20 12, 209, 33, 6 + unknownsfx0x20 5, 226, 20, 6 + unknownsfx0x20 8, 193, 36, 6 + unknownsfx0x20 5, 242, 17, 6 + unknownsfx0x20 4, 209, 33, 6 + endchannel + + +SFX_Cry0D_3_Ch3: ; 7cbed (1f:4bed) + unknownnoise0x20 6, 210, 28 + unknownnoise0x20 9, 177, 44 + unknownnoise0x20 8, 194, 44 + unknownnoise0x20 9, 177, 60 + unknownnoise0x20 6, 194, 44 + unknownnoise0x20 9, 162, 60 + unknownnoise0x20 7, 194, 44 + unknownnoise0x20 5, 161, 60 + unknownnoise0x20 9, 194, 44 + unknownnoise0x20 4, 161, 60 + endchannel diff --git a/audio/sfx/cry0e_1.asm b/audio/sfx/cry0e_1.asm new file mode 100644 index 00000000..1e778dea --- /dev/null +++ b/audio/sfx/cry0e_1.asm @@ -0,0 +1,23 @@ +SFX_Cry0E_1_Ch1: ; 89af (2:49af) + dutycycle 165 + unknownsfx0x20 4, 225, 0, 7 + unknownsfx0x20 4, 242, 128, 7 + unknownsfx0x20 2, 146, 64, 7 + unknownsfx0x20 8, 225, 0, 6 + endchannel + + +SFX_Cry0E_1_Ch2: ; 89c2 (2:49c2) + dutycycle 10 + unknownsfx0x20 4, 177, 225, 6 + unknownsfx0x20 3, 194, 225, 6 + unknownsfx0x20 3, 98, 129, 6 + unknownsfx0x20 8, 177, 225, 5 + endchannel + + +SFX_Cry0E_1_Ch3: ; 89d5 (2:49d5) + unknownnoise0x20 2, 97, 50 + unknownnoise0x20 2, 97, 33 + unknownnoise0x20 8, 97, 17 + endchannel diff --git a/audio/sfx/cry0e_2.asm b/audio/sfx/cry0e_2.asm new file mode 100644 index 00000000..bab74449 --- /dev/null +++ b/audio/sfx/cry0e_2.asm @@ -0,0 +1,23 @@ +SFX_Cry0E_2_Ch1: ; 20c57 (8:4c57) + dutycycle 165 + unknownsfx0x20 4, 225, 0, 7 + unknownsfx0x20 4, 242, 128, 7 + unknownsfx0x20 2, 146, 64, 7 + unknownsfx0x20 8, 225, 0, 6 + endchannel + + +SFX_Cry0E_2_Ch2: ; 20c6a (8:4c6a) + dutycycle 10 + unknownsfx0x20 4, 177, 225, 6 + unknownsfx0x20 3, 194, 225, 6 + unknownsfx0x20 3, 98, 129, 6 + unknownsfx0x20 8, 177, 225, 5 + endchannel + + +SFX_Cry0E_2_Ch3: ; 20c7d (8:4c7d) + unknownnoise0x20 2, 97, 50 + unknownnoise0x20 2, 97, 33 + unknownnoise0x20 8, 97, 17 + endchannel diff --git a/audio/sfx/cry0e_3.asm b/audio/sfx/cry0e_3.asm new file mode 100644 index 00000000..da14b3a7 --- /dev/null +++ b/audio/sfx/cry0e_3.asm @@ -0,0 +1,23 @@ +SFX_Cry0E_3_Ch1: ; 7ca24 (1f:4a24) + dutycycle 165 + unknownsfx0x20 4, 225, 0, 7 + unknownsfx0x20 4, 242, 128, 7 + unknownsfx0x20 2, 146, 64, 7 + unknownsfx0x20 8, 225, 0, 6 + endchannel + + +SFX_Cry0E_3_Ch2: ; 7ca37 (1f:4a37) + dutycycle 10 + unknownsfx0x20 4, 177, 225, 6 + unknownsfx0x20 3, 194, 225, 6 + unknownsfx0x20 3, 98, 129, 6 + unknownsfx0x20 8, 177, 225, 5 + endchannel + + +SFX_Cry0E_3_Ch3: ; 7ca4a (1f:4a4a) + unknownnoise0x20 2, 97, 50 + unknownnoise0x20 2, 97, 33 + unknownnoise0x20 8, 97, 17 + endchannel diff --git a/audio/sfx/cry0f_1.asm b/audio/sfx/cry0f_1.asm new file mode 100644 index 00000000..84563293 --- /dev/null +++ b/audio/sfx/cry0f_1.asm @@ -0,0 +1,29 @@ +SFX_Cry0F_1_Ch1: ; 88f1 (2:48f1) + dutycycle 241 + unknownsfx0x20 4, 247, 192, 7 + unknownsfx0x20 12, 230, 194, 7 + unknownsfx0x20 6, 181, 128, 6 + unknownsfx0x20 4, 196, 112, 6 + unknownsfx0x20 4, 181, 96, 6 + unknownsfx0x20 8, 193, 64, 6 + endchannel + + +SFX_Cry0F_1_Ch2: ; 890c (2:490c) + dutycycle 204 + unknownsfx0x20 3, 199, 129, 7 + unknownsfx0x20 12, 182, 128, 7 + unknownsfx0x20 6, 165, 65, 6 + unknownsfx0x20 4, 196, 50, 6 + unknownsfx0x20 6, 181, 33, 6 + unknownsfx0x20 8, 161, 2, 6 + endchannel + + +SFX_Cry0F_1_Ch3: ; 8927 (2:4927) + unknownnoise0x20 3, 228, 60 + unknownnoise0x20 12, 214, 44 + unknownnoise0x20 4, 228, 60 + unknownnoise0x20 8, 183, 92 + unknownnoise0x20 15, 194, 93 + endchannel diff --git a/audio/sfx/cry0f_2.asm b/audio/sfx/cry0f_2.asm new file mode 100644 index 00000000..0fbaeb7a --- /dev/null +++ b/audio/sfx/cry0f_2.asm @@ -0,0 +1,29 @@ +SFX_Cry0F_2_Ch1: ; 20b99 (8:4b99) + dutycycle 241 + unknownsfx0x20 4, 247, 192, 7 + unknownsfx0x20 12, 230, 194, 7 + unknownsfx0x20 6, 181, 128, 6 + unknownsfx0x20 4, 196, 112, 6 + unknownsfx0x20 4, 181, 96, 6 + unknownsfx0x20 8, 193, 64, 6 + endchannel + + +SFX_Cry0F_2_Ch2: ; 20bb4 (8:4bb4) + dutycycle 204 + unknownsfx0x20 3, 199, 129, 7 + unknownsfx0x20 12, 182, 128, 7 + unknownsfx0x20 6, 165, 65, 6 + unknownsfx0x20 4, 196, 50, 6 + unknownsfx0x20 6, 181, 33, 6 + unknownsfx0x20 8, 161, 2, 6 + endchannel + + +SFX_Cry0F_2_Ch3: ; 20bcf (8:4bcf) + unknownnoise0x20 3, 228, 60 + unknownnoise0x20 12, 214, 44 + unknownnoise0x20 4, 228, 60 + unknownnoise0x20 8, 183, 92 + unknownnoise0x20 15, 194, 93 + endchannel diff --git a/audio/sfx/cry0f_3.asm b/audio/sfx/cry0f_3.asm new file mode 100644 index 00000000..810ab949 --- /dev/null +++ b/audio/sfx/cry0f_3.asm @@ -0,0 +1,29 @@ +SFX_Cry0F_3_Ch1: ; 7c966 (1f:4966) + dutycycle 241 + unknownsfx0x20 4, 247, 192, 7 + unknownsfx0x20 12, 230, 194, 7 + unknownsfx0x20 6, 181, 128, 6 + unknownsfx0x20 4, 196, 112, 6 + unknownsfx0x20 4, 181, 96, 6 + unknownsfx0x20 8, 193, 64, 6 + endchannel + + +SFX_Cry0F_3_Ch2: ; 7c981 (1f:4981) + dutycycle 204 + unknownsfx0x20 3, 199, 129, 7 + unknownsfx0x20 12, 182, 128, 7 + unknownsfx0x20 6, 165, 65, 6 + unknownsfx0x20 4, 196, 50, 6 + unknownsfx0x20 6, 181, 33, 6 + unknownsfx0x20 8, 161, 2, 6 + endchannel + + +SFX_Cry0F_3_Ch3: ; 7c99c (1f:499c) + unknownnoise0x20 3, 228, 60 + unknownnoise0x20 12, 214, 44 + unknownnoise0x20 4, 228, 60 + unknownnoise0x20 8, 183, 92 + unknownnoise0x20 15, 194, 93 + endchannel diff --git a/audio/sfx/cry10_1.asm b/audio/sfx/cry10_1.asm new file mode 100644 index 00000000..956fc910 --- /dev/null +++ b/audio/sfx/cry10_1.asm @@ -0,0 +1,31 @@ +SFX_Cry10_1_Ch1: ; 8937 (2:4937) + dutycycle 201 + unknownsfx0x20 8, 247, 128, 6 + unknownsfx0x20 2, 247, 96, 6 + unknownsfx0x20 1, 231, 64, 6 + unknownsfx0x20 1, 231, 32, 6 + unknownsfx0x20 15, 209, 0, 6 + unknownsfx0x20 4, 199, 64, 7 + unknownsfx0x20 4, 167, 48, 7 + unknownsfx0x20 15, 145, 32, 7 + endchannel + + +SFX_Cry10_1_Ch2: ; 895a (2:495a) + dutycycle 121 + unknownsfx0x20 10, 231, 130, 6 + unknownsfx0x20 2, 231, 98, 6 + unknownsfx0x20 1, 215, 66, 6 + unknownsfx0x20 1, 215, 34, 6 + unknownsfx0x20 15, 193, 2, 6 + unknownsfx0x20 4, 183, 66, 7 + unknownsfx0x20 2, 151, 50, 7 + unknownsfx0x20 15, 129, 34, 7 + endchannel + + +SFX_Cry10_1_Ch3: ; 897d (2:497d) + unknownnoise0x20 4, 116, 33 + unknownnoise0x20 4, 116, 16 + unknownnoise0x20 4, 113, 32 + endchannel diff --git a/audio/sfx/cry10_2.asm b/audio/sfx/cry10_2.asm new file mode 100644 index 00000000..5d4cc3aa --- /dev/null +++ b/audio/sfx/cry10_2.asm @@ -0,0 +1,31 @@ +SFX_Cry10_2_Ch1: ; 20bdf (8:4bdf) + dutycycle 201 + unknownsfx0x20 8, 247, 128, 6 + unknownsfx0x20 2, 247, 96, 6 + unknownsfx0x20 1, 231, 64, 6 + unknownsfx0x20 1, 231, 32, 6 + unknownsfx0x20 15, 209, 0, 6 + unknownsfx0x20 4, 199, 64, 7 + unknownsfx0x20 4, 167, 48, 7 + unknownsfx0x20 15, 145, 32, 7 + endchannel + + +SFX_Cry10_2_Ch2: ; 20c02 (8:4c02) + dutycycle 121 + unknownsfx0x20 10, 231, 130, 6 + unknownsfx0x20 2, 231, 98, 6 + unknownsfx0x20 1, 215, 66, 6 + unknownsfx0x20 1, 215, 34, 6 + unknownsfx0x20 15, 193, 2, 6 + unknownsfx0x20 4, 183, 66, 7 + unknownsfx0x20 2, 151, 50, 7 + unknownsfx0x20 15, 129, 34, 7 + endchannel + + +SFX_Cry10_2_Ch3: ; 20c25 (8:4c25) + unknownnoise0x20 4, 116, 33 + unknownnoise0x20 4, 116, 16 + unknownnoise0x20 4, 113, 32 + endchannel diff --git a/audio/sfx/cry10_3.asm b/audio/sfx/cry10_3.asm new file mode 100644 index 00000000..2d5df465 --- /dev/null +++ b/audio/sfx/cry10_3.asm @@ -0,0 +1,31 @@ +SFX_Cry10_3_Ch1: ; 7c9ac (1f:49ac) + dutycycle 201 + unknownsfx0x20 8, 247, 128, 6 + unknownsfx0x20 2, 247, 96, 6 + unknownsfx0x20 1, 231, 64, 6 + unknownsfx0x20 1, 231, 32, 6 + unknownsfx0x20 15, 209, 0, 6 + unknownsfx0x20 4, 199, 64, 7 + unknownsfx0x20 4, 167, 48, 7 + unknownsfx0x20 15, 145, 32, 7 + endchannel + + +SFX_Cry10_3_Ch2: ; 7c9cf (1f:49cf) + dutycycle 121 + unknownsfx0x20 10, 231, 130, 6 + unknownsfx0x20 2, 231, 98, 6 + unknownsfx0x20 1, 215, 66, 6 + unknownsfx0x20 1, 215, 34, 6 + unknownsfx0x20 15, 193, 2, 6 + unknownsfx0x20 4, 183, 66, 7 + unknownsfx0x20 2, 151, 50, 7 + unknownsfx0x20 15, 129, 34, 7 + endchannel + + +SFX_Cry10_3_Ch3: ; 7c9f2 (1f:49f2) + unknownnoise0x20 4, 116, 33 + unknownnoise0x20 4, 116, 16 + unknownnoise0x20 4, 113, 32 + endchannel diff --git a/audio/sfx/cry11_1.asm b/audio/sfx/cry11_1.asm new file mode 100644 index 00000000..dd354c90 --- /dev/null +++ b/audio/sfx/cry11_1.asm @@ -0,0 +1,34 @@ +SFX_Cry11_1_Ch1: ; 8813 (2:4813) + dutycycle 240 + unknownsfx0x20 6, 247, 160, 7 + unknownsfx0x20 8, 230, 164, 7 + unknownsfx0x20 4, 214, 160, 7 + unknownsfx0x20 15, 211, 32, 7 + unknownsfx0x20 8, 195, 35, 7 + unknownsfx0x20 2, 194, 40, 7 + unknownsfx0x20 8, 177, 48, 7 + endchannel + + +SFX_Cry11_1_Ch2: ; 8832 (2:4832) + dutycycle 10 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 6, 167, 65, 7 + unknownsfx0x20 8, 134, 67, 7 + unknownsfx0x20 4, 118, 65, 7 + unknownsfx0x20 13, 131, 194, 6 + unknownsfx0x20 7, 115, 193, 6 + unknownsfx0x20 3, 130, 204, 6 + unknownsfx0x20 8, 113, 216, 6 + endchannel + + +SFX_Cry11_1_Ch3: ; 8855 (2:4855) + unknownnoise0x20 2, 242, 76 + unknownnoise0x20 6, 230, 58 + unknownnoise0x20 4, 215, 58 + unknownnoise0x20 6, 214, 44 + unknownnoise0x20 8, 229, 60 + unknownnoise0x20 12, 210, 61 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry11_2.asm b/audio/sfx/cry11_2.asm new file mode 100644 index 00000000..37546fe1 --- /dev/null +++ b/audio/sfx/cry11_2.asm @@ -0,0 +1,34 @@ +SFX_Cry11_2_Ch1: ; 20abb (8:4abb) + dutycycle 240 + unknownsfx0x20 6, 247, 160, 7 + unknownsfx0x20 8, 230, 164, 7 + unknownsfx0x20 4, 214, 160, 7 + unknownsfx0x20 15, 211, 32, 7 + unknownsfx0x20 8, 195, 35, 7 + unknownsfx0x20 2, 194, 40, 7 + unknownsfx0x20 8, 177, 48, 7 + endchannel + + +SFX_Cry11_2_Ch2: ; 20ada (8:4ada) + dutycycle 10 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 6, 167, 65, 7 + unknownsfx0x20 8, 134, 67, 7 + unknownsfx0x20 4, 118, 65, 7 + unknownsfx0x20 13, 131, 194, 6 + unknownsfx0x20 7, 115, 193, 6 + unknownsfx0x20 3, 130, 204, 6 + unknownsfx0x20 8, 113, 216, 6 + endchannel + + +SFX_Cry11_2_Ch3: ; 20afd (8:4afd) + unknownnoise0x20 2, 242, 76 + unknownnoise0x20 6, 230, 58 + unknownnoise0x20 4, 215, 58 + unknownnoise0x20 6, 214, 44 + unknownnoise0x20 8, 229, 60 + unknownnoise0x20 12, 210, 61 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry11_3.asm b/audio/sfx/cry11_3.asm new file mode 100644 index 00000000..75b9a861 --- /dev/null +++ b/audio/sfx/cry11_3.asm @@ -0,0 +1,34 @@ +SFX_Cry11_3_Ch1: ; 7c888 (1f:4888) + dutycycle 240 + unknownsfx0x20 6, 247, 160, 7 + unknownsfx0x20 8, 230, 164, 7 + unknownsfx0x20 4, 214, 160, 7 + unknownsfx0x20 15, 211, 32, 7 + unknownsfx0x20 8, 195, 35, 7 + unknownsfx0x20 2, 194, 40, 7 + unknownsfx0x20 8, 177, 48, 7 + endchannel + + +SFX_Cry11_3_Ch2: ; 7c8a7 (1f:48a7) + dutycycle 10 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 6, 167, 65, 7 + unknownsfx0x20 8, 134, 67, 7 + unknownsfx0x20 4, 118, 65, 7 + unknownsfx0x20 13, 131, 194, 6 + unknownsfx0x20 7, 115, 193, 6 + unknownsfx0x20 3, 130, 204, 6 + unknownsfx0x20 8, 113, 216, 6 + endchannel + + +SFX_Cry11_3_Ch3: ; 7c8ca (1f:48ca) + unknownnoise0x20 2, 242, 76 + unknownnoise0x20 6, 230, 58 + unknownnoise0x20 4, 215, 58 + unknownnoise0x20 6, 214, 44 + unknownnoise0x20 8, 229, 60 + unknownnoise0x20 12, 210, 61 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry12_1.asm b/audio/sfx/cry12_1.asm new file mode 100644 index 00000000..a6b1a0f8 --- /dev/null +++ b/audio/sfx/cry12_1.asm @@ -0,0 +1,24 @@ +SFX_Cry12_1_Ch1: ; 8d2b (2:4d2b) + dutycycle 165 + unknownsfx0x20 12, 242, 64, 4 + unknownsfx0x20 15, 227, 160, 4 + unknownsfx0x20 4, 210, 144, 4 + unknownsfx0x20 8, 209, 128, 4 + endchannel + + +SFX_Cry12_1_Ch2: ; 8d3e (2:4d3e) + dutycycle 238 + unknownsfx0x20 11, 210, 56, 4 + unknownsfx0x20 14, 198, 152, 4 + unknownsfx0x20 3, 178, 136, 4 + unknownsfx0x20 8, 177, 120, 4 + endchannel + + +SFX_Cry12_1_Ch3: ; 8d51 (2:4d51) + unknownnoise0x20 10, 230, 108 + unknownnoise0x20 15, 210, 92 + unknownnoise0x20 3, 194, 108 + unknownnoise0x20 8, 209, 92 + endchannel diff --git a/audio/sfx/cry12_2.asm b/audio/sfx/cry12_2.asm new file mode 100644 index 00000000..e2b29de7 --- /dev/null +++ b/audio/sfx/cry12_2.asm @@ -0,0 +1,24 @@ +SFX_Cry12_2_Ch1: ; 20fd3 (8:4fd3) + dutycycle 165 + unknownsfx0x20 12, 242, 64, 4 + unknownsfx0x20 15, 227, 160, 4 + unknownsfx0x20 4, 210, 144, 4 + unknownsfx0x20 8, 209, 128, 4 + endchannel + + +SFX_Cry12_2_Ch2: ; 20fe6 (8:4fe6) + dutycycle 238 + unknownsfx0x20 11, 210, 56, 4 + unknownsfx0x20 14, 198, 152, 4 + unknownsfx0x20 3, 178, 136, 4 + unknownsfx0x20 8, 177, 120, 4 + endchannel + + +SFX_Cry12_2_Ch3: ; 20ff9 (8:4ff9) + unknownnoise0x20 10, 230, 108 + unknownnoise0x20 15, 210, 92 + unknownnoise0x20 3, 194, 108 + unknownnoise0x20 8, 209, 92 + endchannel diff --git a/audio/sfx/cry12_3.asm b/audio/sfx/cry12_3.asm new file mode 100644 index 00000000..143f8045 --- /dev/null +++ b/audio/sfx/cry12_3.asm @@ -0,0 +1,24 @@ +SFX_Cry12_3_Ch1: ; 7cda0 (1f:4da0) + dutycycle 165 + unknownsfx0x20 12, 242, 64, 4 + unknownsfx0x20 15, 227, 160, 4 + unknownsfx0x20 4, 210, 144, 4 + unknownsfx0x20 8, 209, 128, 4 + endchannel + + +SFX_Cry12_3_Ch2: ; 7cdb3 (1f:4db3) + dutycycle 238 + unknownsfx0x20 11, 210, 56, 4 + unknownsfx0x20 14, 198, 152, 4 + unknownsfx0x20 3, 178, 136, 4 + unknownsfx0x20 8, 177, 120, 4 + endchannel + + +SFX_Cry12_3_Ch3: ; 7cdc6 (1f:4dc6) + unknownnoise0x20 10, 230, 108 + unknownnoise0x20 15, 210, 92 + unknownnoise0x20 3, 194, 108 + unknownnoise0x20 8, 209, 92 + endchannel diff --git a/audio/sfx/cry13_1.asm b/audio/sfx/cry13_1.asm new file mode 100644 index 00000000..c2f1002f --- /dev/null +++ b/audio/sfx/cry13_1.asm @@ -0,0 +1,30 @@ +SFX_Cry13_1_Ch1: ; 8d5e (2:4d5e) + dutycycle 51 + unknownsfx0x20 15, 246, 192, 5 + unknownsfx0x20 8, 227, 188, 5 + unknownsfx0x20 6, 210, 208, 5 + unknownsfx0x20 6, 178, 224, 5 + unknownsfx0x20 6, 194, 240, 5 + unknownsfx0x20 8, 177, 0, 6 + endchannel + + +SFX_Cry13_1_Ch2: ; 8d79 (2:4d79) + dutycycle 153 + unknownsfx0x20 14, 198, 177, 4 + unknownsfx0x20 7, 195, 173, 4 + unknownsfx0x20 5, 178, 193, 4 + unknownsfx0x20 8, 146, 209, 4 + unknownsfx0x20 6, 162, 225, 4 + unknownsfx0x20 8, 145, 241, 4 + endchannel + + +SFX_Cry13_1_Ch3: ; 8d94 (2:4d94) + unknownnoise0x20 10, 230, 92 + unknownnoise0x20 10, 214, 108 + unknownnoise0x20 4, 194, 76 + unknownnoise0x20 6, 211, 92 + unknownnoise0x20 8, 179, 76 + unknownnoise0x20 8, 161, 92 + endchannel diff --git a/audio/sfx/cry13_2.asm b/audio/sfx/cry13_2.asm new file mode 100644 index 00000000..b072fb07 --- /dev/null +++ b/audio/sfx/cry13_2.asm @@ -0,0 +1,30 @@ +SFX_Cry13_2_Ch1: ; 21006 (8:5006) + dutycycle 51 + unknownsfx0x20 15, 246, 192, 5 + unknownsfx0x20 8, 227, 188, 5 + unknownsfx0x20 6, 210, 208, 5 + unknownsfx0x20 6, 178, 224, 5 + unknownsfx0x20 6, 194, 240, 5 + unknownsfx0x20 8, 177, 0, 6 + endchannel + + +SFX_Cry13_2_Ch2: ; 21021 (8:5021) + dutycycle 153 + unknownsfx0x20 14, 198, 177, 4 + unknownsfx0x20 7, 195, 173, 4 + unknownsfx0x20 5, 178, 193, 4 + unknownsfx0x20 8, 146, 209, 4 + unknownsfx0x20 6, 162, 225, 4 + unknownsfx0x20 8, 145, 241, 4 + endchannel + + +SFX_Cry13_2_Ch3: ; 2103c (8:503c) + unknownnoise0x20 10, 230, 92 + unknownnoise0x20 10, 214, 108 + unknownnoise0x20 4, 194, 76 + unknownnoise0x20 6, 211, 92 + unknownnoise0x20 8, 179, 76 + unknownnoise0x20 8, 161, 92 + endchannel diff --git a/audio/sfx/cry13_3.asm b/audio/sfx/cry13_3.asm new file mode 100644 index 00000000..f2c110b8 --- /dev/null +++ b/audio/sfx/cry13_3.asm @@ -0,0 +1,30 @@ +SFX_Cry13_3_Ch1: ; 7cdd3 (1f:4dd3) + dutycycle 51 + unknownsfx0x20 15, 246, 192, 5 + unknownsfx0x20 8, 227, 188, 5 + unknownsfx0x20 6, 210, 208, 5 + unknownsfx0x20 6, 178, 224, 5 + unknownsfx0x20 6, 194, 240, 5 + unknownsfx0x20 8, 177, 0, 6 + endchannel + + +SFX_Cry13_3_Ch2: ; 7cdee (1f:4dee) + dutycycle 153 + unknownsfx0x20 14, 198, 177, 4 + unknownsfx0x20 7, 195, 173, 4 + unknownsfx0x20 5, 178, 193, 4 + unknownsfx0x20 8, 146, 209, 4 + unknownsfx0x20 6, 162, 225, 4 + unknownsfx0x20 8, 145, 241, 4 + endchannel + + +SFX_Cry13_3_Ch3: ; 7ce09 (1f:4e09) + unknownnoise0x20 10, 230, 92 + unknownnoise0x20 10, 214, 108 + unknownnoise0x20 4, 194, 76 + unknownnoise0x20 6, 211, 92 + unknownnoise0x20 8, 179, 76 + unknownnoise0x20 8, 161, 92 + endchannel diff --git a/audio/sfx/cry14_1.asm b/audio/sfx/cry14_1.asm new file mode 100644 index 00000000..125fe86e --- /dev/null +++ b/audio/sfx/cry14_1.asm @@ -0,0 +1,21 @@ +SFX_Cry14_1_Ch1: ; 8da7 (2:4da7) + dutycycle 240 + unknownsfx0x20 8, 228, 144, 7 + unknownsfx0x20 15, 245, 192, 7 + unknownsfx0x20 8, 209, 216, 7 + endchannel + + +SFX_Cry14_1_Ch2: ; 8db6 (2:4db6) + dutycycle 165 + unknownsfx0x20 10, 196, 113, 7 + unknownsfx0x20 15, 182, 162, 7 + unknownsfx0x20 8, 161, 183, 7 + endchannel + + +SFX_Cry14_1_Ch3: ; 8dc5 (2:4dc5) + unknownnoise0x20 8, 228, 76 + unknownnoise0x20 14, 196, 60 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry14_2.asm b/audio/sfx/cry14_2.asm new file mode 100644 index 00000000..3ba2ac26 --- /dev/null +++ b/audio/sfx/cry14_2.asm @@ -0,0 +1,21 @@ +SFX_Cry14_2_Ch1: ; 2104f (8:504f) + dutycycle 240 + unknownsfx0x20 8, 228, 144, 7 + unknownsfx0x20 15, 245, 192, 7 + unknownsfx0x20 8, 209, 216, 7 + endchannel + + +SFX_Cry14_2_Ch2: ; 2105e (8:505e) + dutycycle 165 + unknownsfx0x20 10, 196, 113, 7 + unknownsfx0x20 15, 182, 162, 7 + unknownsfx0x20 8, 161, 183, 7 + endchannel + + +SFX_Cry14_2_Ch3: ; 2106d (8:506d) + unknownnoise0x20 8, 228, 76 + unknownnoise0x20 14, 196, 60 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry14_3.asm b/audio/sfx/cry14_3.asm new file mode 100644 index 00000000..fe2cd1e8 --- /dev/null +++ b/audio/sfx/cry14_3.asm @@ -0,0 +1,21 @@ +SFX_Cry14_3_Ch1: ; 7ce1c (1f:4e1c) + dutycycle 240 + unknownsfx0x20 8, 228, 144, 7 + unknownsfx0x20 15, 245, 192, 7 + unknownsfx0x20 8, 209, 216, 7 + endchannel + + +SFX_Cry14_3_Ch2: ; 7ce2b (1f:4e2b) + dutycycle 165 + unknownsfx0x20 10, 196, 113, 7 + unknownsfx0x20 15, 182, 162, 7 + unknownsfx0x20 8, 161, 183, 7 + endchannel + + +SFX_Cry14_3_Ch3: ; 7ce3a (1f:4e3a) + unknownnoise0x20 8, 228, 76 + unknownnoise0x20 14, 196, 60 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry15_1.asm b/audio/sfx/cry15_1.asm new file mode 100644 index 00000000..54f94deb --- /dev/null +++ b/audio/sfx/cry15_1.asm @@ -0,0 +1,30 @@ +SFX_Cry15_1_Ch1: ; 8e35 (2:4e35) + dutycycle 240 + unknownsfx0x20 4, 243, 128, 7 + unknownsfx0x20 15, 231, 0, 7 + unknownsfx0x20 8, 211, 16, 7 + unknownsfx0x20 4, 194, 0, 7 + unknownsfx0x20 4, 210, 240, 6 + unknownsfx0x20 8, 193, 224, 6 + endchannel + + +SFX_Cry15_1_Ch2: ; 8e50 (2:4e50) + dutycycle 90 + unknownsfx0x20 6, 195, 1, 7 + unknownsfx0x20 14, 183, 129, 6 + unknownsfx0x20 7, 179, 146, 6 + unknownsfx0x20 3, 162, 129, 6 + unknownsfx0x20 4, 178, 114, 6 + unknownsfx0x20 8, 161, 97, 6 + endchannel + + +SFX_Cry15_1_Ch3: ; 8e6b (2:4e6b) + unknownnoise0x20 6, 227, 92 + unknownnoise0x20 14, 214, 76 + unknownnoise0x20 6, 198, 60 + unknownnoise0x20 3, 179, 76 + unknownnoise0x20 3, 162, 92 + unknownnoise0x20 8, 177, 108 + endchannel diff --git a/audio/sfx/cry15_2.asm b/audio/sfx/cry15_2.asm new file mode 100644 index 00000000..14b1af72 --- /dev/null +++ b/audio/sfx/cry15_2.asm @@ -0,0 +1,30 @@ +SFX_Cry15_2_Ch1: ; 210dd (8:50dd) + dutycycle 240 + unknownsfx0x20 4, 243, 128, 7 + unknownsfx0x20 15, 231, 0, 7 + unknownsfx0x20 8, 211, 16, 7 + unknownsfx0x20 4, 194, 0, 7 + unknownsfx0x20 4, 210, 240, 6 + unknownsfx0x20 8, 193, 224, 6 + endchannel + + +SFX_Cry15_2_Ch2: ; 210f8 (8:50f8) + dutycycle 90 + unknownsfx0x20 6, 195, 1, 7 + unknownsfx0x20 14, 183, 129, 6 + unknownsfx0x20 7, 179, 146, 6 + unknownsfx0x20 3, 162, 129, 6 + unknownsfx0x20 4, 178, 114, 6 + unknownsfx0x20 8, 161, 97, 6 + endchannel + + +SFX_Cry15_2_Ch3: ; 21113 (8:5113) + unknownnoise0x20 6, 227, 92 + unknownnoise0x20 14, 214, 76 + unknownnoise0x20 6, 198, 60 + unknownnoise0x20 3, 179, 76 + unknownnoise0x20 3, 162, 92 + unknownnoise0x20 8, 177, 108 + endchannel diff --git a/audio/sfx/cry15_3.asm b/audio/sfx/cry15_3.asm new file mode 100644 index 00000000..36951439 --- /dev/null +++ b/audio/sfx/cry15_3.asm @@ -0,0 +1,30 @@ +SFX_Cry15_3_Ch1: ; 7ceaa (1f:4eaa) + dutycycle 240 + unknownsfx0x20 4, 243, 128, 7 + unknownsfx0x20 15, 231, 0, 7 + unknownsfx0x20 8, 211, 16, 7 + unknownsfx0x20 4, 194, 0, 7 + unknownsfx0x20 4, 210, 240, 6 + unknownsfx0x20 8, 193, 224, 6 + endchannel + + +SFX_Cry15_3_Ch2: ; 7cec5 (1f:4ec5) + dutycycle 90 + unknownsfx0x20 6, 195, 1, 7 + unknownsfx0x20 14, 183, 129, 6 + unknownsfx0x20 7, 179, 146, 6 + unknownsfx0x20 3, 162, 129, 6 + unknownsfx0x20 4, 178, 114, 6 + unknownsfx0x20 8, 161, 97, 6 + endchannel + + +SFX_Cry15_3_Ch3: ; 7cee0 (1f:4ee0) + unknownnoise0x20 6, 227, 92 + unknownnoise0x20 14, 214, 76 + unknownnoise0x20 6, 198, 60 + unknownnoise0x20 3, 179, 76 + unknownnoise0x20 3, 162, 92 + unknownnoise0x20 8, 177, 108 + endchannel diff --git a/audio/sfx/cry16_1.asm b/audio/sfx/cry16_1.asm new file mode 100644 index 00000000..91fa2596 --- /dev/null +++ b/audio/sfx/cry16_1.asm @@ -0,0 +1,21 @@ +SFX_Cry16_1_Ch1: ; 8cc8 (2:4cc8) + dutycycle 240 + unknownsfx0x20 15, 215, 128, 7 + unknownsfx0x20 4, 230, 160, 7 + unknownsfx0x20 15, 210, 64, 7 + endchannel + + +SFX_Cry16_1_Ch2: ; 8cd7 (2:4cd7) + dutycycle 90 + unknownsfx0x20 15, 199, 83, 7 + unknownsfx0x20 5, 182, 114, 7 + unknownsfx0x20 15, 194, 17, 7 + endchannel + + +SFX_Cry16_1_Ch3: ; 8ce6 (2:4ce6) + unknownnoise0x20 13, 246, 76 + unknownnoise0x20 4, 230, 60 + unknownnoise0x20 15, 242, 76 + endchannel diff --git a/audio/sfx/cry16_2.asm b/audio/sfx/cry16_2.asm new file mode 100644 index 00000000..5e29eba8 --- /dev/null +++ b/audio/sfx/cry16_2.asm @@ -0,0 +1,21 @@ +SFX_Cry16_2_Ch1: ; 20f70 (8:4f70) + dutycycle 240 + unknownsfx0x20 15, 215, 128, 7 + unknownsfx0x20 4, 230, 160, 7 + unknownsfx0x20 15, 210, 64, 7 + endchannel + + +SFX_Cry16_2_Ch2: ; 20f7f (8:4f7f) + dutycycle 90 + unknownsfx0x20 15, 199, 83, 7 + unknownsfx0x20 5, 182, 114, 7 + unknownsfx0x20 15, 194, 17, 7 + endchannel + + +SFX_Cry16_2_Ch3: ; 20f8e (8:4f8e) + unknownnoise0x20 13, 246, 76 + unknownnoise0x20 4, 230, 60 + unknownnoise0x20 15, 242, 76 + endchannel diff --git a/audio/sfx/cry16_3.asm b/audio/sfx/cry16_3.asm new file mode 100644 index 00000000..af32e9ef --- /dev/null +++ b/audio/sfx/cry16_3.asm @@ -0,0 +1,21 @@ +SFX_Cry16_3_Ch1: ; 7cd3d (1f:4d3d) + dutycycle 240 + unknownsfx0x20 15, 215, 128, 7 + unknownsfx0x20 4, 230, 160, 7 + unknownsfx0x20 15, 210, 64, 7 + endchannel + + +SFX_Cry16_3_Ch2: ; 7cd4c (1f:4d4c) + dutycycle 90 + unknownsfx0x20 15, 199, 83, 7 + unknownsfx0x20 5, 182, 114, 7 + unknownsfx0x20 15, 194, 17, 7 + endchannel + + +SFX_Cry16_3_Ch3: ; 7cd5b (1f:4d5b) + unknownnoise0x20 13, 246, 76 + unknownnoise0x20 4, 230, 60 + unknownnoise0x20 15, 242, 76 + endchannel diff --git a/audio/sfx/cry17_1.asm b/audio/sfx/cry17_1.asm new file mode 100644 index 00000000..2f2cde11 --- /dev/null +++ b/audio/sfx/cry17_1.asm @@ -0,0 +1,24 @@ +SFX_Cry17_1_Ch1: ; 8e7e (2:4e7e) + dutycycle 15 + unknownsfx0x20 15, 247, 0, 5 + unknownsfx0x20 15, 231, 8, 5 + unknownsfx0x20 8, 180, 128, 4 + unknownsfx0x20 15, 162, 96, 4 + endchannel + + +SFX_Cry17_1_Ch2: ; 8e91 (2:4e91) + dutycycle 68 + unknownsfx0x20 14, 215, 129, 4 + unknownsfx0x20 14, 199, 137, 4 + unknownsfx0x20 10, 180, 1, 4 + unknownsfx0x20 15, 194, 225, 3 + endchannel + + +SFX_Cry17_1_Ch3: ; 8ea4 (2:4ea4) + unknownnoise0x20 14, 247, 124 + unknownnoise0x20 12, 246, 108 + unknownnoise0x20 9, 228, 124 + unknownnoise0x20 15, 226, 108 + endchannel diff --git a/audio/sfx/cry17_2.asm b/audio/sfx/cry17_2.asm new file mode 100644 index 00000000..cca78ae2 --- /dev/null +++ b/audio/sfx/cry17_2.asm @@ -0,0 +1,24 @@ +SFX_Cry17_2_Ch1: ; 21126 (8:5126) + dutycycle 15 + unknownsfx0x20 15, 247, 0, 5 + unknownsfx0x20 15, 231, 8, 5 + unknownsfx0x20 8, 180, 128, 4 + unknownsfx0x20 15, 162, 96, 4 + endchannel + + +SFX_Cry17_2_Ch2: ; 21139 (8:5139) + dutycycle 68 + unknownsfx0x20 14, 215, 129, 4 + unknownsfx0x20 14, 199, 137, 4 + unknownsfx0x20 10, 180, 1, 4 + unknownsfx0x20 15, 194, 225, 3 + endchannel + + +SFX_Cry17_2_Ch3: ; 2114c (8:514c) + unknownnoise0x20 14, 247, 124 + unknownnoise0x20 12, 246, 108 + unknownnoise0x20 9, 228, 124 + unknownnoise0x20 15, 226, 108 + endchannel diff --git a/audio/sfx/cry17_3.asm b/audio/sfx/cry17_3.asm new file mode 100644 index 00000000..6aad35d0 --- /dev/null +++ b/audio/sfx/cry17_3.asm @@ -0,0 +1,24 @@ +SFX_Cry17_3_Ch1: ; 7cef3 (1f:4ef3) + dutycycle 15 + unknownsfx0x20 15, 247, 0, 5 + unknownsfx0x20 15, 231, 8, 5 + unknownsfx0x20 8, 180, 128, 4 + unknownsfx0x20 15, 162, 96, 4 + endchannel + + +SFX_Cry17_3_Ch2: ; 7cf06 (1f:4f06) + dutycycle 68 + unknownsfx0x20 14, 215, 129, 4 + unknownsfx0x20 14, 199, 137, 4 + unknownsfx0x20 10, 180, 1, 4 + unknownsfx0x20 15, 194, 225, 3 + endchannel + + +SFX_Cry17_3_Ch3: ; 7cf19 (1f:4f19) + unknownnoise0x20 14, 247, 124 + unknownnoise0x20 12, 246, 108 + unknownnoise0x20 9, 228, 124 + unknownnoise0x20 15, 226, 108 + endchannel diff --git a/audio/sfx/cry18_1.asm b/audio/sfx/cry18_1.asm new file mode 100644 index 00000000..576ea693 --- /dev/null +++ b/audio/sfx/cry18_1.asm @@ -0,0 +1,34 @@ +SFX_Cry18_1_Ch1: ; 8f8e (2:4f8e) + dutycycle 80 + unknownsfx0x20 10, 245, 128, 6 + unknownsfx0x20 3, 226, 160, 6 + unknownsfx0x20 3, 242, 192, 6 + unknownsfx0x20 3, 226, 224, 6 + unknownsfx0x20 3, 210, 0, 7 + unknownsfx0x20 3, 194, 224, 6 + unknownsfx0x20 3, 210, 192, 6 + unknownsfx0x20 8, 193, 160, 6 + endchannel + + +SFX_Cry18_1_Ch2: ; 8fb1 (2:4fb1) + dutycycle 15 + unknownsfx0x20 9, 213, 49, 6 + unknownsfx0x20 3, 210, 82, 6 + unknownsfx0x20 3, 226, 113, 6 + unknownsfx0x20 3, 178, 145, 6 + unknownsfx0x20 3, 194, 178, 6 + unknownsfx0x20 3, 178, 145, 6 + unknownsfx0x20 3, 194, 113, 6 + unknownsfx0x20 8, 177, 81, 6 + endchannel + + +SFX_Cry18_1_Ch3: ; 8fd4 (2:4fd4) + unknownnoise0x20 6, 227, 76 + unknownnoise0x20 4, 195, 60 + unknownnoise0x20 5, 212, 60 + unknownnoise0x20 4, 196, 44 + unknownnoise0x20 6, 180, 60 + unknownnoise0x20 8, 193, 44 + endchannel diff --git a/audio/sfx/cry18_2.asm b/audio/sfx/cry18_2.asm new file mode 100644 index 00000000..333ddb9e --- /dev/null +++ b/audio/sfx/cry18_2.asm @@ -0,0 +1,34 @@ +SFX_Cry18_2_Ch1: ; 21236 (8:5236) + dutycycle 80 + unknownsfx0x20 10, 245, 128, 6 + unknownsfx0x20 3, 226, 160, 6 + unknownsfx0x20 3, 242, 192, 6 + unknownsfx0x20 3, 226, 224, 6 + unknownsfx0x20 3, 210, 0, 7 + unknownsfx0x20 3, 194, 224, 6 + unknownsfx0x20 3, 210, 192, 6 + unknownsfx0x20 8, 193, 160, 6 + endchannel + + +SFX_Cry18_2_Ch2: ; 21259 (8:5259) + dutycycle 15 + unknownsfx0x20 9, 213, 49, 6 + unknownsfx0x20 3, 210, 82, 6 + unknownsfx0x20 3, 226, 113, 6 + unknownsfx0x20 3, 178, 145, 6 + unknownsfx0x20 3, 194, 178, 6 + unknownsfx0x20 3, 178, 145, 6 + unknownsfx0x20 3, 194, 113, 6 + unknownsfx0x20 8, 177, 81, 6 + endchannel + + +SFX_Cry18_2_Ch3: ; 2127c (8:527c) + unknownnoise0x20 6, 227, 76 + unknownnoise0x20 4, 195, 60 + unknownnoise0x20 5, 212, 60 + unknownnoise0x20 4, 196, 44 + unknownnoise0x20 6, 180, 60 + unknownnoise0x20 8, 193, 44 + endchannel diff --git a/audio/sfx/cry18_3.asm b/audio/sfx/cry18_3.asm new file mode 100644 index 00000000..3c7b1a99 --- /dev/null +++ b/audio/sfx/cry18_3.asm @@ -0,0 +1,34 @@ +SFX_Cry18_3_Ch1: ; 7d003 (1f:5003) + dutycycle 80 + unknownsfx0x20 10, 245, 128, 6 + unknownsfx0x20 3, 226, 160, 6 + unknownsfx0x20 3, 242, 192, 6 + unknownsfx0x20 3, 226, 224, 6 + unknownsfx0x20 3, 210, 0, 7 + unknownsfx0x20 3, 194, 224, 6 + unknownsfx0x20 3, 210, 192, 6 + unknownsfx0x20 8, 193, 160, 6 + endchannel + + +SFX_Cry18_3_Ch2: ; 7d026 (1f:5026) + dutycycle 15 + unknownsfx0x20 9, 213, 49, 6 + unknownsfx0x20 3, 210, 82, 6 + unknownsfx0x20 3, 226, 113, 6 + unknownsfx0x20 3, 178, 145, 6 + unknownsfx0x20 3, 194, 178, 6 + unknownsfx0x20 3, 178, 145, 6 + unknownsfx0x20 3, 194, 113, 6 + unknownsfx0x20 8, 177, 81, 6 + endchannel + + +SFX_Cry18_3_Ch3: ; 7d049 (1f:5049) + unknownnoise0x20 6, 227, 76 + unknownnoise0x20 4, 195, 60 + unknownnoise0x20 5, 212, 60 + unknownnoise0x20 4, 196, 44 + unknownnoise0x20 6, 180, 60 + unknownnoise0x20 8, 193, 44 + endchannel diff --git a/audio/sfx/cry19_1.asm b/audio/sfx/cry19_1.asm new file mode 100644 index 00000000..94607b9b --- /dev/null +++ b/audio/sfx/cry19_1.asm @@ -0,0 +1,18 @@ +SFX_Cry19_1_Ch1: ; 8ca6 (2:4ca6) + dutycycle 27 + unknownsfx0x20 7, 210, 64, 7 + unknownsfx0x20 15, 229, 96, 7 + unknownsfx0x20 15, 193, 48, 7 + endchannel + + +SFX_Cry19_1_Ch2: ; 8cb5 (2:4cb5) + dutycycle 129 + unknownsfx0x20 2, 194, 1, 7 + unknownsfx0x20 4, 194, 8, 7 + unknownsfx0x20 15, 215, 65, 7 + unknownsfx0x20 15, 162, 1, 7 + + +SFX_Cry19_1_Ch3: ; 8cc7 (2:4cc7) + endchannel diff --git a/audio/sfx/cry19_2.asm b/audio/sfx/cry19_2.asm new file mode 100644 index 00000000..717a5d2b --- /dev/null +++ b/audio/sfx/cry19_2.asm @@ -0,0 +1,18 @@ +SFX_Cry19_2_Ch1: ; 20f4e (8:4f4e) + dutycycle 27 + unknownsfx0x20 7, 210, 64, 7 + unknownsfx0x20 15, 229, 96, 7 + unknownsfx0x20 15, 193, 48, 7 + endchannel + + +SFX_Cry19_2_Ch2: ; 20f5d (8:4f5d) + dutycycle 129 + unknownsfx0x20 2, 194, 1, 7 + unknownsfx0x20 4, 194, 8, 7 + unknownsfx0x20 15, 215, 65, 7 + unknownsfx0x20 15, 162, 1, 7 + + +SFX_Cry19_2_Ch3: ; 20f6f (8:4f6f) + endchannel diff --git a/audio/sfx/cry19_3.asm b/audio/sfx/cry19_3.asm new file mode 100644 index 00000000..535be2b6 --- /dev/null +++ b/audio/sfx/cry19_3.asm @@ -0,0 +1,18 @@ +SFX_Cry19_3_Ch1: ; 7cd1b (1f:4d1b) + dutycycle 27 + unknownsfx0x20 7, 210, 64, 7 + unknownsfx0x20 15, 229, 96, 7 + unknownsfx0x20 15, 193, 48, 7 + endchannel + + +SFX_Cry19_3_Ch2: ; 7cd2a (1f:4d2a) + dutycycle 129 + unknownsfx0x20 2, 194, 1, 7 + unknownsfx0x20 4, 194, 8, 7 + unknownsfx0x20 15, 215, 65, 7 + unknownsfx0x20 15, 162, 1, 7 + + +SFX_Cry19_3_Ch3: ; 7cd3c (1f:4d3c) + endchannel diff --git a/audio/sfx/cry1a_1.asm b/audio/sfx/cry1a_1.asm new file mode 100644 index 00000000..0217deef --- /dev/null +++ b/audio/sfx/cry1a_1.asm @@ -0,0 +1,30 @@ +SFX_Cry1A_1_Ch1: ; 8eff (2:4eff) + dutycycle 240 + unknownsfx0x20 6, 247, 64, 7 + unknownsfx0x20 12, 230, 68, 7 + unknownsfx0x20 6, 213, 80, 7 + unknownsfx0x20 4, 195, 96, 7 + unknownsfx0x20 3, 195, 128, 7 + unknownsfx0x20 8, 209, 160, 7 + endchannel + + +SFX_Cry1A_1_Ch2: ; 8f1a (2:4f1a) + dutycycle 10 + unknownsfx0x20 6, 199, 1, 7 + unknownsfx0x20 11, 182, 2, 7 + unknownsfx0x20 6, 165, 17, 7 + unknownsfx0x20 4, 147, 33, 7 + unknownsfx0x20 3, 163, 65, 7 + unknownsfx0x20 8, 145, 98, 7 + endchannel + + +SFX_Cry1A_1_Ch3: ; 8f35 (2:4f35) + unknownnoise0x20 3, 226, 60 + unknownnoise0x20 8, 214, 76 + unknownnoise0x20 5, 212, 60 + unknownnoise0x20 12, 199, 76 + unknownnoise0x20 2, 226, 60 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry1a_2.asm b/audio/sfx/cry1a_2.asm new file mode 100644 index 00000000..c94fc657 --- /dev/null +++ b/audio/sfx/cry1a_2.asm @@ -0,0 +1,30 @@ +SFX_Cry1A_2_Ch1: ; 211a7 (8:51a7) + dutycycle 240 + unknownsfx0x20 6, 247, 64, 7 + unknownsfx0x20 12, 230, 68, 7 + unknownsfx0x20 6, 213, 80, 7 + unknownsfx0x20 4, 195, 96, 7 + unknownsfx0x20 3, 195, 128, 7 + unknownsfx0x20 8, 209, 160, 7 + endchannel + + +SFX_Cry1A_2_Ch2: ; 211c2 (8:51c2) + dutycycle 10 + unknownsfx0x20 6, 199, 1, 7 + unknownsfx0x20 11, 182, 2, 7 + unknownsfx0x20 6, 165, 17, 7 + unknownsfx0x20 4, 147, 33, 7 + unknownsfx0x20 3, 163, 65, 7 + unknownsfx0x20 8, 145, 98, 7 + endchannel + + +SFX_Cry1A_2_Ch3: ; 211dd (8:51dd) + unknownnoise0x20 3, 226, 60 + unknownnoise0x20 8, 214, 76 + unknownnoise0x20 5, 212, 60 + unknownnoise0x20 12, 199, 76 + unknownnoise0x20 2, 226, 60 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry1a_3.asm b/audio/sfx/cry1a_3.asm new file mode 100644 index 00000000..29ff2ec0 --- /dev/null +++ b/audio/sfx/cry1a_3.asm @@ -0,0 +1,30 @@ +SFX_Cry1A_3_Ch1: ; 7cf74 (1f:4f74) + dutycycle 240 + unknownsfx0x20 6, 247, 64, 7 + unknownsfx0x20 12, 230, 68, 7 + unknownsfx0x20 6, 213, 80, 7 + unknownsfx0x20 4, 195, 96, 7 + unknownsfx0x20 3, 195, 128, 7 + unknownsfx0x20 8, 209, 160, 7 + endchannel + + +SFX_Cry1A_3_Ch2: ; 7cf8f (1f:4f8f) + dutycycle 10 + unknownsfx0x20 6, 199, 1, 7 + unknownsfx0x20 11, 182, 2, 7 + unknownsfx0x20 6, 165, 17, 7 + unknownsfx0x20 4, 147, 33, 7 + unknownsfx0x20 3, 163, 65, 7 + unknownsfx0x20 8, 145, 98, 7 + endchannel + + +SFX_Cry1A_3_Ch3: ; 7cfaa (1f:4faa) + unknownnoise0x20 3, 226, 60 + unknownnoise0x20 8, 214, 76 + unknownnoise0x20 5, 212, 60 + unknownnoise0x20 12, 199, 76 + unknownnoise0x20 2, 226, 60 + unknownnoise0x20 8, 209, 44 + endchannel diff --git a/audio/sfx/cry1b_1.asm b/audio/sfx/cry1b_1.asm new file mode 100644 index 00000000..858d724a --- /dev/null +++ b/audio/sfx/cry1b_1.asm @@ -0,0 +1,26 @@ +SFX_Cry1B_1_Ch1: ; 8cf0 (2:4cf0) + dutycycle 240 + unknownsfx0x20 6, 247, 192, 6 + unknownsfx0x20 15, 231, 0, 7 + unknownsfx0x20 4, 244, 240, 6 + unknownsfx0x20 4, 228, 224, 6 + unknownsfx0x20 8, 209, 208, 6 + endchannel + + +SFX_Cry1B_1_Ch2: ; 8d07 (2:4d07) + dutycycle 10 + unknownsfx0x20 7, 230, 129, 6 + unknownsfx0x20 14, 213, 193, 6 + unknownsfx0x20 4, 196, 177, 6 + unknownsfx0x20 4, 212, 161, 6 + unknownsfx0x20 8, 193, 145, 6 + endchannel + + +SFX_Cry1B_1_Ch3: ; 8d1e (2:4d1e) + unknownnoise0x20 10, 166, 60 + unknownnoise0x20 14, 148, 44 + unknownnoise0x20 5, 163, 60 + unknownnoise0x20 8, 145, 44 + endchannel diff --git a/audio/sfx/cry1b_2.asm b/audio/sfx/cry1b_2.asm new file mode 100644 index 00000000..423258ee --- /dev/null +++ b/audio/sfx/cry1b_2.asm @@ -0,0 +1,26 @@ +SFX_Cry1B_2_Ch1: ; 20f98 (8:4f98) + dutycycle 240 + unknownsfx0x20 6, 247, 192, 6 + unknownsfx0x20 15, 231, 0, 7 + unknownsfx0x20 4, 244, 240, 6 + unknownsfx0x20 4, 228, 224, 6 + unknownsfx0x20 8, 209, 208, 6 + endchannel + + +SFX_Cry1B_2_Ch2: ; 20faf (8:4faf) + dutycycle 10 + unknownsfx0x20 7, 230, 129, 6 + unknownsfx0x20 14, 213, 193, 6 + unknownsfx0x20 4, 196, 177, 6 + unknownsfx0x20 4, 212, 161, 6 + unknownsfx0x20 8, 193, 145, 6 + endchannel + + +SFX_Cry1B_2_Ch3: ; 20fc6 (8:4fc6) + unknownnoise0x20 10, 166, 60 + unknownnoise0x20 14, 148, 44 + unknownnoise0x20 5, 163, 60 + unknownnoise0x20 8, 145, 44 + endchannel diff --git a/audio/sfx/cry1b_3.asm b/audio/sfx/cry1b_3.asm new file mode 100644 index 00000000..7fe6019f --- /dev/null +++ b/audio/sfx/cry1b_3.asm @@ -0,0 +1,26 @@ +SFX_Cry1B_3_Ch1: ; 7cd65 (1f:4d65) + dutycycle 240 + unknownsfx0x20 6, 247, 192, 6 + unknownsfx0x20 15, 231, 0, 7 + unknownsfx0x20 4, 244, 240, 6 + unknownsfx0x20 4, 228, 224, 6 + unknownsfx0x20 8, 209, 208, 6 + endchannel + + +SFX_Cry1B_3_Ch2: ; 7cd7c (1f:4d7c) + dutycycle 10 + unknownsfx0x20 7, 230, 129, 6 + unknownsfx0x20 14, 213, 193, 6 + unknownsfx0x20 4, 196, 177, 6 + unknownsfx0x20 4, 212, 161, 6 + unknownsfx0x20 8, 193, 145, 6 + endchannel + + +SFX_Cry1B_3_Ch3: ; 7cd93 (1f:4d93) + unknownnoise0x20 10, 166, 60 + unknownnoise0x20 14, 148, 44 + unknownnoise0x20 5, 163, 60 + unknownnoise0x20 8, 145, 44 + endchannel diff --git a/audio/sfx/cry1c_1.asm b/audio/sfx/cry1c_1.asm new file mode 100644 index 00000000..f7e66dfb --- /dev/null +++ b/audio/sfx/cry1c_1.asm @@ -0,0 +1,31 @@ +SFX_Cry1C_1_Ch1: ; 8eb1 (2:4eb1) + dutycycle 245 + unknownsfx0x20 7, 214, 225, 7 + unknownsfx0x20 6, 198, 226, 7 + unknownsfx0x20 9, 214, 225, 7 + unknownsfx0x20 7, 198, 224, 7 + unknownsfx0x20 5, 182, 226, 7 + unknownsfx0x20 7, 198, 225, 7 + unknownsfx0x20 6, 182, 224, 7 + unknownsfx0x20 8, 161, 223, 7 + endchannel + + +SFX_Cry1C_1_Ch2: ; 8ed4 (2:4ed4) + dutycycle 68 + unknownsfx0x20 6, 195, 201, 7 + unknownsfx0x20 6, 179, 199, 7 + unknownsfx0x20 10, 196, 195, 7 + unknownsfx0x20 8, 180, 199, 7 + unknownsfx0x20 6, 195, 201, 7 + unknownsfx0x20 15, 162, 197, 7 + endchannel + + +SFX_Cry1C_1_Ch3: ; 8eef (2:4eef) + unknownnoise0x20 13, 25, 124 + unknownnoise0x20 13, 247, 140 + unknownnoise0x20 12, 214, 124 + unknownnoise0x20 8, 196, 108 + unknownnoise0x20 15, 179, 92 + endchannel diff --git a/audio/sfx/cry1c_2.asm b/audio/sfx/cry1c_2.asm new file mode 100644 index 00000000..8037fc96 --- /dev/null +++ b/audio/sfx/cry1c_2.asm @@ -0,0 +1,31 @@ +SFX_Cry1C_2_Ch1: ; 21159 (8:5159) + dutycycle 245 + unknownsfx0x20 7, 214, 225, 7 + unknownsfx0x20 6, 198, 226, 7 + unknownsfx0x20 9, 214, 225, 7 + unknownsfx0x20 7, 198, 224, 7 + unknownsfx0x20 5, 182, 226, 7 + unknownsfx0x20 7, 198, 225, 7 + unknownsfx0x20 6, 182, 224, 7 + unknownsfx0x20 8, 161, 223, 7 + endchannel + + +SFX_Cry1C_2_Ch2: ; 2117c (8:517c) + dutycycle 68 + unknownsfx0x20 6, 195, 201, 7 + unknownsfx0x20 6, 179, 199, 7 + unknownsfx0x20 10, 196, 195, 7 + unknownsfx0x20 8, 180, 199, 7 + unknownsfx0x20 6, 195, 201, 7 + unknownsfx0x20 15, 162, 197, 7 + endchannel + + +SFX_Cry1C_2_Ch3: ; 21197 (8:5197) + unknownnoise0x20 13, 25, 124 + unknownnoise0x20 13, 247, 140 + unknownnoise0x20 12, 214, 124 + unknownnoise0x20 8, 196, 108 + unknownnoise0x20 15, 179, 92 + endchannel diff --git a/audio/sfx/cry1c_3.asm b/audio/sfx/cry1c_3.asm new file mode 100644 index 00000000..853eb1c6 --- /dev/null +++ b/audio/sfx/cry1c_3.asm @@ -0,0 +1,31 @@ +SFX_Cry1C_3_Ch1: ; 7cf26 (1f:4f26) + dutycycle 245 + unknownsfx0x20 7, 214, 225, 7 + unknownsfx0x20 6, 198, 226, 7 + unknownsfx0x20 9, 214, 225, 7 + unknownsfx0x20 7, 198, 224, 7 + unknownsfx0x20 5, 182, 226, 7 + unknownsfx0x20 7, 198, 225, 7 + unknownsfx0x20 6, 182, 224, 7 + unknownsfx0x20 8, 161, 223, 7 + endchannel + + +SFX_Cry1C_3_Ch2: ; 7cf49 (1f:4f49) + dutycycle 68 + unknownsfx0x20 6, 195, 201, 7 + unknownsfx0x20 6, 179, 199, 7 + unknownsfx0x20 10, 196, 195, 7 + unknownsfx0x20 8, 180, 199, 7 + unknownsfx0x20 6, 195, 201, 7 + unknownsfx0x20 15, 162, 197, 7 + endchannel + + +SFX_Cry1C_3_Ch3: ; 7cf64 (1f:4f64) + unknownnoise0x20 13, 25, 124 + unknownnoise0x20 13, 247, 140 + unknownnoise0x20 12, 214, 124 + unknownnoise0x20 8, 196, 108 + unknownnoise0x20 15, 179, 92 + endchannel diff --git a/audio/sfx/cry1d_1.asm b/audio/sfx/cry1d_1.asm new file mode 100644 index 00000000..6e2818c1 --- /dev/null +++ b/audio/sfx/cry1d_1.asm @@ -0,0 +1,29 @@ +SFX_Cry1D_1_Ch1: ; 8f48 (2:4f48) + dutycycle 244 + unknownsfx0x20 15, 240, 5, 7 + unknownsfx0x20 10, 224, 0, 7 + unknownsfx0x20 6, 180, 16, 7 + unknownsfx0x20 4, 211, 0, 7 + unknownsfx0x20 6, 178, 32, 6 + unknownsfx0x20 8, 161, 36, 6 + endchannel + + +SFX_Cry1D_1_Ch2: ; 8f63 (2:4f63) + dutycycle 34 + unknownsfx0x20 15, 176, 195, 6 + unknownsfx0x20 10, 160, 193, 6 + unknownsfx0x20 6, 132, 210, 6 + unknownsfx0x20 4, 147, 193, 6 + unknownsfx0x20 6, 130, 225, 5 + unknownsfx0x20 8, 97, 232, 5 + endchannel + + +SFX_Cry1D_1_Ch3: ; 8f7e (2:4f7e) + unknownnoise0x20 6, 230, 76 + unknownnoise0x20 15, 214, 60 + unknownnoise0x20 10, 197, 74 + unknownnoise0x20 1, 178, 91 + unknownnoise0x20 15, 194, 76 + endchannel diff --git a/audio/sfx/cry1d_2.asm b/audio/sfx/cry1d_2.asm new file mode 100644 index 00000000..c7a2c512 --- /dev/null +++ b/audio/sfx/cry1d_2.asm @@ -0,0 +1,29 @@ +SFX_Cry1D_2_Ch1: ; 211f0 (8:51f0) + dutycycle 244 + unknownsfx0x20 15, 240, 5, 7 + unknownsfx0x20 10, 224, 0, 7 + unknownsfx0x20 6, 180, 16, 7 + unknownsfx0x20 4, 211, 0, 7 + unknownsfx0x20 6, 178, 32, 6 + unknownsfx0x20 8, 161, 36, 6 + endchannel + + +SFX_Cry1D_2_Ch2: ; 2120b (8:520b) + dutycycle 34 + unknownsfx0x20 15, 176, 195, 6 + unknownsfx0x20 10, 160, 193, 6 + unknownsfx0x20 6, 132, 210, 6 + unknownsfx0x20 4, 147, 193, 6 + unknownsfx0x20 6, 130, 225, 5 + unknownsfx0x20 8, 97, 232, 5 + endchannel + + +SFX_Cry1D_2_Ch3: ; 21226 (8:5226) + unknownnoise0x20 6, 230, 76 + unknownnoise0x20 15, 214, 60 + unknownnoise0x20 10, 197, 74 + unknownnoise0x20 1, 178, 91 + unknownnoise0x20 15, 194, 76 + endchannel diff --git a/audio/sfx/cry1d_3.asm b/audio/sfx/cry1d_3.asm new file mode 100644 index 00000000..7210406c --- /dev/null +++ b/audio/sfx/cry1d_3.asm @@ -0,0 +1,29 @@ +SFX_Cry1D_3_Ch1: ; 7cfbd (1f:4fbd) + dutycycle 244 + unknownsfx0x20 15, 240, 5, 7 + unknownsfx0x20 10, 224, 0, 7 + unknownsfx0x20 6, 180, 16, 7 + unknownsfx0x20 4, 211, 0, 7 + unknownsfx0x20 6, 178, 32, 6 + unknownsfx0x20 8, 161, 36, 6 + endchannel + + +SFX_Cry1D_3_Ch2: ; 7cfd8 (1f:4fd8) + dutycycle 34 + unknownsfx0x20 15, 176, 195, 6 + unknownsfx0x20 10, 160, 193, 6 + unknownsfx0x20 6, 132, 210, 6 + unknownsfx0x20 4, 147, 193, 6 + unknownsfx0x20 6, 130, 225, 5 + unknownsfx0x20 8, 97, 232, 5 + endchannel + + +SFX_Cry1D_3_Ch3: ; 7cff3 (1f:4ff3) + unknownnoise0x20 6, 230, 76 + unknownnoise0x20 15, 214, 60 + unknownnoise0x20 10, 197, 74 + unknownnoise0x20 1, 178, 91 + unknownnoise0x20 15, 194, 76 + endchannel diff --git a/audio/sfx/cry1e_1.asm b/audio/sfx/cry1e_1.asm new file mode 100644 index 00000000..e445fdd7 --- /dev/null +++ b/audio/sfx/cry1e_1.asm @@ -0,0 +1,38 @@ +SFX_Cry1E_1_Ch1: ; 8dcf (2:4dcf) + dutycycle 240 + unknownsfx0x20 6, 242, 0, 6 + unknownsfx0x20 6, 226, 64, 6 + unknownsfx0x20 6, 210, 128, 6 + unknownsfx0x20 6, 226, 192, 6 + unknownsfx0x20 6, 210, 0, 7 + unknownsfx0x20 6, 194, 64, 7 + unknownsfx0x20 6, 178, 128, 7 + unknownsfx0x20 8, 161, 192, 7 + endchannel + + +SFX_Cry1E_1_Ch2: ; 8df2 (2:4df2) + dutycycle 17 + unknownsfx0x20 3, 8, 1, 0 + unknownsfx0x20 6, 194, 193, 5 + unknownsfx0x20 6, 178, 2, 6 + unknownsfx0x20 6, 162, 65, 6 + unknownsfx0x20 6, 178, 130, 6 + unknownsfx0x20 6, 162, 194, 6 + unknownsfx0x20 6, 146, 1, 7 + unknownsfx0x20 6, 162, 66, 7 + unknownsfx0x20 8, 129, 129, 7 + endchannel + + +SFX_Cry1E_1_Ch3: ; 8e19 (2:4e19) + unknownnoise0x20 6, 8, 1 + unknownnoise0x20 5, 226, 92 + unknownnoise0x20 5, 194, 76 + unknownnoise0x20 5, 210, 60 + unknownnoise0x20 5, 178, 44 + unknownnoise0x20 5, 194, 28 + unknownnoise0x20 5, 162, 27 + unknownnoise0x20 5, 146, 26 + unknownnoise0x20 8, 129, 24 + endchannel diff --git a/audio/sfx/cry1e_2.asm b/audio/sfx/cry1e_2.asm new file mode 100644 index 00000000..59c9985f --- /dev/null +++ b/audio/sfx/cry1e_2.asm @@ -0,0 +1,38 @@ +SFX_Cry1E_2_Ch1: ; 21077 (8:5077) + dutycycle 240 + unknownsfx0x20 6, 242, 0, 6 + unknownsfx0x20 6, 226, 64, 6 + unknownsfx0x20 6, 210, 128, 6 + unknownsfx0x20 6, 226, 192, 6 + unknownsfx0x20 6, 210, 0, 7 + unknownsfx0x20 6, 194, 64, 7 + unknownsfx0x20 6, 178, 128, 7 + unknownsfx0x20 8, 161, 192, 7 + endchannel + + +SFX_Cry1E_2_Ch2: ; 2109a (8:509a) + dutycycle 17 + unknownsfx0x20 3, 8, 1, 0 + unknownsfx0x20 6, 194, 193, 5 + unknownsfx0x20 6, 178, 2, 6 + unknownsfx0x20 6, 162, 65, 6 + unknownsfx0x20 6, 178, 130, 6 + unknownsfx0x20 6, 162, 194, 6 + unknownsfx0x20 6, 146, 1, 7 + unknownsfx0x20 6, 162, 66, 7 + unknownsfx0x20 8, 129, 129, 7 + endchannel + + +SFX_Cry1E_2_Ch3: ; 210c1 (8:50c1) + unknownnoise0x20 6, 8, 1 + unknownnoise0x20 5, 226, 92 + unknownnoise0x20 5, 194, 76 + unknownnoise0x20 5, 210, 60 + unknownnoise0x20 5, 178, 44 + unknownnoise0x20 5, 194, 28 + unknownnoise0x20 5, 162, 27 + unknownnoise0x20 5, 146, 26 + unknownnoise0x20 8, 129, 24 + endchannel diff --git a/audio/sfx/cry1e_3.asm b/audio/sfx/cry1e_3.asm new file mode 100644 index 00000000..1c50d4b8 --- /dev/null +++ b/audio/sfx/cry1e_3.asm @@ -0,0 +1,38 @@ +SFX_Cry1E_3_Ch1: ; 7ce44 (1f:4e44) + dutycycle 240 + unknownsfx0x20 6, 242, 0, 6 + unknownsfx0x20 6, 226, 64, 6 + unknownsfx0x20 6, 210, 128, 6 + unknownsfx0x20 6, 226, 192, 6 + unknownsfx0x20 6, 210, 0, 7 + unknownsfx0x20 6, 194, 64, 7 + unknownsfx0x20 6, 178, 128, 7 + unknownsfx0x20 8, 161, 192, 7 + endchannel + + +SFX_Cry1E_3_Ch2: ; 7ce67 (1f:4e67) + dutycycle 17 + unknownsfx0x20 3, 8, 1, 0 + unknownsfx0x20 6, 194, 193, 5 + unknownsfx0x20 6, 178, 2, 6 + unknownsfx0x20 6, 162, 65, 6 + unknownsfx0x20 6, 178, 130, 6 + unknownsfx0x20 6, 162, 194, 6 + unknownsfx0x20 6, 146, 1, 7 + unknownsfx0x20 6, 162, 66, 7 + unknownsfx0x20 8, 129, 129, 7 + endchannel + + +SFX_Cry1E_3_Ch3: ; 7ce8e (1f:4e8e) + unknownnoise0x20 6, 8, 1 + unknownnoise0x20 5, 226, 92 + unknownnoise0x20 5, 194, 76 + unknownnoise0x20 5, 210, 60 + unknownnoise0x20 5, 178, 44 + unknownnoise0x20 5, 194, 28 + unknownnoise0x20 5, 162, 27 + unknownnoise0x20 5, 146, 26 + unknownnoise0x20 8, 129, 24 + endchannel diff --git a/audio/sfx/cry1f_1.asm b/audio/sfx/cry1f_1.asm new file mode 100644 index 00000000..52be80df --- /dev/null +++ b/audio/sfx/cry1f_1.asm @@ -0,0 +1,24 @@ +SFX_Cry1F_1_Ch1: ; 8fe7 (2:4fe7) + dutycycle 165 + unknownsfx0x20 3, 244, 65, 6 + unknownsfx0x20 13, 214, 33, 7 + unknownsfx0x20 8, 244, 25, 7 + unknownsfx0x20 8, 193, 26, 7 + endchannel + + +SFX_Cry1F_1_Ch2: ; 8ffa (2:4ffa) + dutycycle 204 + unknownsfx0x20 4, 244, 128, 5 + unknownsfx0x20 14, 230, 224, 6 + unknownsfx0x20 8, 213, 216, 6 + unknownsfx0x20 8, 209, 220, 6 + endchannel + + +SFX_Cry1F_1_Ch3: ; 900d (2:500d) + unknownnoise0x20 5, 196, 70 + unknownnoise0x20 13, 165, 68 + unknownnoise0x20 8, 196, 69 + unknownnoise0x20 8, 177, 68 + endchannel diff --git a/audio/sfx/cry1f_2.asm b/audio/sfx/cry1f_2.asm new file mode 100644 index 00000000..da7df61a --- /dev/null +++ b/audio/sfx/cry1f_2.asm @@ -0,0 +1,24 @@ +SFX_Cry1F_2_Ch1: ; 2128f (8:528f) + dutycycle 165 + unknownsfx0x20 3, 244, 65, 6 + unknownsfx0x20 13, 214, 33, 7 + unknownsfx0x20 8, 244, 25, 7 + unknownsfx0x20 8, 193, 26, 7 + endchannel + + +SFX_Cry1F_2_Ch2: ; 212a2 (8:52a2) + dutycycle 204 + unknownsfx0x20 4, 244, 128, 5 + unknownsfx0x20 14, 230, 224, 6 + unknownsfx0x20 8, 213, 216, 6 + unknownsfx0x20 8, 209, 220, 6 + endchannel + + +SFX_Cry1F_2_Ch3: ; 212b5 (8:52b5) + unknownnoise0x20 5, 196, 70 + unknownnoise0x20 13, 165, 68 + unknownnoise0x20 8, 196, 69 + unknownnoise0x20 8, 177, 68 + endchannel diff --git a/audio/sfx/cry1f_3.asm b/audio/sfx/cry1f_3.asm new file mode 100644 index 00000000..2f6c1eda --- /dev/null +++ b/audio/sfx/cry1f_3.asm @@ -0,0 +1,24 @@ +SFX_Cry1F_3_Ch1: ; 7d05c (1f:505c) + dutycycle 165 + unknownsfx0x20 3, 244, 65, 6 + unknownsfx0x20 13, 214, 33, 7 + unknownsfx0x20 8, 244, 25, 7 + unknownsfx0x20 8, 193, 26, 7 + endchannel + + +SFX_Cry1F_3_Ch2: ; 7d06f (1f:506f) + dutycycle 204 + unknownsfx0x20 4, 244, 128, 5 + unknownsfx0x20 14, 230, 224, 6 + unknownsfx0x20 8, 213, 216, 6 + unknownsfx0x20 8, 209, 220, 6 + endchannel + + +SFX_Cry1F_3_Ch3: ; 7d082 (1f:5082) + unknownnoise0x20 5, 196, 70 + unknownnoise0x20 13, 165, 68 + unknownnoise0x20 8, 196, 69 + unknownnoise0x20 8, 177, 68 + endchannel diff --git a/audio/sfx/cry20_1.asm b/audio/sfx/cry20_1.asm new file mode 100644 index 00000000..d6586bdd --- /dev/null +++ b/audio/sfx/cry20_1.asm @@ -0,0 +1,24 @@ +SFX_Cry20_1_Ch1: ; 901a (2:501a) + dutycycle 240 + unknownsfx0x20 13, 241, 17, 5 + unknownsfx0x20 13, 225, 21, 5 + unknownsfx0x20 13, 225, 17, 5 + unknownsfx0x20 8, 209, 17, 5 + endchannel + + +SFX_Cry20_1_Ch2: ; 902d (2:502d) + dutycycle 21 + unknownsfx0x20 12, 225, 12, 5 + unknownsfx0x20 12, 209, 16, 5 + unknownsfx0x20 14, 193, 12, 5 + unknownsfx0x20 8, 193, 10, 5 + endchannel + + +SFX_Cry20_1_Ch3: ; 9040 (2:5040) + unknownnoise0x20 14, 242, 101 + unknownnoise0x20 13, 226, 85 + unknownnoise0x20 14, 210, 86 + unknownnoise0x20 8, 209, 102 + endchannel diff --git a/audio/sfx/cry20_2.asm b/audio/sfx/cry20_2.asm new file mode 100644 index 00000000..b345eba5 --- /dev/null +++ b/audio/sfx/cry20_2.asm @@ -0,0 +1,24 @@ +SFX_Cry20_2_Ch1: ; 212c2 (8:52c2) + dutycycle 240 + unknownsfx0x20 13, 241, 17, 5 + unknownsfx0x20 13, 225, 21, 5 + unknownsfx0x20 13, 225, 17, 5 + unknownsfx0x20 8, 209, 17, 5 + endchannel + + +SFX_Cry20_2_Ch2: ; 212d5 (8:52d5) + dutycycle 21 + unknownsfx0x20 12, 225, 12, 5 + unknownsfx0x20 12, 209, 16, 5 + unknownsfx0x20 14, 193, 12, 5 + unknownsfx0x20 8, 193, 10, 5 + endchannel + + +SFX_Cry20_2_Ch3: ; 212e8 (8:52e8) + unknownnoise0x20 14, 242, 101 + unknownnoise0x20 13, 226, 85 + unknownnoise0x20 14, 210, 86 + unknownnoise0x20 8, 209, 102 + endchannel diff --git a/audio/sfx/cry20_3.asm b/audio/sfx/cry20_3.asm new file mode 100644 index 00000000..5bcdf3df --- /dev/null +++ b/audio/sfx/cry20_3.asm @@ -0,0 +1,24 @@ +SFX_Cry20_3_Ch1: ; 7d08f (1f:508f) + dutycycle 240 + unknownsfx0x20 13, 241, 17, 5 + unknownsfx0x20 13, 225, 21, 5 + unknownsfx0x20 13, 225, 17, 5 + unknownsfx0x20 8, 209, 17, 5 + endchannel + + +SFX_Cry20_3_Ch2: ; 7d0a2 (1f:50a2) + dutycycle 21 + unknownsfx0x20 12, 225, 12, 5 + unknownsfx0x20 12, 209, 16, 5 + unknownsfx0x20 14, 193, 12, 5 + unknownsfx0x20 8, 193, 10, 5 + endchannel + + +SFX_Cry20_3_Ch3: ; 7d0b5 (1f:50b5) + unknownnoise0x20 14, 242, 101 + unknownnoise0x20 13, 226, 85 + unknownnoise0x20 14, 210, 86 + unknownnoise0x20 8, 209, 102 + endchannel diff --git a/audio/sfx/cry21_1.asm b/audio/sfx/cry21_1.asm new file mode 100644 index 00000000..9b81e2a3 --- /dev/null +++ b/audio/sfx/cry21_1.asm @@ -0,0 +1,27 @@ +SFX_Cry21_1_Ch1: ; 904d (2:504d) + dutycycle 27 + unknownsfx0x20 3, 243, 100, 5 + unknownsfx0x20 2, 226, 68, 5 + unknownsfx0x20 5, 209, 34, 5 + unknownsfx0x20 2, 178, 132, 4 + unknownsfx0x20 8, 209, 162, 4 + unknownsfx0x20 3, 243, 36, 5 + unknownsfx0x20 4, 228, 228, 4 + unknownsfx0x20 8, 209, 2, 5 + endchannel + + +SFX_Cry21_1_Ch2: ; 9070 (2:5070) + dutycycle 204 + unknownsfx0x20 3, 211, 96, 5 + unknownsfx0x20 2, 194, 64, 5 + unknownsfx0x20 5, 193, 32, 5 + unknownsfx0x20 2, 146, 128, 4 + unknownsfx0x20 8, 193, 160, 4 + unknownsfx0x20 3, 211, 32, 5 + unknownsfx0x20 3, 196, 224, 4 + unknownsfx0x20 8, 193, 0, 5 + + +SFX_Cry21_1_Ch3: ; 9092 (2:5092) + endchannel diff --git a/audio/sfx/cry21_2.asm b/audio/sfx/cry21_2.asm new file mode 100644 index 00000000..f5571642 --- /dev/null +++ b/audio/sfx/cry21_2.asm @@ -0,0 +1,27 @@ +SFX_Cry21_2_Ch1: ; 212f5 (8:52f5) + dutycycle 27 + unknownsfx0x20 3, 243, 100, 5 + unknownsfx0x20 2, 226, 68, 5 + unknownsfx0x20 5, 209, 34, 5 + unknownsfx0x20 2, 178, 132, 4 + unknownsfx0x20 8, 209, 162, 4 + unknownsfx0x20 3, 243, 36, 5 + unknownsfx0x20 4, 228, 228, 4 + unknownsfx0x20 8, 209, 2, 5 + endchannel + + +SFX_Cry21_2_Ch2: ; 21318 (8:5318) + dutycycle 204 + unknownsfx0x20 3, 211, 96, 5 + unknownsfx0x20 2, 194, 64, 5 + unknownsfx0x20 5, 193, 32, 5 + unknownsfx0x20 2, 146, 128, 4 + unknownsfx0x20 8, 193, 160, 4 + unknownsfx0x20 3, 211, 32, 5 + unknownsfx0x20 3, 196, 224, 4 + unknownsfx0x20 8, 193, 0, 5 + + +SFX_Cry21_2_Ch3: ; 2133a (8:533a) + endchannel diff --git a/audio/sfx/cry21_3.asm b/audio/sfx/cry21_3.asm new file mode 100644 index 00000000..d91177b8 --- /dev/null +++ b/audio/sfx/cry21_3.asm @@ -0,0 +1,27 @@ +SFX_Cry21_3_Ch1: ; 7d0c2 (1f:50c2) + dutycycle 27 + unknownsfx0x20 3, 243, 100, 5 + unknownsfx0x20 2, 226, 68, 5 + unknownsfx0x20 5, 209, 34, 5 + unknownsfx0x20 2, 178, 132, 4 + unknownsfx0x20 8, 209, 162, 4 + unknownsfx0x20 3, 243, 36, 5 + unknownsfx0x20 4, 228, 228, 4 + unknownsfx0x20 8, 209, 2, 5 + endchannel + + +SFX_Cry21_3_Ch2: ; 7d0e5 (1f:50e5) + dutycycle 204 + unknownsfx0x20 3, 211, 96, 5 + unknownsfx0x20 2, 194, 64, 5 + unknownsfx0x20 5, 193, 32, 5 + unknownsfx0x20 2, 146, 128, 4 + unknownsfx0x20 8, 193, 160, 4 + unknownsfx0x20 3, 211, 32, 5 + unknownsfx0x20 3, 196, 224, 4 + unknownsfx0x20 8, 193, 0, 5 + + +SFX_Cry21_3_Ch3: ; 7d107 (1f:5107) + endchannel diff --git a/audio/sfx/cry22_1.asm b/audio/sfx/cry22_1.asm new file mode 100644 index 00000000..90961298 --- /dev/null +++ b/audio/sfx/cry22_1.asm @@ -0,0 +1,24 @@ +SFX_Cry22_1_Ch1: ; 9093 (2:5093) + dutycycle 17 + unknownsfx0x20 2, 61, 129, 3 + unknownsfx0x20 7, 245, 1, 6 + unknownsfx0x20 1, 194, 129, 4 + unknownsfx0x20 8, 145, 129, 3 + endchannel + + +SFX_Cry22_1_Ch2: ; 90a6 (2:50a6) + dutycycle 238 + unknownsfx0x20 2, 62, 176, 5 + unknownsfx0x20 7, 213, 93, 7 + unknownsfx0x20 1, 178, 176, 6 + unknownsfx0x20 8, 97, 176, 5 + endchannel + + +SFX_Cry22_1_Ch3: ; 90b9 (2:50b9) + unknownnoise0x20 2, 146, 73 + unknownnoise0x20 7, 181, 41 + unknownnoise0x20 1, 162, 57 + unknownnoise0x20 8, 145, 73 + endchannel diff --git a/audio/sfx/cry22_2.asm b/audio/sfx/cry22_2.asm new file mode 100644 index 00000000..861c3bfb --- /dev/null +++ b/audio/sfx/cry22_2.asm @@ -0,0 +1,24 @@ +SFX_Cry22_2_Ch1: ; 2133b (8:533b) + dutycycle 17 + unknownsfx0x20 2, 61, 129, 3 + unknownsfx0x20 7, 245, 1, 6 + unknownsfx0x20 1, 194, 129, 4 + unknownsfx0x20 8, 145, 129, 3 + endchannel + + +SFX_Cry22_2_Ch2: ; 2134e (8:534e) + dutycycle 238 + unknownsfx0x20 2, 62, 176, 5 + unknownsfx0x20 7, 213, 93, 7 + unknownsfx0x20 1, 178, 176, 6 + unknownsfx0x20 8, 97, 176, 5 + endchannel + + +SFX_Cry22_2_Ch3: ; 21361 (8:5361) + unknownnoise0x20 2, 146, 73 + unknownnoise0x20 7, 181, 41 + unknownnoise0x20 1, 162, 57 + unknownnoise0x20 8, 145, 73 + endchannel diff --git a/audio/sfx/cry22_3.asm b/audio/sfx/cry22_3.asm new file mode 100644 index 00000000..42b3039c --- /dev/null +++ b/audio/sfx/cry22_3.asm @@ -0,0 +1,24 @@ +SFX_Cry22_3_Ch1: ; 7d108 (1f:5108) + dutycycle 17 + unknownsfx0x20 2, 61, 129, 3 + unknownsfx0x20 7, 245, 1, 6 + unknownsfx0x20 1, 194, 129, 4 + unknownsfx0x20 8, 145, 129, 3 + endchannel + + +SFX_Cry22_3_Ch2: ; 7d11b (1f:511b) + dutycycle 238 + unknownsfx0x20 2, 62, 176, 5 + unknownsfx0x20 7, 213, 93, 7 + unknownsfx0x20 1, 178, 176, 6 + unknownsfx0x20 8, 97, 176, 5 + endchannel + + +SFX_Cry22_3_Ch3: ; 7d12e (1f:512e) + unknownnoise0x20 2, 146, 73 + unknownnoise0x20 7, 181, 41 + unknownnoise0x20 1, 162, 57 + unknownnoise0x20 8, 145, 73 + endchannel diff --git a/audio/sfx/cry23_1.asm b/audio/sfx/cry23_1.asm new file mode 100644 index 00000000..02868042 --- /dev/null +++ b/audio/sfx/cry23_1.asm @@ -0,0 +1,25 @@ +SFX_Cry23_1_Ch1: ; 8786 (2:4786) + dutycycle 240 + unknownsfx0x20 15, 247, 192, 7 + unknownsfx0x20 6, 228, 193, 7 + unknownsfx0x20 10, 246, 192, 7 + unknownsfx0x20 4, 211, 194, 7 + unknownsfx0x20 8, 193, 192, 7 + endchannel + + +SFX_Cry23_1_Ch2: ; 879d (2:479d) + dutycycle 95 + unknownsfx0x20 15, 151, 129, 7 + unknownsfx0x20 6, 132, 128, 7 + unknownsfx0x20 10, 150, 129, 7 + unknownsfx0x20 15, 131, 129, 7 + endchannel + + +SFX_Cry23_1_Ch3: ; 87b0 (2:47b0) + unknownnoise0x20 3, 242, 60 + unknownnoise0x20 13, 230, 44 + unknownnoise0x20 15, 215, 60 + unknownnoise0x20 8, 193, 44 + endchannel diff --git a/audio/sfx/cry23_2.asm b/audio/sfx/cry23_2.asm new file mode 100644 index 00000000..089a233c --- /dev/null +++ b/audio/sfx/cry23_2.asm @@ -0,0 +1,25 @@ +SFX_Cry23_2_Ch1: ; 20a2e (8:4a2e) + dutycycle 240 + unknownsfx0x20 15, 247, 192, 7 + unknownsfx0x20 6, 228, 193, 7 + unknownsfx0x20 10, 246, 192, 7 + unknownsfx0x20 4, 211, 194, 7 + unknownsfx0x20 8, 193, 192, 7 + endchannel + + +SFX_Cry23_2_Ch2: ; 20a45 (8:4a45) + dutycycle 95 + unknownsfx0x20 15, 151, 129, 7 + unknownsfx0x20 6, 132, 128, 7 + unknownsfx0x20 10, 150, 129, 7 + unknownsfx0x20 15, 131, 129, 7 + endchannel + + +SFX_Cry23_2_Ch3: ; 20a58 (8:4a58) + unknownnoise0x20 3, 242, 60 + unknownnoise0x20 13, 230, 44 + unknownnoise0x20 15, 215, 60 + unknownnoise0x20 8, 193, 44 + endchannel diff --git a/audio/sfx/cry23_3.asm b/audio/sfx/cry23_3.asm new file mode 100644 index 00000000..31ba3743 --- /dev/null +++ b/audio/sfx/cry23_3.asm @@ -0,0 +1,25 @@ +SFX_Cry23_3_Ch1: ; 7c7fb (1f:47fb) + dutycycle 240 + unknownsfx0x20 15, 247, 192, 7 + unknownsfx0x20 6, 228, 193, 7 + unknownsfx0x20 10, 246, 192, 7 + unknownsfx0x20 4, 211, 194, 7 + unknownsfx0x20 8, 193, 192, 7 + endchannel + + +SFX_Cry23_3_Ch2: ; 7c812 (1f:4812) + dutycycle 95 + unknownsfx0x20 15, 151, 129, 7 + unknownsfx0x20 6, 132, 128, 7 + unknownsfx0x20 10, 150, 129, 7 + unknownsfx0x20 15, 131, 129, 7 + endchannel + + +SFX_Cry23_3_Ch3: ; 7c825 (1f:4825) + unknownnoise0x20 3, 242, 60 + unknownnoise0x20 13, 230, 44 + unknownnoise0x20 15, 215, 60 + unknownnoise0x20 8, 193, 44 + endchannel diff --git a/audio/sfx/cry24_1.asm b/audio/sfx/cry24_1.asm new file mode 100644 index 00000000..061ed65a --- /dev/null +++ b/audio/sfx/cry24_1.asm @@ -0,0 +1,33 @@ +SFX_Cry24_1_Ch1: ; 87bd (2:47bd) + dutycycle 240 + unknownsfx0x20 15, 247, 128, 6 + unknownsfx0x20 10, 230, 132, 6 + unknownsfx0x20 15, 215, 144, 6 + unknownsfx0x20 8, 213, 144, 6 + unknownsfx0x20 6, 196, 136, 6 + unknownsfx0x20 5, 211, 112, 6 + unknownsfx0x20 4, 211, 96, 6 + unknownsfx0x20 8, 193, 64, 6 + endchannel + + +SFX_Cry24_1_Ch2: ; 87e0 (2:47e0) + dutycycle 5 + unknownsfx0x20 15, 183, 65, 6 + unknownsfx0x20 10, 150, 66, 6 + unknownsfx0x20 15, 167, 81, 6 + unknownsfx0x20 8, 165, 81, 6 + unknownsfx0x20 6, 148, 71, 6 + unknownsfx0x20 5, 163, 49, 6 + unknownsfx0x20 4, 147, 34, 6 + unknownsfx0x20 8, 113, 1, 6 + endchannel + + +SFX_Cry24_1_Ch3: ; 8803 (2:4803) + unknownnoise0x20 15, 228, 60 + unknownnoise0x20 10, 199, 76 + unknownnoise0x20 10, 199, 60 + unknownnoise0x20 12, 183, 76 + unknownnoise0x20 15, 162, 92 + endchannel diff --git a/audio/sfx/cry24_2.asm b/audio/sfx/cry24_2.asm new file mode 100644 index 00000000..52986829 --- /dev/null +++ b/audio/sfx/cry24_2.asm @@ -0,0 +1,33 @@ +SFX_Cry24_2_Ch1: ; 20a65 (8:4a65) + dutycycle 240 + unknownsfx0x20 15, 247, 128, 6 + unknownsfx0x20 10, 230, 132, 6 + unknownsfx0x20 15, 215, 144, 6 + unknownsfx0x20 8, 213, 144, 6 + unknownsfx0x20 6, 196, 136, 6 + unknownsfx0x20 5, 211, 112, 6 + unknownsfx0x20 4, 211, 96, 6 + unknownsfx0x20 8, 193, 64, 6 + endchannel + + +SFX_Cry24_2_Ch2: ; 20a88 (8:4a88) + dutycycle 5 + unknownsfx0x20 15, 183, 65, 6 + unknownsfx0x20 10, 150, 66, 6 + unknownsfx0x20 15, 167, 81, 6 + unknownsfx0x20 8, 165, 81, 6 + unknownsfx0x20 6, 148, 71, 6 + unknownsfx0x20 5, 163, 49, 6 + unknownsfx0x20 4, 147, 34, 6 + unknownsfx0x20 8, 113, 1, 6 + endchannel + + +SFX_Cry24_2_Ch3: ; 20aab (8:4aab) + unknownnoise0x20 15, 228, 60 + unknownnoise0x20 10, 199, 76 + unknownnoise0x20 10, 199, 60 + unknownnoise0x20 12, 183, 76 + unknownnoise0x20 15, 162, 92 + endchannel diff --git a/audio/sfx/cry24_3.asm b/audio/sfx/cry24_3.asm new file mode 100644 index 00000000..8c9cfc81 --- /dev/null +++ b/audio/sfx/cry24_3.asm @@ -0,0 +1,33 @@ +SFX_Cry24_3_Ch1: ; 7c832 (1f:4832) + dutycycle 240 + unknownsfx0x20 15, 247, 128, 6 + unknownsfx0x20 10, 230, 132, 6 + unknownsfx0x20 15, 215, 144, 6 + unknownsfx0x20 8, 213, 144, 6 + unknownsfx0x20 6, 196, 136, 6 + unknownsfx0x20 5, 211, 112, 6 + unknownsfx0x20 4, 211, 96, 6 + unknownsfx0x20 8, 193, 64, 6 + endchannel + + +SFX_Cry24_3_Ch2: ; 7c855 (1f:4855) + dutycycle 5 + unknownsfx0x20 15, 183, 65, 6 + unknownsfx0x20 10, 150, 66, 6 + unknownsfx0x20 15, 167, 81, 6 + unknownsfx0x20 8, 165, 81, 6 + unknownsfx0x20 6, 148, 71, 6 + unknownsfx0x20 5, 163, 49, 6 + unknownsfx0x20 4, 147, 34, 6 + unknownsfx0x20 8, 113, 1, 6 + endchannel + + +SFX_Cry24_3_Ch3: ; 7c878 (1f:4878) + unknownnoise0x20 15, 228, 60 + unknownnoise0x20 10, 199, 76 + unknownnoise0x20 10, 199, 60 + unknownnoise0x20 12, 183, 76 + unknownnoise0x20 15, 162, 92 + endchannel diff --git a/audio/sfx/cry25_1.asm b/audio/sfx/cry25_1.asm new file mode 100644 index 00000000..ce238db2 --- /dev/null +++ b/audio/sfx/cry25_1.asm @@ -0,0 +1,26 @@ +SFX_Cry25_1_Ch1: ; 886b (2:486b) + dutycycle 165 + unknownsfx0x20 6, 244, 64, 7 + unknownsfx0x20 15, 227, 48, 7 + unknownsfx0x20 4, 244, 64, 7 + unknownsfx0x20 5, 179, 72, 7 + unknownsfx0x20 8, 209, 80, 7 + endchannel + + +SFX_Cry25_1_Ch2: ; 8882 (2:4882) + dutycycle 119 + unknownsfx0x20 6, 195, 18, 7 + unknownsfx0x20 15, 179, 4, 7 + unknownsfx0x20 3, 195, 18, 7 + unknownsfx0x20 4, 195, 33, 7 + unknownsfx0x20 8, 177, 50, 7 + endchannel + + +SFX_Cry25_1_Ch3: ; 8899 (2:4899) + unknownnoise0x20 8, 214, 44 + unknownnoise0x20 12, 198, 60 + unknownnoise0x20 10, 182, 44 + unknownnoise0x20 8, 145, 28 + endchannel diff --git a/audio/sfx/cry25_2.asm b/audio/sfx/cry25_2.asm new file mode 100644 index 00000000..b00210a9 --- /dev/null +++ b/audio/sfx/cry25_2.asm @@ -0,0 +1,26 @@ +SFX_Cry25_2_Ch1: ; 20b13 (8:4b13) + dutycycle 165 + unknownsfx0x20 6, 244, 64, 7 + unknownsfx0x20 15, 227, 48, 7 + unknownsfx0x20 4, 244, 64, 7 + unknownsfx0x20 5, 179, 72, 7 + unknownsfx0x20 8, 209, 80, 7 + endchannel + + +SFX_Cry25_2_Ch2: ; 20b2a (8:4b2a) + dutycycle 119 + unknownsfx0x20 6, 195, 18, 7 + unknownsfx0x20 15, 179, 4, 7 + unknownsfx0x20 3, 195, 18, 7 + unknownsfx0x20 4, 195, 33, 7 + unknownsfx0x20 8, 177, 50, 7 + endchannel + + +SFX_Cry25_2_Ch3: ; 20b41 (8:4b41) + unknownnoise0x20 8, 214, 44 + unknownnoise0x20 12, 198, 60 + unknownnoise0x20 10, 182, 44 + unknownnoise0x20 8, 145, 28 + endchannel diff --git a/audio/sfx/cry25_3.asm b/audio/sfx/cry25_3.asm new file mode 100644 index 00000000..7c93b0e6 --- /dev/null +++ b/audio/sfx/cry25_3.asm @@ -0,0 +1,26 @@ +SFX_Cry25_3_Ch1: ; 7c8e0 (1f:48e0) + dutycycle 165 + unknownsfx0x20 6, 244, 64, 7 + unknownsfx0x20 15, 227, 48, 7 + unknownsfx0x20 4, 244, 64, 7 + unknownsfx0x20 5, 179, 72, 7 + unknownsfx0x20 8, 209, 80, 7 + endchannel + + +SFX_Cry25_3_Ch2: ; 7c8f7 (1f:48f7) + dutycycle 119 + unknownsfx0x20 6, 195, 18, 7 + unknownsfx0x20 15, 179, 4, 7 + unknownsfx0x20 3, 195, 18, 7 + unknownsfx0x20 4, 195, 33, 7 + unknownsfx0x20 8, 177, 50, 7 + endchannel + + +SFX_Cry25_3_Ch3: ; 7c90e (1f:490e) + unknownnoise0x20 8, 214, 44 + unknownnoise0x20 12, 198, 60 + unknownnoise0x20 10, 182, 44 + unknownnoise0x20 8, 145, 28 + endchannel diff --git a/audio/sfx/cut_1.asm b/audio/sfx/cut_1.asm new file mode 100644 index 00000000..c1b763e0 --- /dev/null +++ b/audio/sfx/cut_1.asm @@ -0,0 +1,7 @@ +SFX_Cut_1_Ch1: ; 83e1 (2:43e1) + unknownnoise0x20 2, 247, 36 + unknownnoise0x20 2, 247, 52 + unknownnoise0x20 4, 247, 68 + unknownnoise0x20 8, 244, 85 + unknownnoise0x20 8, 241, 68 + endchannel diff --git a/audio/sfx/cut_3.asm b/audio/sfx/cut_3.asm new file mode 100644 index 00000000..4ad5551d --- /dev/null +++ b/audio/sfx/cut_3.asm @@ -0,0 +1,7 @@ +SFX_Cut_3_Ch1: ; 7c3ca (1f:43ca) + unknownnoise0x20 2, 247, 36 + unknownnoise0x20 2, 247, 52 + unknownnoise0x20 4, 247, 68 + unknownnoise0x20 8, 244, 85 + unknownnoise0x20 8, 241, 68 + endchannel diff --git a/audio/sfx/cymbal1_1.asm b/audio/sfx/cymbal1_1.asm new file mode 100644 index 00000000..d001b750 --- /dev/null +++ b/audio/sfx/cymbal1_1.asm @@ -0,0 +1,3 @@ +SFX_Cymbal1_1_Ch1: ; 833b (2:433b) + unknownnoise0x20 0, 161, 16 + endchannel diff --git a/audio/sfx/cymbal1_2.asm b/audio/sfx/cymbal1_2.asm new file mode 100644 index 00000000..8987d85f --- /dev/null +++ b/audio/sfx/cymbal1_2.asm @@ -0,0 +1,3 @@ +SFX_Cymbal1_2_Ch1: ; 2033b (8:433b) + unknownnoise0x20 0, 161, 16 + endchannel diff --git a/audio/sfx/cymbal1_3.asm b/audio/sfx/cymbal1_3.asm new file mode 100644 index 00000000..597a8b61 --- /dev/null +++ b/audio/sfx/cymbal1_3.asm @@ -0,0 +1,3 @@ +SFX_Cymbal1_3_Ch1: ; 7c33b (1f:433b) + unknownnoise0x20 0, 161, 16 + endchannel diff --git a/audio/sfx/cymbal2_1.asm b/audio/sfx/cymbal2_1.asm new file mode 100644 index 00000000..3f50299a --- /dev/null +++ b/audio/sfx/cymbal2_1.asm @@ -0,0 +1,3 @@ +SFX_Cymbal2_1_Ch1: ; 833f (2:433f) + unknownnoise0x20 0, 162, 17 + endchannel diff --git a/audio/sfx/cymbal2_2.asm b/audio/sfx/cymbal2_2.asm new file mode 100644 index 00000000..5224a20d --- /dev/null +++ b/audio/sfx/cymbal2_2.asm @@ -0,0 +1,3 @@ +SFX_Cymbal2_2_Ch1: ; 2033f (8:433f) + unknownnoise0x20 0, 162, 17 + endchannel diff --git a/audio/sfx/cymbal2_3.asm b/audio/sfx/cymbal2_3.asm new file mode 100644 index 00000000..dd3a4fc9 --- /dev/null +++ b/audio/sfx/cymbal2_3.asm @@ -0,0 +1,3 @@ +SFX_Cymbal2_3_Ch1: ; 7c33f (1f:433f) + unknownnoise0x20 0, 162, 17 + endchannel diff --git a/audio/sfx/cymbal3_1.asm b/audio/sfx/cymbal3_1.asm new file mode 100644 index 00000000..8aa5ebe5 --- /dev/null +++ b/audio/sfx/cymbal3_1.asm @@ -0,0 +1,3 @@ +SFX_Cymbal3_1_Ch1: ; 8343 (2:4343) + unknownnoise0x20 0, 162, 80 + endchannel diff --git a/audio/sfx/cymbal3_2.asm b/audio/sfx/cymbal3_2.asm new file mode 100644 index 00000000..d1fd3b90 --- /dev/null +++ b/audio/sfx/cymbal3_2.asm @@ -0,0 +1,3 @@ +SFX_Cymbal3_2_Ch1: ; 20343 (8:4343) + unknownnoise0x20 0, 162, 80 + endchannel diff --git a/audio/sfx/cymbal3_3.asm b/audio/sfx/cymbal3_3.asm new file mode 100644 index 00000000..45e41c15 --- /dev/null +++ b/audio/sfx/cymbal3_3.asm @@ -0,0 +1,3 @@ +SFX_Cymbal3_3_Ch1: ; 7c343 (1f:4343) + unknownnoise0x20 0, 162, 80 + endchannel diff --git a/audio/sfx/damage.asm b/audio/sfx/damage.asm new file mode 100644 index 00000000..4022fcbf --- /dev/null +++ b/audio/sfx/damage.asm @@ -0,0 +1,5 @@ +SFX_Damage_Ch1: ; 204f4 (8:44f4) + unknownnoise0x20 2, 244, 68 + unknownnoise0x20 2, 244, 20 + unknownnoise0x20 15, 241, 50 + endchannel diff --git a/audio/sfx/denied_1.asm b/audio/sfx/denied_1.asm new file mode 100644 index 00000000..46520151 --- /dev/null +++ b/audio/sfx/denied_1.asm @@ -0,0 +1,18 @@ +SFX_Denied_1_Ch1: ; 861f (2:461f) + duty 3 + unknownsfx0x10 90 + unknownsfx0x20 4, 240, 0, 5 + unknownsfx0x10 8 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 1, 0, 0, 0 + endchannel + + +SFX_Denied_1_Ch2: ; 8636 (2:4636) + duty 3 + unknownsfx0x20 4, 240, 1, 4 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 1, 4 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/denied_3.asm b/audio/sfx/denied_3.asm new file mode 100644 index 00000000..2cebd766 --- /dev/null +++ b/audio/sfx/denied_3.asm @@ -0,0 +1,18 @@ +SFX_Denied_3_Ch1: ; 7c5fc (1f:45fc) + duty 3 + unknownsfx0x10 90 + unknownsfx0x20 4, 240, 0, 5 + unknownsfx0x10 8 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 1, 0, 0, 0 + endchannel + + +SFX_Denied_3_Ch2: ; 7c613 (1f:4613) + duty 3 + unknownsfx0x20 4, 240, 1, 4 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 1, 4 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/dex_page_added.asm b/audio/sfx/dex_page_added.asm new file mode 100644 index 00000000..dac55ed9 --- /dev/null +++ b/audio/sfx/dex_page_added.asm @@ -0,0 +1,15 @@ +SFX_Dex_Page_Added_Ch1: ; 2047f (8:447f) + duty 2 + unknownsfx0x10 68 + unknownsfx0x20 15, 240, 240, 4 + unknownsfx0x10 23 + unknownsfx0x20 15, 242, 80, 6 + unknownsfx0x10 8 + endchannel + + +SFX_Dex_Page_Added_Ch2: ; 20490 (8:4490) + duty 2 + unknownsfx0x20 15, 146, 0, 6 + unknownsfx0x20 15, 146, 130, 7 + endchannel diff --git a/audio/sfx/doubleslap.asm b/audio/sfx/doubleslap.asm new file mode 100644 index 00000000..0918238a --- /dev/null +++ b/audio/sfx/doubleslap.asm @@ -0,0 +1,4 @@ +SFX_Doubleslap_Ch1: ; 2058c (8:458c) + unknownnoise0x20 8, 241, 50 + unknownnoise0x20 8, 241, 51 + endchannel diff --git a/audio/sfx/enter_pc_1.asm b/audio/sfx/enter_pc_1.asm new file mode 100644 index 00000000..5c1a189a --- /dev/null +++ b/audio/sfx/enter_pc_1.asm @@ -0,0 +1,7 @@ +SFX_Enter_PC_1_Ch1: ; 853b (2:453b) + duty 2 + unknownsfx0x20 6, 240, 0, 7 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 6, 240, 0, 7 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/enter_pc_3.asm b/audio/sfx/enter_pc_3.asm new file mode 100644 index 00000000..5907a7e5 --- /dev/null +++ b/audio/sfx/enter_pc_3.asm @@ -0,0 +1,7 @@ +SFX_Enter_PC_3_Ch1: ; 7c518 (1f:4518) + duty 2 + unknownsfx0x20 4, 240, 0, 7 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 4, 240, 0, 7 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/faint_fall.asm b/audio/sfx/faint_fall.asm new file mode 100644 index 00000000..c252b93a --- /dev/null +++ b/audio/sfx/faint_fall.asm @@ -0,0 +1,6 @@ +SFX_Faint_Fall_Ch1: ; 204ae (8:44ae) + duty 1 + unknownsfx0x10 175 + unknownsfx0x20 15, 242, 128, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/faint_thud.asm b/audio/sfx/faint_thud.asm new file mode 100644 index 00000000..5ef100c5 --- /dev/null +++ b/audio/sfx/faint_thud.asm @@ -0,0 +1,11 @@ +SFX_Faint_Thud_Ch1: ; 2044c (8:444c) + unknownsfx0x20 15, 209, 0, 2 + unknownsfx0x10 8 + endchannel + + +SFX_Faint_Thud_Ch2: ; 20453 (8:4453) + unknownnoise0x20 4, 245, 51 + unknownnoise0x20 8, 244, 34 + unknownnoise0x20 15, 242, 33 + endchannel diff --git a/audio/sfx/fly_1.asm b/audio/sfx/fly_1.asm new file mode 100644 index 00000000..c2ecf435 --- /dev/null +++ b/audio/sfx/fly_1.asm @@ -0,0 +1,18 @@ +SFX_Fly_1_Ch1: ; 85ee (2:45ee) + unknownnoise0x20 2, 241, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 161, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 209, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 129, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 177, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 97, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 145, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 65, 18 + unknownnoise0x20 2, 0, 0 + endchannel diff --git a/audio/sfx/fly_3.asm b/audio/sfx/fly_3.asm new file mode 100644 index 00000000..043d4b51 --- /dev/null +++ b/audio/sfx/fly_3.asm @@ -0,0 +1,18 @@ +SFX_Fly_3_Ch1: ; 7c5cb (1f:45cb) + unknownnoise0x20 2, 241, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 161, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 209, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 129, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 177, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 97, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 145, 18 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 65, 18 + unknownnoise0x20 2, 0, 0 + endchannel diff --git a/audio/sfx/get_item1_1.asm b/audio/sfx/get_item1_1.asm new file mode 100644 index 00000000..471124d7 --- /dev/null +++ b/audio/sfx/get_item1_1.asm @@ -0,0 +1,47 @@ +SFX_Get_Item1_1_Ch1: ; ad77 (2:6d77) + executemusic + tempo 256 + volume 7, 7 + vibrato 6, 2, 6 + duty 2 + toggleperfectpitch + notetype 4, 11, 1 + octave 3 + G# 2 + G# 2 + G# 2 + notetype 12, 11, 3 + octave 4 + E_ 4 + endchannel + + +SFX_Get_Item1_1_Ch2: ; ad8e (2:6d8e) + executemusic + vibrato 8, 2, 7 + duty 2 + notetype 4, 12, 1 + octave 4 + E_ 2 + E_ 2 + E_ 2 + notetype 12, 12, 3 + B_ 4 + endchannel + + +SFX_Get_Item1_1_Ch3: ; ad9e (2:6d9e) + executemusic + notetype 4, 1, 0 + octave 4 + B_ 1 + rest 1 + B_ 1 + rest 1 + B_ 1 + rest 1 + notetype 12, 1, 0 + octave 4 + B_ 2 + rest 2 + endchannel diff --git a/audio/sfx/get_item1_3.asm b/audio/sfx/get_item1_3.asm new file mode 100644 index 00000000..6a7ebabc --- /dev/null +++ b/audio/sfx/get_item1_3.asm @@ -0,0 +1,47 @@ +SFX_Get_Item1_3_Ch1: ; 7e850 (1f:6850) + executemusic + tempo 256 + volume 7, 7 + vibrato 6, 2, 6 + duty 2 + toggleperfectpitch + notetype 4, 11, 1 + octave 3 + G# 2 + G# 2 + G# 2 + notetype 12, 11, 3 + octave 4 + E_ 4 + endchannel + + +SFX_Get_Item1_3_Ch2: ; 7e867 (1f:6867) + executemusic + vibrato 8, 2, 7 + duty 2 + notetype 4, 12, 1 + octave 4 + E_ 2 + E_ 2 + E_ 2 + notetype 12, 12, 3 + B_ 4 + endchannel + + +SFX_Get_Item1_3_Ch3: ; 7e877 (1f:6877) + executemusic + notetype 4, 1, 0 + octave 4 + B_ 1 + rest 1 + B_ 1 + rest 1 + B_ 1 + rest 1 + notetype 12, 1, 0 + octave 4 + B_ 2 + rest 2 + endchannel diff --git a/audio/sfx/get_item2_1.asm b/audio/sfx/get_item2_1.asm new file mode 100644 index 00000000..6fda3404 --- /dev/null +++ b/audio/sfx/get_item2_1.asm @@ -0,0 +1,69 @@ +SFX_Get_Item2_1_Ch1: ; b316 (2:7316) + executemusic + tempo 256 + volume 7, 7 + duty 2 + toggleperfectpitch + notetype 5, 11, 4 + octave 4 + D_ 4 + C_ 4 + octave 3 + A_ 8 + notetype 5, 11, 2 + octave 4 + D# 2 + D# 2 + D_ 2 + C_ 2 + C_ 2 + octave 3 + A# 2 + notetype 5, 11, 4 + octave 4 + C_ 8 + endchannel + + +SFX_Get_Item2_1_Ch2: ; b335 (2:7335) + executemusic + vibrato 8, 2, 7 + duty 2 + notetype 5, 12, 5 + octave 4 + A_ 4 + F_ 4 + C_ 8 + notetype 5, 12, 2 + A# 2 + A# 2 + A# 2 + G_ 2 + G_ 2 + A# 2 + notetype 5, 12, 4 + A_ 8 + endchannel + + +SFX_Get_Item2_1_Ch3: ; b34d (2:734d) + executemusic + notetype 5, 1, 0 + octave 5 + F_ 4 + D# 4 + C_ 8 + D# 1 + rest 1 + D# 1 + rest 1 + E_ 1 + rest 1 + F_ 1 + rest 1 + F_ 1 + rest 1 + G_ 1 + rest 1 + A_ 8 + endchannel diff --git a/audio/sfx/get_item2_2.asm b/audio/sfx/get_item2_2.asm new file mode 100644 index 00000000..25e40744 --- /dev/null +++ b/audio/sfx/get_item2_2.asm @@ -0,0 +1,69 @@ +SFX_Get_Item2_2_Ch1: ; 239c7 (8:79c7) + executemusic + tempo 256 + volume 7, 7 + duty 2 + toggleperfectpitch + notetype 5, 11, 4 + octave 4 + D_ 4 + C_ 4 + octave 3 + A_ 8 + notetype 5, 11, 2 + octave 4 + D# 2 + D# 2 + D_ 2 + C_ 2 + C_ 2 + octave 3 + A# 2 + notetype 5, 11, 4 + octave 4 + C_ 8 + endchannel + + +SFX_Get_Item2_2_Ch2: ; 239e6 (8:79e6) + executemusic + vibrato 8, 2, 7 + duty 2 + notetype 5, 12, 5 + octave 4 + A_ 4 + F_ 4 + C_ 8 + notetype 5, 12, 2 + A# 2 + A# 2 + A# 2 + G_ 2 + G_ 2 + A# 2 + notetype 5, 12, 4 + A_ 8 + endchannel + + +SFX_Get_Item2_2_Ch3: ; 239fe (8:79fe) + executemusic + notetype 5, 1, 0 + octave 5 + F_ 4 + D# 4 + C_ 8 + D# 1 + rest 1 + D# 1 + rest 1 + E_ 1 + rest 1 + F_ 1 + rest 1 + F_ 1 + rest 1 + G_ 1 + rest 1 + A_ 8 + endchannel diff --git a/audio/sfx/get_item2_3.asm b/audio/sfx/get_item2_3.asm new file mode 100644 index 00000000..20a0ee04 --- /dev/null +++ b/audio/sfx/get_item2_3.asm @@ -0,0 +1,69 @@ +SFX_Get_Item2_3_Ch1: ; 7ee28 (1f:6e28) + executemusic + tempo 256 + volume 7, 7 + duty 2 + toggleperfectpitch + notetype 5, 11, 4 + octave 4 + D_ 4 + C_ 4 + octave 3 + A_ 8 + notetype 5, 11, 2 + octave 4 + D# 2 + D# 2 + D_ 2 + C_ 2 + C_ 2 + octave 3 + A# 2 + notetype 5, 11, 4 + octave 4 + C_ 8 + endchannel + + +SFX_Get_Item2_3_Ch2: ; 7ee47 (1f:6e47) + executemusic + vibrato 8, 2, 7 + duty 2 + notetype 5, 12, 5 + octave 4 + A_ 4 + F_ 4 + C_ 8 + notetype 5, 12, 2 + A# 2 + A# 2 + A# 2 + G_ 2 + G_ 2 + A# 2 + notetype 5, 12, 4 + A_ 8 + endchannel + + +SFX_Get_Item2_3_Ch3: ; 7ee5f (1f:6e5f) + executemusic + notetype 5, 1, 0 + octave 5 + F_ 4 + D# 4 + C_ 8 + D# 1 + rest 1 + D# 1 + rest 1 + E_ 1 + rest 1 + F_ 1 + rest 1 + F_ 1 + rest 1 + G_ 1 + rest 1 + A_ 8 + endchannel diff --git a/audio/sfx/get_key_item_1.asm b/audio/sfx/get_key_item_1.asm new file mode 100644 index 00000000..233ea01b --- /dev/null +++ b/audio/sfx/get_key_item_1.asm @@ -0,0 +1,59 @@ +SFX_Get_Key_Item_1_Ch1: ; b362 (2:7362) + executemusic + tempo 256 + volume 7, 7 + duty 2 + toggleperfectpitch + notetype 5, 10, 4 + octave 3 + A# 4 + notetype 5, 11, 1 + octave 4 + C_ 2 + C_ 1 + C_ 1 + notetype 5, 10, 4 + D# 4 + notetype 5, 11, 1 + F_ 2 + F_ 1 + F_ 1 + notetype 5, 11, 4 + A# 8 + endchannel + + +SFX_Get_Key_Item_1_Ch2: ; b381 (2:7381) + executemusic + vibrato 4, 2, 3 + duty 2 + notetype 5, 13, 1 + octave 4 + G_ 2 + G_ 1 + G_ 1 + notetype 5, 12, 4 + D# 4 + notetype 5, 13, 1 + G# 2 + G# 1 + G# 1 + A# 2 + A# 1 + A# 1 + notetype 5, 12, 4 + octave 5 + D# 8 + endchannel + + +SFX_Get_Key_Item_1_Ch3: ; b39d (2:739d) + executemusic + notetype 5, 1, 0 + octave 4 + D# 4 + G# 4 + G_ 4 + F_ 4 + D# 8 + endchannel diff --git a/audio/sfx/get_key_item_3.asm b/audio/sfx/get_key_item_3.asm new file mode 100644 index 00000000..f918e1bf --- /dev/null +++ b/audio/sfx/get_key_item_3.asm @@ -0,0 +1,59 @@ +SFX_Get_Key_Item_3_Ch1: ; 7ee74 (1f:6e74) + executemusic + tempo 256 + volume 7, 7 + duty 2 + toggleperfectpitch + notetype 5, 10, 4 + octave 3 + A# 4 + notetype 5, 11, 1 + octave 4 + C_ 2 + C_ 1 + C_ 1 + notetype 5, 10, 4 + D# 4 + notetype 5, 11, 1 + F_ 2 + F_ 1 + F_ 1 + notetype 5, 11, 4 + A# 8 + endchannel + + +SFX_Get_Key_Item_3_Ch2: ; 7ee93 (1f:6e93) + executemusic + vibrato 4, 2, 3 + duty 2 + notetype 5, 13, 1 + octave 4 + G_ 2 + G_ 1 + G_ 1 + notetype 5, 12, 4 + D# 4 + notetype 5, 13, 1 + G# 2 + G# 1 + G# 1 + A# 2 + A# 1 + A# 1 + notetype 5, 12, 4 + octave 5 + D# 8 + endchannel + + +SFX_Get_Key_Item_3_Ch3: ; 7eeaf (1f:6eaf) + executemusic + notetype 5, 1, 0 + octave 4 + D# 4 + G# 4 + G_ 4 + F_ 4 + D# 8 + endchannel diff --git a/audio/sfx/go_inside_1.asm b/audio/sfx/go_inside_1.asm new file mode 100644 index 00000000..1eb1e2ca --- /dev/null +++ b/audio/sfx/go_inside_1.asm @@ -0,0 +1,4 @@ +SFX_Go_Inside_1_Ch1: ; 83f1 (2:43f1) + unknownnoise0x20 9, 241, 68 + unknownnoise0x20 8, 209, 67 + endchannel diff --git a/audio/sfx/go_inside_3.asm b/audio/sfx/go_inside_3.asm new file mode 100644 index 00000000..d8e18b7d --- /dev/null +++ b/audio/sfx/go_inside_3.asm @@ -0,0 +1,4 @@ +SFX_Go_Inside_3_Ch1: ; 7c3da (1f:43da) + unknownnoise0x20 9, 241, 68 + unknownnoise0x20 8, 209, 67 + endchannel diff --git a/audio/sfx/go_outside_1.asm b/audio/sfx/go_outside_1.asm new file mode 100644 index 00000000..2e8a8b31 --- /dev/null +++ b/audio/sfx/go_outside_1.asm @@ -0,0 +1,7 @@ +SFX_Go_Outside_1_Ch1: ; 8452 (2:4452) + unknownnoise0x20 2, 241, 84 + unknownnoise0x20 12, 113, 35 + unknownnoise0x20 2, 177, 84 + unknownnoise0x20 12, 97, 35 + unknownnoise0x20 6, 65, 84 + endchannel diff --git a/audio/sfx/go_outside_3.asm b/audio/sfx/go_outside_3.asm new file mode 100644 index 00000000..2dc4242d --- /dev/null +++ b/audio/sfx/go_outside_3.asm @@ -0,0 +1,7 @@ +SFX_Go_Outside_3_Ch1: ; 7c43b (1f:443b) + unknownnoise0x20 2, 241, 84 + unknownnoise0x20 12, 113, 35 + unknownnoise0x20 2, 177, 84 + unknownnoise0x20 12, 97, 35 + unknownnoise0x20 6, 65, 84 + endchannel diff --git a/audio/sfx/heal_ailment_1.asm b/audio/sfx/heal_ailment_1.asm new file mode 100644 index 00000000..5937f3a2 --- /dev/null +++ b/audio/sfx/heal_ailment_1.asm @@ -0,0 +1,9 @@ +SFX_Heal_Ailment_1_Ch1: ; 84d9 (2:44d9) + duty 2 + unknownsfx0x10 20 + unknownsfx0x20 4, 242, 0, 6 + unknownsfx0x20 4, 242, 0, 6 + unknownsfx0x10 23 + unknownsfx0x20 15, 242, 0, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/heal_ailment_2.asm b/audio/sfx/heal_ailment_2.asm new file mode 100644 index 00000000..4b39895a --- /dev/null +++ b/audio/sfx/heal_ailment_2.asm @@ -0,0 +1,9 @@ +SFX_Heal_Ailment_2_Ch1: ; 203fd (8:43fd) + duty 2 + unknownsfx0x10 20 + unknownsfx0x20 4, 242, 0, 6 + unknownsfx0x20 4, 242, 0, 6 + unknownsfx0x10 23 + unknownsfx0x20 15, 242, 0, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/heal_ailment_3.asm b/audio/sfx/heal_ailment_3.asm new file mode 100644 index 00000000..b2805f3d --- /dev/null +++ b/audio/sfx/heal_ailment_3.asm @@ -0,0 +1,9 @@ +SFX_Heal_Ailment_3_Ch1: ; 7c4b2 (1f:44b2) + duty 2 + unknownsfx0x10 20 + unknownsfx0x20 4, 242, 0, 6 + unknownsfx0x20 4, 242, 0, 6 + unknownsfx0x10 23 + unknownsfx0x20 15, 242, 0, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/heal_hp_1.asm b/audio/sfx/heal_hp_1.asm new file mode 100644 index 00000000..eb8063f7 --- /dev/null +++ b/audio/sfx/heal_hp_1.asm @@ -0,0 +1,7 @@ +SFX_Heal_HP_1_Ch1: ; 84b7 (2:44b7) + duty 2 + unknownsfx0x10 23 + unknownsfx0x20 15, 240, 240, 4 + unknownsfx0x20 15, 242, 80, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/heal_hp_2.asm b/audio/sfx/heal_hp_2.asm new file mode 100644 index 00000000..890a2151 --- /dev/null +++ b/audio/sfx/heal_hp_2.asm @@ -0,0 +1,7 @@ +SFX_Heal_HP_2_Ch1: ; 203ee (8:43ee) + duty 2 + unknownsfx0x10 23 + unknownsfx0x20 15, 240, 240, 4 + unknownsfx0x20 15, 242, 80, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/heal_hp_3.asm b/audio/sfx/heal_hp_3.asm new file mode 100644 index 00000000..da80d48f --- /dev/null +++ b/audio/sfx/heal_hp_3.asm @@ -0,0 +1,7 @@ +SFX_Heal_HP_3_Ch1: ; 7c490 (1f:4490) + duty 2 + unknownsfx0x10 23 + unknownsfx0x20 15, 240, 240, 4 + unknownsfx0x20 15, 242, 80, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/healing_machine_1.asm b/audio/sfx/healing_machine_1.asm new file mode 100644 index 00000000..4babf6b0 --- /dev/null +++ b/audio/sfx/healing_machine_1.asm @@ -0,0 +1,9 @@ +SFX_Healing_Machine_1_Ch1: ; 8580 (2:4580) + duty 2 + unknownsfx0x10 44 + unknownsfx0x20 4, 242, 0, 5 + unknownsfx0x10 34 + unknownsfx0x20 2, 241, 0, 5 + unknownsfx0x10 8 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/healing_machine_3.asm b/audio/sfx/healing_machine_3.asm new file mode 100644 index 00000000..c72f7905 --- /dev/null +++ b/audio/sfx/healing_machine_3.asm @@ -0,0 +1,9 @@ +SFX_Healing_Machine_3_Ch1: ; 7c55d (1f:455d) + duty 2 + unknownsfx0x10 44 + unknownsfx0x20 4, 242, 0, 5 + unknownsfx0x10 34 + unknownsfx0x20 2, 241, 0, 5 + unknownsfx0x10 8 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/horn_drill.asm b/audio/sfx/horn_drill.asm new file mode 100644 index 00000000..e68e5834 --- /dev/null +++ b/audio/sfx/horn_drill.asm @@ -0,0 +1,6 @@ +SFX_Horn_Drill_Ch1: ; 205b1 (8:45b1) + unknownnoise0x20 3, 146, 49 + unknownnoise0x20 3, 178, 50 + unknownnoise0x20 3, 194, 51 + unknownnoise0x20 8, 241, 84 + endchannel diff --git a/audio/sfx/intro_crash.asm b/audio/sfx/intro_crash.asm new file mode 100644 index 00000000..65e475f8 --- /dev/null +++ b/audio/sfx/intro_crash.asm @@ -0,0 +1,4 @@ +SFX_Intro_Crash_Ch1: ; 7c6de (1f:46de) + unknownnoise0x20 2, 210, 50 + unknownnoise0x20 15, 242, 67 + endchannel diff --git a/audio/sfx/intro_hip.asm b/audio/sfx/intro_hip.asm new file mode 100644 index 00000000..70d0f8b1 --- /dev/null +++ b/audio/sfx/intro_hip.asm @@ -0,0 +1,6 @@ +SFX_Intro_Hip_Ch1: ; 7c6be (1f:46be) + duty 2 + unknownsfx0x10 38 + unknownsfx0x20 12, 194, 64, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/intro_hop.asm b/audio/sfx/intro_hop.asm new file mode 100644 index 00000000..223c7f25 --- /dev/null +++ b/audio/sfx/intro_hop.asm @@ -0,0 +1,6 @@ +SFX_Intro_Hop_Ch1: ; 7c6c9 (1f:46c9) + duty 2 + unknownsfx0x10 38 + unknownsfx0x20 12, 194, 128, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/intro_lunge.asm b/audio/sfx/intro_lunge.asm new file mode 100644 index 00000000..ad00f56f --- /dev/null +++ b/audio/sfx/intro_lunge.asm @@ -0,0 +1,10 @@ +SFX_Intro_Lunge_Ch1: ; 7c6a5 (1f:46a5) + unknownnoise0x20 6, 32, 16 + unknownnoise0x20 6, 47, 64 + unknownnoise0x20 6, 79, 65 + unknownnoise0x20 6, 143, 65 + unknownnoise0x20 6, 207, 66 + unknownnoise0x20 8, 215, 66 + unknownnoise0x20 15, 231, 67 + unknownnoise0x20 15, 242, 67 + endchannel diff --git a/audio/sfx/intro_raise.asm b/audio/sfx/intro_raise.asm new file mode 100644 index 00000000..d6ee1430 --- /dev/null +++ b/audio/sfx/intro_raise.asm @@ -0,0 +1,5 @@ +SFX_Intro_Raise_Ch1: ; 7c6d4 (1f:46d4) + unknownnoise0x20 2, 111, 33 + unknownnoise0x20 2, 175, 49 + unknownnoise0x20 15, 242, 65 + endchannel diff --git a/audio/sfx/intro_whoosh.asm b/audio/sfx/intro_whoosh.asm new file mode 100644 index 00000000..903b7252 --- /dev/null +++ b/audio/sfx/intro_whoosh.asm @@ -0,0 +1,7 @@ +SFX_Intro_Whoosh_Ch1: ; 7c6e5 (1f:46e5) + unknownnoise0x20 4, 44, 32 + unknownnoise0x20 3, 160, 32 + unknownnoise0x20 3, 176, 33 + unknownnoise0x20 3, 192, 34 + unknownnoise0x20 15, 210, 36 + endchannel diff --git a/audio/sfx/ledge_1.asm b/audio/sfx/ledge_1.asm new file mode 100644 index 00000000..dfd7c819 --- /dev/null +++ b/audio/sfx/ledge_1.asm @@ -0,0 +1,6 @@ +SFX_Ledge_1_Ch1: ; 85d6 (2:45d6) + duty 2 + unknownsfx0x10 149 + unknownsfx0x20 15, 242, 0, 4 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/ledge_3.asm b/audio/sfx/ledge_3.asm new file mode 100644 index 00000000..2bf172e7 --- /dev/null +++ b/audio/sfx/ledge_3.asm @@ -0,0 +1,6 @@ +SFX_Ledge_3_Ch1: ; 7c5b3 (1f:45b3) + duty 2 + unknownsfx0x10 149 + unknownsfx0x20 15, 242, 0, 4 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/level_up.asm b/audio/sfx/level_up.asm new file mode 100644 index 00000000..03e077ec --- /dev/null +++ b/audio/sfx/level_up.asm @@ -0,0 +1,63 @@ +SFX_Level_Up_Ch1: ; 2397d (8:797d) + executemusic + tempo 256 + volume 7, 7 + duty 2 + toggleperfectpitch + notetype 6, 11, 4 + octave 4 + F_ 4 + notetype 4, 11, 2 + C_ 2 + F_ 2 + C_ 2 + notetype 6, 11, 3 + D# 2 + D# 2 + E_ 2 + notetype 6, 11, 4 + F_ 8 + endchannel + + +SFX_Level_Up_Ch2: ; 23998 (8:7998) + executemusic + vibrato 4, 2, 2 + duty 2 + notetype 6, 12, 4 + octave 4 + A_ 4 + notetype 4, 12, 2 + A_ 2 + A_ 2 + A_ 2 + notetype 6, 12, 4 + A# 2 + A# 2 + A# 2 + notetype 6, 12, 4 + A_ 8 + endchannel + + +SFX_Level_Up_Ch3: ; 239b0 (8:79b0) + executemusic + notetype 6, 1, 0 + octave 5 + A_ 4 + notetype 4, 1, 0 + F_ 1 + rest 1 + F_ 1 + rest 1 + F_ 1 + rest 1 + notetype 6, 1, 0 + G_ 1 + rest 1 + D# 1 + rest 1 + G_ 1 + rest 1 + A_ 8 + endchannel diff --git a/audio/sfx/muted_snare1_1.asm b/audio/sfx/muted_snare1_1.asm new file mode 100644 index 00000000..5d10ecc1 --- /dev/null +++ b/audio/sfx/muted_snare1_1.asm @@ -0,0 +1,4 @@ +SFX_Muted_Snare1_1_Ch1: ; 8347 (2:4347) + unknownnoise0x20 0, 161, 24 + unknownnoise0x20 0, 49, 51 + endchannel diff --git a/audio/sfx/muted_snare1_2.asm b/audio/sfx/muted_snare1_2.asm new file mode 100644 index 00000000..ea3cfc8c --- /dev/null +++ b/audio/sfx/muted_snare1_2.asm @@ -0,0 +1,4 @@ +SFX_Muted_Snare1_2_Ch1: ; 20347 (8:4347) + unknownnoise0x20 0, 161, 24 + unknownnoise0x20 0, 49, 51 + endchannel diff --git a/audio/sfx/muted_snare1_3.asm b/audio/sfx/muted_snare1_3.asm new file mode 100644 index 00000000..27caa37b --- /dev/null +++ b/audio/sfx/muted_snare1_3.asm @@ -0,0 +1,4 @@ +SFX_Muted_Snare1_3_Ch1: ; 7c347 (1f:4347) + unknownnoise0x20 0, 161, 24 + unknownnoise0x20 0, 49, 51 + endchannel diff --git a/audio/sfx/muted_snare2_1.asm b/audio/sfx/muted_snare2_1.asm new file mode 100644 index 00000000..7ab6252b --- /dev/null +++ b/audio/sfx/muted_snare2_1.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare2_1_Ch1: ; 8355 (2:4355) + unknownnoise0x20 0, 145, 34 + endchannel diff --git a/audio/sfx/muted_snare2_2.asm b/audio/sfx/muted_snare2_2.asm new file mode 100644 index 00000000..a9359226 --- /dev/null +++ b/audio/sfx/muted_snare2_2.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare2_2_Ch1: ; 20355 (8:4355) + unknownnoise0x20 0, 145, 34 + endchannel diff --git a/audio/sfx/muted_snare2_3.asm b/audio/sfx/muted_snare2_3.asm new file mode 100644 index 00000000..7ac9705d --- /dev/null +++ b/audio/sfx/muted_snare2_3.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare2_3_Ch1: ; 7c355 (1f:4355) + unknownnoise0x20 0, 145, 34 + endchannel diff --git a/audio/sfx/muted_snare3_1.asm b/audio/sfx/muted_snare3_1.asm new file mode 100644 index 00000000..1cd27319 --- /dev/null +++ b/audio/sfx/muted_snare3_1.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare3_1_Ch1: ; 8359 (2:4359) + unknownnoise0x20 0, 113, 34 + endchannel diff --git a/audio/sfx/muted_snare3_2.asm b/audio/sfx/muted_snare3_2.asm new file mode 100644 index 00000000..1606b6d5 --- /dev/null +++ b/audio/sfx/muted_snare3_2.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare3_2_Ch1: ; 20359 (8:4359) + unknownnoise0x20 0, 113, 34 + endchannel diff --git a/audio/sfx/muted_snare3_3.asm b/audio/sfx/muted_snare3_3.asm new file mode 100644 index 00000000..c0fe7efb --- /dev/null +++ b/audio/sfx/muted_snare3_3.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare3_3_Ch1: ; 7c359 (1f:4359) + unknownnoise0x20 0, 113, 34 + endchannel diff --git a/audio/sfx/muted_snare4_1.asm b/audio/sfx/muted_snare4_1.asm new file mode 100644 index 00000000..bcac6440 --- /dev/null +++ b/audio/sfx/muted_snare4_1.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare4_1_Ch1: ; 835d (2:435d) + unknownnoise0x20 0, 97, 34 + endchannel diff --git a/audio/sfx/muted_snare4_2.asm b/audio/sfx/muted_snare4_2.asm new file mode 100644 index 00000000..6910c20d --- /dev/null +++ b/audio/sfx/muted_snare4_2.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare4_2_Ch1: ; 2035d (8:435d) + unknownnoise0x20 0, 97, 34 + endchannel diff --git a/audio/sfx/muted_snare4_3.asm b/audio/sfx/muted_snare4_3.asm new file mode 100644 index 00000000..52f14f21 --- /dev/null +++ b/audio/sfx/muted_snare4_3.asm @@ -0,0 +1,3 @@ +SFX_Muted_Snare4_3_Ch1: ; 7c35d (1f:435d) + unknownnoise0x20 0, 97, 34 + endchannel diff --git a/audio/sfx/not_very_effective.asm b/audio/sfx/not_very_effective.asm new file mode 100644 index 00000000..959f33e3 --- /dev/null +++ b/audio/sfx/not_very_effective.asm @@ -0,0 +1,6 @@ +SFX_Not_Very_Effective_Ch1: ; 204fe (8:44fe) + unknownnoise0x20 4, 143, 85 + unknownnoise0x20 2, 244, 68 + unknownnoise0x20 8, 244, 34 + unknownnoise0x20 15, 242, 33 + endchannel diff --git a/audio/sfx/peck.asm b/audio/sfx/peck.asm new file mode 100644 index 00000000..e4632281 --- /dev/null +++ b/audio/sfx/peck.asm @@ -0,0 +1,3 @@ +SFX_Peck_Ch1: ; 204aa (8:44aa) + unknownnoise0x20 2, 161, 18 + endchannel diff --git a/audio/sfx/poisoned_1.asm b/audio/sfx/poisoned_1.asm new file mode 100644 index 00000000..4760696d --- /dev/null +++ b/audio/sfx/poisoned_1.asm @@ -0,0 +1,8 @@ +SFX_Poisoned_1_Ch1: ; 84c6 (2:44c6) + duty 0 + unknownsfx0x10 20 + unknownsfx0x20 4, 242, 0, 6 + loopchannel 4, SFX_Poisoned_1_Ch1 + unknownsfx0x20 15, 243, 0, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/poisoned_3.asm b/audio/sfx/poisoned_3.asm new file mode 100644 index 00000000..b6d69dc6 --- /dev/null +++ b/audio/sfx/poisoned_3.asm @@ -0,0 +1,8 @@ +SFX_Poisoned_3_Ch1: ; 7c49f (1f:449f) + duty 0 + unknownsfx0x10 20 + unknownsfx0x20 4, 242, 0, 6 + loopchannel 4, SFX_Poisoned_3_Ch1 + unknownsfx0x20 15, 243, 0, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/pokedex_rating_1.asm b/audio/sfx/pokedex_rating_1.asm new file mode 100644 index 00000000..21503d16 --- /dev/null +++ b/audio/sfx/pokedex_rating_1.asm @@ -0,0 +1,77 @@ +SFX_Pokedex_Rating_1_Ch1: ; b2c8 (2:72c8) + executemusic + tempo 256 + volume 7, 7 + duty 2 + notetype 5, 11, 1 + octave 3 + A_ 2 + A_ 2 + G_ 2 + G_ 2 + F_ 2 + E_ 2 + F_ 2 + A_ 2 + octave 4 + C_ 4 + E_ 4 + octave 3 + F_ 4 + endchannel + + +SFX_Pokedex_Rating_1_Ch2: ; b2e1 (2:72e1) + executemusic + duty 2 + notetype 5, 12, 2 + octave 5 + F_ 2 + E_ 1 + rest 1 + D_ 2 + C_ 1 + rest 1 + octave 4 + A# 2 + octave 5 + C_ 2 + D_ 2 + E_ 2 + F_ 4 + G_ 4 + F_ 4 + endchannel + + +SFX_Pokedex_Rating_1_Ch3: ; b2f7 (2:72f7) + executemusic + notetype 5, 1, 0 + octave 5 + C_ 1 + rest 1 + octave 4 + F_ 2 + octave 5 + C_ 1 + rest 1 + octave 4 + A# 1 + rest 1 + A_ 1 + rest 1 + G_ 1 + rest 1 + F_ 1 + rest 1 + E_ 1 + rest 1 + octave 5 + F_ 1 + rest 3 + C_ 1 + rest 3 + octave 4 + F_ 2 + rest 2 + endchannel diff --git a/audio/sfx/pokedex_rating_3.asm b/audio/sfx/pokedex_rating_3.asm new file mode 100644 index 00000000..a9ea1c75 --- /dev/null +++ b/audio/sfx/pokedex_rating_3.asm @@ -0,0 +1,77 @@ +SFX_Pokedex_Rating_3_Ch1: ; 7edda (1f:6dda) + executemusic + tempo 256 + volume 7, 7 + duty 2 + notetype 5, 11, 1 + octave 3 + A_ 2 + A_ 2 + G_ 2 + G_ 2 + F_ 2 + E_ 2 + F_ 2 + A_ 2 + octave 4 + C_ 4 + E_ 4 + octave 3 + F_ 4 + endchannel + + +SFX_Pokedex_Rating_3_Ch2: ; 7edf3 (1f:6df3) + executemusic + duty 2 + notetype 5, 12, 2 + octave 5 + F_ 2 + E_ 1 + rest 1 + D_ 2 + C_ 1 + rest 1 + octave 4 + A# 2 + octave 5 + C_ 2 + D_ 2 + E_ 2 + F_ 4 + G_ 4 + F_ 4 + endchannel + + +SFX_Pokedex_Rating_3_Ch3: ; 7ee09 (1f:6e09) + executemusic + notetype 5, 1, 0 + octave 5 + C_ 1 + rest 1 + octave 4 + F_ 2 + octave 5 + C_ 1 + rest 1 + octave 4 + A# 1 + rest 1 + A_ 1 + rest 1 + G_ 1 + rest 1 + F_ 1 + rest 1 + E_ 1 + rest 1 + octave 5 + F_ 1 + rest 3 + C_ 1 + rest 3 + octave 4 + F_ 2 + rest 2 + endchannel diff --git a/audio/sfx/pokeflute.asm b/audio/sfx/pokeflute.asm new file mode 100644 index 00000000..4abf1713 --- /dev/null +++ b/audio/sfx/pokeflute.asm @@ -0,0 +1,21 @@ +SFX_Pokeflute_Ch1: ; 83ca (2:43ca) + vibrato 16, 1, 4 + notetype 12, 1, 0 + octave 5 + E_ 2 + F_ 2 + G_ 4 + A_ 2 + G_ 2 + octave 6 + C_ 4 + C_ 2 + D_ 2 + C_ 2 + octave 5 + G_ 2 + A_ 2 + F_ 2 + G_ 8 + rest 12 + endchannel diff --git a/audio/sfx/pound.asm b/audio/sfx/pound.asm new file mode 100644 index 00000000..102d7d6d --- /dev/null +++ b/audio/sfx/pound.asm @@ -0,0 +1,3 @@ +SFX_Pound_Ch1: ; 204c4 (8:44c4) + unknownnoise0x20 2, 161, 34 + endchannel diff --git a/audio/sfx/press_ab_1.asm b/audio/sfx/press_ab_1.asm new file mode 100644 index 00000000..5925b788 --- /dev/null +++ b/audio/sfx/press_ab_1.asm @@ -0,0 +1,7 @@ +SFX_Press_AB_1_Ch1: ; 8462 (2:4462) + duty 2 + unknownsfx0x20 0, 145, 192, 7 + unknownsfx0x20 0, 129, 208, 7 + unknownsfx0x20 0, 145, 192, 7 + unknownsfx0x20 12, 161, 208, 7 + endchannel diff --git a/audio/sfx/press_ab_2.asm b/audio/sfx/press_ab_2.asm new file mode 100644 index 00000000..e15dadc4 --- /dev/null +++ b/audio/sfx/press_ab_2.asm @@ -0,0 +1,7 @@ +SFX_Press_AB_2_Ch1: ; 203c3 (8:43c3) + duty 2 + unknownsfx0x20 0, 145, 192, 7 + unknownsfx0x20 0, 129, 208, 7 + unknownsfx0x20 0, 145, 192, 7 + unknownsfx0x20 12, 161, 208, 7 + endchannel diff --git a/audio/sfx/press_ab_3.asm b/audio/sfx/press_ab_3.asm new file mode 100644 index 00000000..8af4a335 --- /dev/null +++ b/audio/sfx/press_ab_3.asm @@ -0,0 +1,7 @@ +SFX_Press_AB_3_Ch1: ; 7c44b (1f:444b) + duty 2 + unknownsfx0x20 0, 145, 192, 7 + unknownsfx0x20 0, 129, 208, 7 + unknownsfx0x20 0, 145, 192, 7 + unknownsfx0x20 12, 161, 208, 7 + endchannel diff --git a/audio/sfx/psybeam.asm b/audio/sfx/psybeam.asm new file mode 100644 index 00000000..65fcc229 --- /dev/null +++ b/audio/sfx/psybeam.asm @@ -0,0 +1,25 @@ +SFX_Psybeam_Ch1: ; 20759 (8:4759) + dutycycle 161 + unknownsfx0x20 10, 241, 64, 6 + unknownsfx0x20 10, 243, 128, 6 + unknownsfx0x20 10, 242, 32, 6 + loopchannel 4, SFX_Psybeam_Ch1 + unknownsfx0x20 10, 241, 64, 6 + endchannel + + +SFX_Psybeam_Ch2: ; 20770 (8:4770) + dutycycle 179 + unknownsfx0x20 10, 243, 113, 5 + unknownsfx0x20 7, 227, 49, 5 + unknownsfx0x20 10, 241, 81, 5 + loopchannel 4, SFX_Psybeam_Ch2 + unknownsfx0x20 10, 241, 113, 5 + endchannel + + +SFX_Psybeam_Ch3: ; 20787 (8:4787) + unknownnoise0x20 2, 209, 74 + unknownnoise0x20 2, 210, 42 + loopchannel 21, SFX_Psybeam_Ch3 + endchannel diff --git a/audio/sfx/psychic_m.asm b/audio/sfx/psychic_m.asm new file mode 100644 index 00000000..e734b7ac --- /dev/null +++ b/audio/sfx/psychic_m.asm @@ -0,0 +1,32 @@ +SFX_Psychic_M_Ch1: ; 207fa (8:47fa) + duty 2 + unknownsfx0x10 247 + unknownsfx0x20 8, 196, 189, 7 + unknownsfx0x20 8, 196, 190, 7 + unknownsfx0x20 8, 196, 191, 7 + unknownsfx0x20 8, 196, 192, 7 + unknownsfx0x20 15, 196, 193, 7 + unknownsfx0x20 15, 242, 192, 7 + unknownsfx0x10 8 + endchannel + + +SFX_Psychic_M_Ch2: ; 20819 (8:4819) + duty 2 + unknownsfx0x20 8, 196, 112, 7 + unknownsfx0x20 8, 196, 97, 7 + unknownsfx0x20 8, 196, 98, 7 + unknownsfx0x20 8, 196, 99, 7 + unknownsfx0x20 15, 196, 100, 7 + unknownsfx0x20 15, 242, 100, 7 + endchannel + + +SFX_Psychic_M_Ch3: ; 20834 (8:4834) + unknownnoise0x20 15, 63, 20 + unknownnoise0x20 15, 207, 19 + unknownnoise0x20 15, 207, 18 + unknownnoise0x20 15, 207, 17 + unknownnoise0x20 15, 207, 16 + unknownnoise0x20 15, 194, 16 + endchannel diff --git a/audio/sfx/purchase_1.asm b/audio/sfx/purchase_1.asm new file mode 100644 index 00000000..fc0cecb5 --- /dev/null +++ b/audio/sfx/purchase_1.asm @@ -0,0 +1,13 @@ +SFX_Purchase_1_Ch1: ; 842d (2:442d) + duty 2 + unknownsfx0x20 4, 225, 0, 7 + unknownsfx0x20 8, 242, 224, 7 + endchannel + + +SFX_Purchase_1_Ch2: ; 8438 (2:4438) + duty 2 + unknownsfx0x20 1, 8, 0, 0 + unknownsfx0x20 4, 145, 193, 6 + unknownsfx0x20 8, 162, 161, 7 + endchannel diff --git a/audio/sfx/purchase_3.asm b/audio/sfx/purchase_3.asm new file mode 100644 index 00000000..5d649958 --- /dev/null +++ b/audio/sfx/purchase_3.asm @@ -0,0 +1,13 @@ +SFX_Purchase_3_Ch1: ; 7c416 (1f:4416) + duty 2 + unknownsfx0x20 4, 225, 0, 7 + unknownsfx0x20 8, 242, 224, 7 + endchannel + + +SFX_Purchase_3_Ch2: ; 7c421 (1f:4421) + duty 2 + unknownsfx0x20 1, 8, 0, 0 + unknownsfx0x20 4, 145, 193, 6 + unknownsfx0x20 8, 162, 161, 7 + endchannel diff --git a/audio/sfx/push_boulder_1.asm b/audio/sfx/push_boulder_1.asm new file mode 100644 index 00000000..31096861 --- /dev/null +++ b/audio/sfx/push_boulder_1.asm @@ -0,0 +1,10 @@ +SFX_Push_Boulder_1_Ch1: ; 8654 (2:4654) + unknownnoise0x20 4, 162, 35 + unknownnoise0x20 8, 241, 52 + unknownnoise0x20 15, 0, 0 + unknownnoise0x20 2, 247, 36 + unknownnoise0x20 2, 247, 52 + unknownnoise0x20 4, 247, 68 + unknownnoise0x20 8, 244, 85 + unknownnoise0x20 8, 241, 68 + endchannel diff --git a/audio/sfx/push_boulder_3.asm b/audio/sfx/push_boulder_3.asm new file mode 100644 index 00000000..ca7d2cd1 --- /dev/null +++ b/audio/sfx/push_boulder_3.asm @@ -0,0 +1,10 @@ +SFX_Push_Boulder_3_Ch1: ; 7c631 (1f:4631) + unknownnoise0x20 4, 162, 35 + unknownnoise0x20 8, 241, 52 + unknownnoise0x20 15, 0, 0 + unknownnoise0x20 2, 247, 36 + unknownnoise0x20 2, 247, 52 + unknownnoise0x20 4, 247, 68 + unknownnoise0x20 8, 244, 85 + unknownnoise0x20 8, 241, 68 + endchannel diff --git a/audio/sfx/run.asm b/audio/sfx/run.asm new file mode 100644 index 00000000..653b0f6b --- /dev/null +++ b/audio/sfx/run.asm @@ -0,0 +1,13 @@ +SFX_Run_Ch1: ; 2045d (8:445d) + unknownnoise0x20 2, 97, 35 + unknownnoise0x20 2, 161, 51 + unknownnoise0x20 2, 193, 51 + unknownnoise0x20 2, 81, 17 + unknownnoise0x20 2, 241, 51 + unknownnoise0x20 2, 65, 17 + unknownnoise0x20 2, 193, 51 + unknownnoise0x20 2, 49, 17 + unknownnoise0x20 2, 129, 51 + unknownnoise0x20 2, 49, 17 + unknownnoise0x20 8, 65, 51 + endchannel diff --git a/audio/sfx/safari_zone_pa.asm b/audio/sfx/safari_zone_pa.asm new file mode 100644 index 00000000..fb8c4d1f --- /dev/null +++ b/audio/sfx/safari_zone_pa.asm @@ -0,0 +1,9 @@ +SFX_Safari_Zone_PA_Ch1: ; 86c8 (2:46c8) + duty 2 + unknownsfx0x20 15, 243, 48, 7 + unknownsfx0x20 8, 101, 48, 7 + unknownsfx0x20 15, 244, 0, 7 + unknownsfx0x20 15, 116, 0, 7 + unknownsfx0x20 15, 68, 0, 7 + unknownsfx0x20 15, 36, 0, 7 + endchannel diff --git a/audio/sfx/save_1.asm b/audio/sfx/save_1.asm new file mode 100644 index 00000000..2e6c1f2b --- /dev/null +++ b/audio/sfx/save_1.asm @@ -0,0 +1,23 @@ +SFX_Save_1_Ch1: ; 8475 (2:4475) + duty 2 + unknownsfx0x20 4, 244, 0, 7 + unknownsfx0x20 2, 228, 0, 6 + unknownsfx0x20 2, 228, 128, 6 + unknownsfx0x20 2, 228, 192, 6 + unknownsfx0x20 2, 228, 0, 7 + unknownsfx0x20 2, 228, 160, 7 + unknownsfx0x20 15, 242, 224, 7 + endchannel + + +SFX_Save_1_Ch2: ; 8494 (2:4494) + duty 2 + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 2, 212, 1, 7 + unknownsfx0x20 2, 196, 1, 6 + unknownsfx0x20 2, 196, 129, 6 + unknownsfx0x20 2, 196, 193, 6 + unknownsfx0x20 2, 196, 1, 7 + unknownsfx0x20 2, 196, 161, 7 + unknownsfx0x20 15, 210, 225, 7 + endchannel diff --git a/audio/sfx/save_3.asm b/audio/sfx/save_3.asm new file mode 100644 index 00000000..47142bb4 --- /dev/null +++ b/audio/sfx/save_3.asm @@ -0,0 +1,36 @@ +SFX_Save_3_Ch1: ; 7c45e (1f:445e) + duty 2 +IF DEF(_RED) + unknownsfx0x20 4, 244, 0, 7 + unknownsfx0x20 3, 228, 128, 6 + unknownsfx0x20 3, 228, 192, 6 + unknownsfx0x20 3, 228, 0, 7 + unknownsfx0x20 2, 228, 160, 7 +ELSE + unknownsfx0x20 3, 228, 0, 6 + unknownsfx0x20 3, 228, 128, 6 + unknownsfx0x20 3, 228, 192, 6 + unknownsfx0x20 3, 228, 0, 7 + unknownsfx0x20 15, 242, 224, 7 +ENDC + endchannel + + +SFX_Save_3_Ch2: ; 7c475 (1f:4475) + duty 2 +IF DEF(_RED) + unknownsfx0x20 4, 8, 0, 0 + unknownsfx0x20 3, 212, 1, 7 + unknownsfx0x20 3, 196, 129, 6 + unknownsfx0x20 3, 196, 193, 6 + unknownsfx0x20 3, 196, 1, 7 + unknownsfx0x20 2, 196, 161, 7 +ELSE + unknownsfx0x20 3, 8, 0, 0 + unknownsfx0x20 3, 196, 1, 6 + unknownsfx0x20 3, 196, 129, 6 + unknownsfx0x20 3, 196, 193, 6 + unknownsfx0x20 3, 196, 1, 7 + unknownsfx0x20 15, 210, 225, 7 +ENDC + endchannel diff --git a/audio/sfx/sfx_02_01.asm b/audio/sfx/sfx_02_01.asm deleted file mode 100755 index 0de37099..00000000 --- a/audio/sfx/sfx_02_01.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_01_Ch1: ; 82fd (2:42fd) - unknownnoise0x20 0, 193, 51 - endchannel diff --git a/audio/sfx/sfx_02_02.asm b/audio/sfx/sfx_02_02.asm deleted file mode 100755 index ce8efcf0..00000000 --- a/audio/sfx/sfx_02_02.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_02_Ch1: ; 8301 (2:4301) - unknownnoise0x20 0, 177, 51 - endchannel diff --git a/audio/sfx/sfx_02_03.asm b/audio/sfx/sfx_02_03.asm deleted file mode 100755 index 3fc19143..00000000 --- a/audio/sfx/sfx_02_03.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_03_Ch1: ; 8305 (2:4305) - unknownnoise0x20 0, 161, 51 - endchannel diff --git a/audio/sfx/sfx_02_04.asm b/audio/sfx/sfx_02_04.asm deleted file mode 100755 index 35abd908..00000000 --- a/audio/sfx/sfx_02_04.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_04_Ch1: ; 8309 (2:4309) - unknownnoise0x20 0, 129, 51 - endchannel diff --git a/audio/sfx/sfx_02_05.asm b/audio/sfx/sfx_02_05.asm deleted file mode 100755 index 5aca7085..00000000 --- a/audio/sfx/sfx_02_05.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_02_05_Ch1: ; 830d (2:430d) - unknownnoise0x20 7, 132, 55 - unknownnoise0x20 6, 132, 54 - unknownnoise0x20 5, 131, 53 - unknownnoise0x20 4, 131, 52 - unknownnoise0x20 3, 130, 51 - unknownnoise0x20 2, 129, 50 - endchannel diff --git a/audio/sfx/sfx_02_06.asm b/audio/sfx/sfx_02_06.asm deleted file mode 100755 index f2031c3f..00000000 --- a/audio/sfx/sfx_02_06.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_06_Ch1: ; 8320 (2:4320) - unknownnoise0x20 0, 81, 42 - endchannel diff --git a/audio/sfx/sfx_02_07.asm b/audio/sfx/sfx_02_07.asm deleted file mode 100755 index 58ae12fd..00000000 --- a/audio/sfx/sfx_02_07.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_02_07_Ch1: ; 8324 (2:4324) - unknownnoise0x20 1, 65, 43 - unknownnoise0x20 0, 97, 42 - endchannel diff --git a/audio/sfx/sfx_02_08.asm b/audio/sfx/sfx_02_08.asm deleted file mode 100755 index 5a172e25..00000000 --- a/audio/sfx/sfx_02_08.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_08_Ch1: ; 832b (2:432b) - unknownnoise0x20 0, 129, 16 - endchannel diff --git a/audio/sfx/sfx_02_09.asm b/audio/sfx/sfx_02_09.asm deleted file mode 100755 index 47f85e16..00000000 --- a/audio/sfx/sfx_02_09.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_09_Ch1: ; 832f (2:432f) - unknownnoise0x20 0, 130, 35 - endchannel diff --git a/audio/sfx/sfx_02_0a.asm b/audio/sfx/sfx_02_0a.asm deleted file mode 100755 index 3d43afa9..00000000 --- a/audio/sfx/sfx_02_0a.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_0a_Ch1: ; 8333 (2:4333) - unknownnoise0x20 0, 130, 37 - endchannel diff --git a/audio/sfx/sfx_02_0b.asm b/audio/sfx/sfx_02_0b.asm deleted file mode 100755 index 9c8d38ca..00000000 --- a/audio/sfx/sfx_02_0b.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_0b_Ch1: ; 8337 (2:4337) - unknownnoise0x20 0, 130, 38 - endchannel diff --git a/audio/sfx/sfx_02_0c.asm b/audio/sfx/sfx_02_0c.asm deleted file mode 100755 index 4f3568e1..00000000 --- a/audio/sfx/sfx_02_0c.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_0c_Ch1: ; 833b (2:433b) - unknownnoise0x20 0, 161, 16 - endchannel diff --git a/audio/sfx/sfx_02_0d.asm b/audio/sfx/sfx_02_0d.asm deleted file mode 100755 index 154b5c1e..00000000 --- a/audio/sfx/sfx_02_0d.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_0d_Ch1: ; 833f (2:433f) - unknownnoise0x20 0, 162, 17 - endchannel diff --git a/audio/sfx/sfx_02_0e.asm b/audio/sfx/sfx_02_0e.asm deleted file mode 100755 index d1333575..00000000 --- a/audio/sfx/sfx_02_0e.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_0e_Ch1: ; 8343 (2:4343) - unknownnoise0x20 0, 162, 80 - endchannel diff --git a/audio/sfx/sfx_02_0f.asm b/audio/sfx/sfx_02_0f.asm deleted file mode 100755 index 32156d7d..00000000 --- a/audio/sfx/sfx_02_0f.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_02_0f_Ch1: ; 8347 (2:4347) - unknownnoise0x20 0, 161, 24 - unknownnoise0x20 0, 49, 51 - endchannel diff --git a/audio/sfx/sfx_02_10.asm b/audio/sfx/sfx_02_10.asm deleted file mode 100755 index 61d57b01..00000000 --- a/audio/sfx/sfx_02_10.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_02_10_Ch1: ; 834e (2:434e) - unknownnoise0x20 2, 145, 40 - unknownnoise0x20 0, 113, 24 - endchannel diff --git a/audio/sfx/sfx_02_11.asm b/audio/sfx/sfx_02_11.asm deleted file mode 100755 index f4bde465..00000000 --- a/audio/sfx/sfx_02_11.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_11_Ch1: ; 8355 (2:4355) - unknownnoise0x20 0, 145, 34 - endchannel diff --git a/audio/sfx/sfx_02_12.asm b/audio/sfx/sfx_02_12.asm deleted file mode 100755 index 908c3fb2..00000000 --- a/audio/sfx/sfx_02_12.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_12_Ch1: ; 8359 (2:4359) - unknownnoise0x20 0, 113, 34 - endchannel diff --git a/audio/sfx/sfx_02_13.asm b/audio/sfx/sfx_02_13.asm deleted file mode 100755 index bd985ab4..00000000 --- a/audio/sfx/sfx_02_13.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_02_13_Ch1: ; 835d (2:435d) - unknownnoise0x20 0, 97, 34 - endchannel diff --git a/audio/sfx/sfx_02_14.asm b/audio/sfx/sfx_02_14.asm deleted file mode 100755 index 3a289882..00000000 --- a/audio/sfx/sfx_02_14.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_02_14_Ch1: ; 8987 (2:4987) - dutycycle 245 - unknownsfx0x20 4, 243, 24, 7 - unknownsfx0x20 15, 229, 152, 7 - unknownsfx0x20 8, 145, 88, 7 - endchannel - - -SFX_02_14_Ch2: ; 8996 (2:4996) - dutycycle 160 - unknownsfx0x20 5, 179, 8, 7 - unknownsfx0x20 15, 197, 136, 7 - unknownsfx0x20 8, 113, 72, 7 - endchannel - - -SFX_02_14_Ch3: ; 89a5 (2:49a5) - unknownnoise0x20 3, 161, 28 - unknownnoise0x20 14, 148, 44 - unknownnoise0x20 8, 129, 28 - endchannel diff --git a/audio/sfx/sfx_02_15.asm b/audio/sfx/sfx_02_15.asm deleted file mode 100755 index 91b6c951..00000000 --- a/audio/sfx/sfx_02_15.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_02_15_Ch1: ; 8b97 (2:4b97) - dutycycle 160 - unknownsfx0x20 4, 243, 0, 6 - unknownsfx0x20 8, 213, 96, 7 - unknownsfx0x20 3, 226, 32, 7 - unknownsfx0x20 8, 209, 16, 7 - endchannel - - -SFX_02_15_Ch2: ; 8baa (2:4baa) - dutycycle 90 - unknownsfx0x20 5, 179, 241, 6 - unknownsfx0x20 7, 197, 82, 7 - unknownsfx0x20 3, 162, 17, 7 - unknownsfx0x20 8, 177, 1, 6 - endchannel - - -SFX_02_15_Ch3: ; 8bbd (2:4bbd) - unknownnoise0x20 3, 162, 60 - unknownnoise0x20 12, 148, 44 - unknownnoise0x20 3, 130, 28 - unknownnoise0x20 8, 113, 44 - endchannel diff --git a/audio/sfx/sfx_02_16.asm b/audio/sfx/sfx_02_16.asm deleted file mode 100755 index fe15f6b6..00000000 --- a/audio/sfx/sfx_02_16.asm +++ /dev/null @@ -1,17 +0,0 @@ -SFX_02_16_Ch1: ; 8b0c (2:4b0c) - duty 0 - unknownsfx0x20 8, 245, 128, 4 - unknownsfx0x20 2, 225, 224, 5 - unknownsfx0x20 8, 209, 220, 5 - endchannel - - -SFX_02_16_Ch2: ; 8b1b (2:4b1b) - dutycycle 165 - unknownsfx0x20 7, 149, 65, 4 - unknownsfx0x20 2, 129, 33, 5 - unknownsfx0x20 8, 97, 26, 5 - - -SFX_02_16_Ch3: ; 8b29 (2:4b29) - endchannel diff --git a/audio/sfx/sfx_02_17.asm b/audio/sfx/sfx_02_17.asm deleted file mode 100755 index ecc34899..00000000 --- a/audio/sfx/sfx_02_17.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_02_17_Ch1: ; 88a6 (2:48a6) - dutycycle 240 - unknownsfx0x20 4, 247, 8, 6 - unknownsfx0x20 6, 230, 0, 6 - unknownsfx0x20 6, 215, 240, 5 - unknownsfx0x20 6, 196, 224, 5 - unknownsfx0x20 5, 211, 192, 5 - unknownsfx0x20 4, 211, 160, 5 - unknownsfx0x20 8, 225, 128, 5 - endchannel - - -SFX_02_17_Ch2: ; 88c5 (2:48c5) - dutycycle 10 - unknownsfx0x20 4, 199, 4, 5 - unknownsfx0x20 6, 166, 2, 5 - unknownsfx0x20 6, 151, 241, 4 - unknownsfx0x20 4, 180, 225, 4 - unknownsfx0x20 5, 163, 194, 4 - unknownsfx0x20 4, 179, 163, 4 - unknownsfx0x20 8, 193, 130, 4 - endchannel - - -SFX_02_17_Ch3: ; 88e4 (2:48e4) - unknownnoise0x20 12, 228, 76 - unknownnoise0x20 10, 199, 92 - unknownnoise0x20 12, 182, 76 - unknownnoise0x20 15, 162, 92 - endchannel diff --git a/audio/sfx/sfx_02_18.asm b/audio/sfx/sfx_02_18.asm deleted file mode 100755 index 73f8f41e..00000000 --- a/audio/sfx/sfx_02_18.asm +++ /dev/null @@ -1,32 +0,0 @@ -SFX_02_18_Ch1: ; 8c55 (2:4c55) - dutycycle 240 - unknownsfx0x20 4, 247, 160, 6 - unknownsfx0x20 8, 230, 164, 6 - unknownsfx0x20 4, 214, 160, 6 - unknownsfx0x20 12, 211, 32, 6 - unknownsfx0x20 8, 195, 36, 6 - unknownsfx0x20 4, 194, 32, 6 - unknownsfx0x20 8, 177, 16, 6 - endchannel - - -SFX_02_18_Ch2: ; 8c74 (2:4c74) - dutycycle 90 - unknownsfx0x20 4, 231, 1, 6 - unknownsfx0x20 8, 214, 3, 6 - unknownsfx0x20 4, 198, 1, 6 - unknownsfx0x20 12, 195, 129, 5 - unknownsfx0x20 8, 179, 131, 5 - unknownsfx0x20 4, 178, 130, 5 - unknownsfx0x20 8, 161, 113, 5 - endchannel - - -SFX_02_18_Ch3: ; 8c93 (2:4c93) - unknownnoise0x20 7, 214, 92 - unknownnoise0x20 8, 230, 76 - unknownnoise0x20 4, 212, 92 - unknownnoise0x20 4, 212, 76 - unknownnoise0x20 7, 195, 76 - unknownnoise0x20 8, 161, 92 - endchannel diff --git a/audio/sfx/sfx_02_19.asm b/audio/sfx/sfx_02_19.asm deleted file mode 100755 index d78b66b4..00000000 --- a/audio/sfx/sfx_02_19.asm +++ /dev/null @@ -1,19 +0,0 @@ -SFX_02_19_Ch1: ; 8a35 (2:4a35) - dutycycle 10 - unknownsfx0x20 6, 226, 0, 5 - unknownsfx0x20 6, 227, 128, 5 - unknownsfx0x20 6, 211, 112, 5 - unknownsfx0x20 8, 161, 96, 5 - endchannel - - -SFX_02_19_Ch2: ; 8a48 (2:4a48) - dutycycle 245 - unknownsfx0x20 6, 226, 130, 4 - unknownsfx0x20 6, 211, 1, 5 - unknownsfx0x20 6, 178, 226, 4 - unknownsfx0x20 8, 129, 193, 4 - - -SFX_02_19_Ch3: ; 8a5a (2:4a5a) - endchannel diff --git a/audio/sfx/sfx_02_1a.asm b/audio/sfx/sfx_02_1a.asm deleted file mode 100755 index 036703b5..00000000 --- a/audio/sfx/sfx_02_1a.asm +++ /dev/null @@ -1,22 +0,0 @@ -SFX_02_1a_Ch1: ; 89df (2:49df) - dutycycle 250 - unknownsfx0x20 6, 131, 71, 2 - unknownsfx0x20 15, 98, 38, 2 - unknownsfx0x20 4, 82, 69, 2 - unknownsfx0x20 9, 99, 6, 2 - unknownsfx0x20 15, 130, 37, 2 - unknownsfx0x20 15, 66, 7, 2 - - -SFX_02_1a_Ch2: ; 89f9 (2:49f9) - endchannel - - -SFX_02_1a_Ch3: ; 89fa (2:49fa) - unknownnoise0x20 8, 212, 140 - unknownnoise0x20 4, 226, 156 - unknownnoise0x20 15, 198, 140 - unknownnoise0x20 8, 228, 172 - unknownnoise0x20 15, 215, 156 - unknownnoise0x20 15, 242, 172 - endchannel diff --git a/audio/sfx/sfx_02_1b.asm b/audio/sfx/sfx_02_1b.asm deleted file mode 100755 index 0e1112f6..00000000 --- a/audio/sfx/sfx_02_1b.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_02_1b_Ch1: ; 8a0d (2:4a0d) - dutycycle 240 - unknownsfx0x20 4, 243, 224, 6 - unknownsfx0x20 15, 228, 64, 6 - unknownsfx0x20 8, 193, 32, 6 - endchannel - - -SFX_02_1b_Ch2: ; 8a1c (2:4a1c) - dutycycle 10 - unknownsfx0x20 3, 195, 131, 6 - unknownsfx0x20 14, 180, 2, 6 - unknownsfx0x20 8, 161, 1, 6 - endchannel - - -SFX_02_1b_Ch3: ; 8a2b (2:4a2b) - unknownnoise0x20 4, 211, 92 - unknownnoise0x20 15, 230, 76 - unknownnoise0x20 8, 177, 92 - endchannel diff --git a/audio/sfx/sfx_02_1c.asm b/audio/sfx/sfx_02_1c.asm deleted file mode 100755 index 3a06819f..00000000 --- a/audio/sfx/sfx_02_1c.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_02_1c_Ch1: ; 8c25 (2:4c25) - dutycycle 240 - unknownsfx0x20 15, 246, 101, 5 - unknownsfx0x20 10, 228, 124, 5 - unknownsfx0x20 3, 194, 92, 5 - unknownsfx0x20 15, 178, 60, 5 - endchannel - - -SFX_02_1c_Ch2: ; 8c38 (2:4c38) - dutycycle 90 - unknownsfx0x20 14, 214, 3, 5 - unknownsfx0x20 9, 180, 27, 5 - unknownsfx0x20 4, 146, 250, 4 - unknownsfx0x20 15, 162, 219, 4 - endchannel - - -SFX_02_1c_Ch3: ; 8c4b (2:4c4b) - unknownnoise0x20 12, 230, 76 - unknownnoise0x20 11, 215, 92 - unknownnoise0x20 15, 194, 76 - endchannel diff --git a/audio/sfx/sfx_02_1d.asm b/audio/sfx/sfx_02_1d.asm deleted file mode 100755 index 1501e2ab..00000000 --- a/audio/sfx/sfx_02_1d.asm +++ /dev/null @@ -1,35 +0,0 @@ -SFX_02_1d_Ch1: ; 872f (2:472f) - dutycycle 240 - unknownsfx0x20 15, 247, 160, 7 - unknownsfx0x20 6, 230, 163, 7 - unknownsfx0x20 10, 244, 160, 7 - dutycycle 165 - unknownsfx0x20 10, 246, 216, 7 - unknownsfx0x20 4, 227, 215, 7 - unknownsfx0x20 15, 242, 216, 7 - endchannel - - -SFX_02_1d_Ch2: ; 874c (2:474c) - dutycycle 5 - unknownsfx0x20 2, 8, 0, 0 - unknownsfx0x20 15, 167, 161, 6 - unknownsfx0x20 6, 134, 162, 6 - unknownsfx0x20 10, 116, 161, 6 - dutycycle 95 - unknownsfx0x20 10, 118, 214, 6 - unknownsfx0x20 4, 131, 217, 6 - unknownsfx0x20 15, 162, 215, 6 - endchannel - - -SFX_02_1d_Ch3: ; 876d (2:476d) - unknownnoise0x20 2, 242, 60 - unknownnoise0x20 8, 228, 62 - unknownnoise0x20 15, 215, 60 - unknownnoise0x20 6, 197, 59 - unknownnoise0x20 6, 228, 61 - unknownnoise0x20 8, 182, 60 - unknownnoise0x20 6, 212, 61 - unknownnoise0x20 8, 193, 59 - endchannel diff --git a/audio/sfx/sfx_02_1e.asm b/audio/sfx/sfx_02_1e.asm deleted file mode 100755 index 1036f953..00000000 --- a/audio/sfx/sfx_02_1e.asm +++ /dev/null @@ -1,35 +0,0 @@ -SFX_02_1e_Ch1: ; 8bca (2:4bca) - dutycycle 240 - unknownsfx0x20 8, 247, 224, 6 - unknownsfx0x20 6, 230, 229, 6 - unknownsfx0x20 3, 244, 224, 6 - unknownsfx0x20 3, 246, 208, 6 - unknownsfx0x20 3, 227, 192, 6 - unknownsfx0x20 4, 242, 176, 6 - unknownsfx0x20 15, 162, 200, 6 - endchannel - - -SFX_02_1e_Ch2: ; 8be9 (2:4be9) - dutycycle 5 - unknownsfx0x20 3, 8, 0, 0 - unknownsfx0x20 8, 167, 161, 6 - unknownsfx0x20 6, 134, 163, 6 - unknownsfx0x20 3, 116, 161, 6 - unknownsfx0x20 3, 118, 145, 6 - unknownsfx0x20 3, 131, 130, 6 - unknownsfx0x20 4, 162, 113, 6 - unknownsfx0x20 15, 114, 137, 6 - endchannel - - -SFX_02_1e_Ch3: ; 8c0c (2:4c0c) - unknownnoise0x20 2, 242, 60 - unknownnoise0x20 8, 228, 62 - unknownnoise0x20 8, 215, 60 - unknownnoise0x20 5, 197, 59 - unknownnoise0x20 3, 212, 44 - unknownnoise0x20 2, 182, 60 - unknownnoise0x20 3, 164, 44 - unknownnoise0x20 8, 145, 60 - endchannel diff --git a/audio/sfx/sfx_02_1f.asm b/audio/sfx/sfx_02_1f.asm deleted file mode 100755 index 8f603856..00000000 --- a/audio/sfx/sfx_02_1f.asm +++ /dev/null @@ -1,37 +0,0 @@ -SFX_02_1f_Ch1: ; 8a5b (2:4a5b) - dutycycle 204 - unknownsfx0x20 4, 241, 0, 7 - unknownsfx0x20 4, 225, 128, 7 - unknownsfx0x20 4, 209, 64, 7 - unknownsfx0x20 4, 225, 64, 7 - unknownsfx0x20 4, 241, 128, 7 - unknownsfx0x20 4, 209, 0, 7 - unknownsfx0x20 4, 241, 1, 7 - unknownsfx0x20 4, 209, 130, 7 - unknownsfx0x20 4, 193, 66, 7 - unknownsfx0x20 8, 177, 65, 7 - endchannel - - -SFX_02_1f_Ch2: ; 8a86 (2:4a86) - dutycycle 68 - unknownsfx0x20 12, 8, 0, 0 - unknownsfx0x20 4, 241, 1, 7 - unknownsfx0x20 4, 225, 130, 7 - unknownsfx0x20 4, 209, 65, 7 - unknownsfx0x20 4, 225, 65, 7 - unknownsfx0x20 4, 241, 130, 7 - unknownsfx0x20 8, 209, 1, 7 - endchannel - - -SFX_02_1f_Ch3: ; 8aa5 (2:4aa5) - unknownnoise0x20 15, 8, 0 - unknownnoise0x20 4, 8, 0 - unknownnoise0x20 4, 209, 76 - unknownnoise0x20 4, 177, 44 - unknownnoise0x20 4, 209, 60 - unknownnoise0x20 4, 177, 60 - unknownnoise0x20 4, 193, 44 - unknownnoise0x20 8, 161, 76 - endchannel diff --git a/audio/sfx/sfx_02_20.asm b/audio/sfx/sfx_02_20.asm deleted file mode 100755 index 741ae0e8..00000000 --- a/audio/sfx/sfx_02_20.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_02_20_Ch1: ; 8abe (2:4abe) - dutycycle 204 - unknownsfx0x20 8, 245, 0, 6 - unknownsfx0x20 2, 210, 56, 6 - unknownsfx0x20 2, 194, 48, 6 - unknownsfx0x20 2, 194, 40, 6 - unknownsfx0x20 2, 178, 32, 6 - unknownsfx0x20 2, 178, 16, 6 - unknownsfx0x20 2, 162, 24, 6 - unknownsfx0x20 2, 178, 16, 6 - unknownsfx0x20 8, 193, 32, 6 - endchannel - - -SFX_02_20_Ch2: ; 8ae5 (2:4ae5) - dutycycle 68 - unknownsfx0x20 12, 195, 192, 5 - unknownsfx0x20 3, 177, 249, 5 - unknownsfx0x20 2, 161, 241, 5 - unknownsfx0x20 2, 161, 233, 5 - unknownsfx0x20 2, 145, 225, 5 - unknownsfx0x20 2, 145, 217, 5 - unknownsfx0x20 2, 129, 209, 5 - unknownsfx0x20 2, 145, 217, 5 - unknownsfx0x20 8, 145, 225, 5 - - -SFX_02_20_Ch3: ; 8b0b (2:4b0b) - endchannel diff --git a/audio/sfx/sfx_02_21.asm b/audio/sfx/sfx_02_21.asm deleted file mode 100755 index 4c7bebee..00000000 --- a/audio/sfx/sfx_02_21.asm +++ /dev/null @@ -1,40 +0,0 @@ -SFX_02_21_Ch1: ; 8b2a (2:4b2a) - dutycycle 136 - unknownsfx0x20 5, 242, 80, 6 - unknownsfx0x20 9, 209, 96, 6 - unknownsfx0x20 5, 226, 18, 6 - unknownsfx0x20 9, 193, 34, 6 - unknownsfx0x20 5, 242, 16, 6 - unknownsfx0x20 6, 209, 32, 6 - loopchannel 2, SFX_02_21_Ch1 - endchannel - - -SFX_02_21_Ch2: ; 8b49 (2:4b49) - dutycycle 64 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 5, 242, 81, 6 - unknownsfx0x20 9, 209, 97, 6 - unknownsfx0x20 5, 226, 20, 6 - unknownsfx0x20 8, 193, 36, 6 - unknownsfx0x20 5, 242, 17, 6 - unknownsfx0x20 12, 209, 33, 6 - unknownsfx0x20 5, 226, 20, 6 - unknownsfx0x20 8, 193, 36, 6 - unknownsfx0x20 5, 242, 17, 6 - unknownsfx0x20 4, 209, 33, 6 - endchannel - - -SFX_02_21_Ch3: ; 8b78 (2:4b78) - unknownnoise0x20 6, 210, 28 - unknownnoise0x20 9, 177, 44 - unknownnoise0x20 8, 194, 44 - unknownnoise0x20 9, 177, 60 - unknownnoise0x20 6, 194, 44 - unknownnoise0x20 9, 162, 60 - unknownnoise0x20 7, 194, 44 - unknownnoise0x20 5, 161, 60 - unknownnoise0x20 9, 194, 44 - unknownnoise0x20 4, 161, 60 - endchannel diff --git a/audio/sfx/sfx_02_22.asm b/audio/sfx/sfx_02_22.asm deleted file mode 100755 index 6d4a8f7d..00000000 --- a/audio/sfx/sfx_02_22.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_02_22_Ch1: ; 89af (2:49af) - dutycycle 165 - unknownsfx0x20 4, 225, 0, 7 - unknownsfx0x20 4, 242, 128, 7 - unknownsfx0x20 2, 146, 64, 7 - unknownsfx0x20 8, 225, 0, 6 - endchannel - - -SFX_02_22_Ch2: ; 89c2 (2:49c2) - dutycycle 10 - unknownsfx0x20 4, 177, 225, 6 - unknownsfx0x20 3, 194, 225, 6 - unknownsfx0x20 3, 98, 129, 6 - unknownsfx0x20 8, 177, 225, 5 - endchannel - - -SFX_02_22_Ch3: ; 89d5 (2:49d5) - unknownnoise0x20 2, 97, 50 - unknownnoise0x20 2, 97, 33 - unknownnoise0x20 8, 97, 17 - endchannel diff --git a/audio/sfx/sfx_02_23.asm b/audio/sfx/sfx_02_23.asm deleted file mode 100755 index fb0ff58c..00000000 --- a/audio/sfx/sfx_02_23.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_02_23_Ch1: ; 88f1 (2:48f1) - dutycycle 241 - unknownsfx0x20 4, 247, 192, 7 - unknownsfx0x20 12, 230, 194, 7 - unknownsfx0x20 6, 181, 128, 6 - unknownsfx0x20 4, 196, 112, 6 - unknownsfx0x20 4, 181, 96, 6 - unknownsfx0x20 8, 193, 64, 6 - endchannel - - -SFX_02_23_Ch2: ; 890c (2:490c) - dutycycle 204 - unknownsfx0x20 3, 199, 129, 7 - unknownsfx0x20 12, 182, 128, 7 - unknownsfx0x20 6, 165, 65, 6 - unknownsfx0x20 4, 196, 50, 6 - unknownsfx0x20 6, 181, 33, 6 - unknownsfx0x20 8, 161, 2, 6 - endchannel - - -SFX_02_23_Ch3: ; 8927 (2:4927) - unknownnoise0x20 3, 228, 60 - unknownnoise0x20 12, 214, 44 - unknownnoise0x20 4, 228, 60 - unknownnoise0x20 8, 183, 92 - unknownnoise0x20 15, 194, 93 - endchannel diff --git a/audio/sfx/sfx_02_24.asm b/audio/sfx/sfx_02_24.asm deleted file mode 100755 index c1ff6fcc..00000000 --- a/audio/sfx/sfx_02_24.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_02_24_Ch1: ; 8937 (2:4937) - dutycycle 201 - unknownsfx0x20 8, 247, 128, 6 - unknownsfx0x20 2, 247, 96, 6 - unknownsfx0x20 1, 231, 64, 6 - unknownsfx0x20 1, 231, 32, 6 - unknownsfx0x20 15, 209, 0, 6 - unknownsfx0x20 4, 199, 64, 7 - unknownsfx0x20 4, 167, 48, 7 - unknownsfx0x20 15, 145, 32, 7 - endchannel - - -SFX_02_24_Ch2: ; 895a (2:495a) - dutycycle 121 - unknownsfx0x20 10, 231, 130, 6 - unknownsfx0x20 2, 231, 98, 6 - unknownsfx0x20 1, 215, 66, 6 - unknownsfx0x20 1, 215, 34, 6 - unknownsfx0x20 15, 193, 2, 6 - unknownsfx0x20 4, 183, 66, 7 - unknownsfx0x20 2, 151, 50, 7 - unknownsfx0x20 15, 129, 34, 7 - endchannel - - -SFX_02_24_Ch3: ; 897d (2:497d) - unknownnoise0x20 4, 116, 33 - unknownnoise0x20 4, 116, 16 - unknownnoise0x20 4, 113, 32 - endchannel diff --git a/audio/sfx/sfx_02_25.asm b/audio/sfx/sfx_02_25.asm deleted file mode 100755 index f324be84..00000000 --- a/audio/sfx/sfx_02_25.asm +++ /dev/null @@ -1,34 +0,0 @@ -SFX_02_25_Ch1: ; 8813 (2:4813) - dutycycle 240 - unknownsfx0x20 6, 247, 160, 7 - unknownsfx0x20 8, 230, 164, 7 - unknownsfx0x20 4, 214, 160, 7 - unknownsfx0x20 15, 211, 32, 7 - unknownsfx0x20 8, 195, 35, 7 - unknownsfx0x20 2, 194, 40, 7 - unknownsfx0x20 8, 177, 48, 7 - endchannel - - -SFX_02_25_Ch2: ; 8832 (2:4832) - dutycycle 10 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 6, 167, 65, 7 - unknownsfx0x20 8, 134, 67, 7 - unknownsfx0x20 4, 118, 65, 7 - unknownsfx0x20 13, 131, 194, 6 - unknownsfx0x20 7, 115, 193, 6 - unknownsfx0x20 3, 130, 204, 6 - unknownsfx0x20 8, 113, 216, 6 - endchannel - - -SFX_02_25_Ch3: ; 8855 (2:4855) - unknownnoise0x20 2, 242, 76 - unknownnoise0x20 6, 230, 58 - unknownnoise0x20 4, 215, 58 - unknownnoise0x20 6, 214, 44 - unknownnoise0x20 8, 229, 60 - unknownnoise0x20 12, 210, 61 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_02_26.asm b/audio/sfx/sfx_02_26.asm deleted file mode 100755 index 6ecd820f..00000000 --- a/audio/sfx/sfx_02_26.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_02_26_Ch1: ; 8d2b (2:4d2b) - dutycycle 165 - unknownsfx0x20 12, 242, 64, 4 - unknownsfx0x20 15, 227, 160, 4 - unknownsfx0x20 4, 210, 144, 4 - unknownsfx0x20 8, 209, 128, 4 - endchannel - - -SFX_02_26_Ch2: ; 8d3e (2:4d3e) - dutycycle 238 - unknownsfx0x20 11, 210, 56, 4 - unknownsfx0x20 14, 198, 152, 4 - unknownsfx0x20 3, 178, 136, 4 - unknownsfx0x20 8, 177, 120, 4 - endchannel - - -SFX_02_26_Ch3: ; 8d51 (2:4d51) - unknownnoise0x20 10, 230, 108 - unknownnoise0x20 15, 210, 92 - unknownnoise0x20 3, 194, 108 - unknownnoise0x20 8, 209, 92 - endchannel diff --git a/audio/sfx/sfx_02_27.asm b/audio/sfx/sfx_02_27.asm deleted file mode 100755 index 2449cf89..00000000 --- a/audio/sfx/sfx_02_27.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_02_27_Ch1: ; 8d5e (2:4d5e) - dutycycle 51 - unknownsfx0x20 15, 246, 192, 5 - unknownsfx0x20 8, 227, 188, 5 - unknownsfx0x20 6, 210, 208, 5 - unknownsfx0x20 6, 178, 224, 5 - unknownsfx0x20 6, 194, 240, 5 - unknownsfx0x20 8, 177, 0, 6 - endchannel - - -SFX_02_27_Ch2: ; 8d79 (2:4d79) - dutycycle 153 - unknownsfx0x20 14, 198, 177, 4 - unknownsfx0x20 7, 195, 173, 4 - unknownsfx0x20 5, 178, 193, 4 - unknownsfx0x20 8, 146, 209, 4 - unknownsfx0x20 6, 162, 225, 4 - unknownsfx0x20 8, 145, 241, 4 - endchannel - - -SFX_02_27_Ch3: ; 8d94 (2:4d94) - unknownnoise0x20 10, 230, 92 - unknownnoise0x20 10, 214, 108 - unknownnoise0x20 4, 194, 76 - unknownnoise0x20 6, 211, 92 - unknownnoise0x20 8, 179, 76 - unknownnoise0x20 8, 161, 92 - endchannel diff --git a/audio/sfx/sfx_02_28.asm b/audio/sfx/sfx_02_28.asm deleted file mode 100755 index bb872795..00000000 --- a/audio/sfx/sfx_02_28.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_02_28_Ch1: ; 8da7 (2:4da7) - dutycycle 240 - unknownsfx0x20 8, 228, 144, 7 - unknownsfx0x20 15, 245, 192, 7 - unknownsfx0x20 8, 209, 216, 7 - endchannel - - -SFX_02_28_Ch2: ; 8db6 (2:4db6) - dutycycle 165 - unknownsfx0x20 10, 196, 113, 7 - unknownsfx0x20 15, 182, 162, 7 - unknownsfx0x20 8, 161, 183, 7 - endchannel - - -SFX_02_28_Ch3: ; 8dc5 (2:4dc5) - unknownnoise0x20 8, 228, 76 - unknownnoise0x20 14, 196, 60 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_02_29.asm b/audio/sfx/sfx_02_29.asm deleted file mode 100755 index 466a8bc8..00000000 --- a/audio/sfx/sfx_02_29.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_02_29_Ch1: ; 8e35 (2:4e35) - dutycycle 240 - unknownsfx0x20 4, 243, 128, 7 - unknownsfx0x20 15, 231, 0, 7 - unknownsfx0x20 8, 211, 16, 7 - unknownsfx0x20 4, 194, 0, 7 - unknownsfx0x20 4, 210, 240, 6 - unknownsfx0x20 8, 193, 224, 6 - endchannel - - -SFX_02_29_Ch2: ; 8e50 (2:4e50) - dutycycle 90 - unknownsfx0x20 6, 195, 1, 7 - unknownsfx0x20 14, 183, 129, 6 - unknownsfx0x20 7, 179, 146, 6 - unknownsfx0x20 3, 162, 129, 6 - unknownsfx0x20 4, 178, 114, 6 - unknownsfx0x20 8, 161, 97, 6 - endchannel - - -SFX_02_29_Ch3: ; 8e6b (2:4e6b) - unknownnoise0x20 6, 227, 92 - unknownnoise0x20 14, 214, 76 - unknownnoise0x20 6, 198, 60 - unknownnoise0x20 3, 179, 76 - unknownnoise0x20 3, 162, 92 - unknownnoise0x20 8, 177, 108 - endchannel diff --git a/audio/sfx/sfx_02_2a.asm b/audio/sfx/sfx_02_2a.asm deleted file mode 100755 index 13356384..00000000 --- a/audio/sfx/sfx_02_2a.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_02_2a_Ch1: ; 8cc8 (2:4cc8) - dutycycle 240 - unknownsfx0x20 15, 215, 128, 7 - unknownsfx0x20 4, 230, 160, 7 - unknownsfx0x20 15, 210, 64, 7 - endchannel - - -SFX_02_2a_Ch2: ; 8cd7 (2:4cd7) - dutycycle 90 - unknownsfx0x20 15, 199, 83, 7 - unknownsfx0x20 5, 182, 114, 7 - unknownsfx0x20 15, 194, 17, 7 - endchannel - - -SFX_02_2a_Ch3: ; 8ce6 (2:4ce6) - unknownnoise0x20 13, 246, 76 - unknownnoise0x20 4, 230, 60 - unknownnoise0x20 15, 242, 76 - endchannel diff --git a/audio/sfx/sfx_02_2b.asm b/audio/sfx/sfx_02_2b.asm deleted file mode 100755 index 5aa42f68..00000000 --- a/audio/sfx/sfx_02_2b.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_02_2b_Ch1: ; 8e7e (2:4e7e) - dutycycle 15 - unknownsfx0x20 15, 247, 0, 5 - unknownsfx0x20 15, 231, 8, 5 - unknownsfx0x20 8, 180, 128, 4 - unknownsfx0x20 15, 162, 96, 4 - endchannel - - -SFX_02_2b_Ch2: ; 8e91 (2:4e91) - dutycycle 68 - unknownsfx0x20 14, 215, 129, 4 - unknownsfx0x20 14, 199, 137, 4 - unknownsfx0x20 10, 180, 1, 4 - unknownsfx0x20 15, 194, 225, 3 - endchannel - - -SFX_02_2b_Ch3: ; 8ea4 (2:4ea4) - unknownnoise0x20 14, 247, 124 - unknownnoise0x20 12, 246, 108 - unknownnoise0x20 9, 228, 124 - unknownnoise0x20 15, 226, 108 - endchannel diff --git a/audio/sfx/sfx_02_2c.asm b/audio/sfx/sfx_02_2c.asm deleted file mode 100755 index 39f2a7da..00000000 --- a/audio/sfx/sfx_02_2c.asm +++ /dev/null @@ -1,34 +0,0 @@ -SFX_02_2c_Ch1: ; 8f8e (2:4f8e) - dutycycle 80 - unknownsfx0x20 10, 245, 128, 6 - unknownsfx0x20 3, 226, 160, 6 - unknownsfx0x20 3, 242, 192, 6 - unknownsfx0x20 3, 226, 224, 6 - unknownsfx0x20 3, 210, 0, 7 - unknownsfx0x20 3, 194, 224, 6 - unknownsfx0x20 3, 210, 192, 6 - unknownsfx0x20 8, 193, 160, 6 - endchannel - - -SFX_02_2c_Ch2: ; 8fb1 (2:4fb1) - dutycycle 15 - unknownsfx0x20 9, 213, 49, 6 - unknownsfx0x20 3, 210, 82, 6 - unknownsfx0x20 3, 226, 113, 6 - unknownsfx0x20 3, 178, 145, 6 - unknownsfx0x20 3, 194, 178, 6 - unknownsfx0x20 3, 178, 145, 6 - unknownsfx0x20 3, 194, 113, 6 - unknownsfx0x20 8, 177, 81, 6 - endchannel - - -SFX_02_2c_Ch3: ; 8fd4 (2:4fd4) - unknownnoise0x20 6, 227, 76 - unknownnoise0x20 4, 195, 60 - unknownnoise0x20 5, 212, 60 - unknownnoise0x20 4, 196, 44 - unknownnoise0x20 6, 180, 60 - unknownnoise0x20 8, 193, 44 - endchannel diff --git a/audio/sfx/sfx_02_2d.asm b/audio/sfx/sfx_02_2d.asm deleted file mode 100755 index 1e9ef3e5..00000000 --- a/audio/sfx/sfx_02_2d.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_02_2d_Ch1: ; 8ca6 (2:4ca6) - dutycycle 27 - unknownsfx0x20 7, 210, 64, 7 - unknownsfx0x20 15, 229, 96, 7 - unknownsfx0x20 15, 193, 48, 7 - endchannel - - -SFX_02_2d_Ch2: ; 8cb5 (2:4cb5) - dutycycle 129 - unknownsfx0x20 2, 194, 1, 7 - unknownsfx0x20 4, 194, 8, 7 - unknownsfx0x20 15, 215, 65, 7 - unknownsfx0x20 15, 162, 1, 7 - - -SFX_02_2d_Ch3: ; 8cc7 (2:4cc7) - endchannel diff --git a/audio/sfx/sfx_02_2e.asm b/audio/sfx/sfx_02_2e.asm deleted file mode 100755 index d0c25b47..00000000 --- a/audio/sfx/sfx_02_2e.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_02_2e_Ch1: ; 8eff (2:4eff) - dutycycle 240 - unknownsfx0x20 6, 247, 64, 7 - unknownsfx0x20 12, 230, 68, 7 - unknownsfx0x20 6, 213, 80, 7 - unknownsfx0x20 4, 195, 96, 7 - unknownsfx0x20 3, 195, 128, 7 - unknownsfx0x20 8, 209, 160, 7 - endchannel - - -SFX_02_2e_Ch2: ; 8f1a (2:4f1a) - dutycycle 10 - unknownsfx0x20 6, 199, 1, 7 - unknownsfx0x20 11, 182, 2, 7 - unknownsfx0x20 6, 165, 17, 7 - unknownsfx0x20 4, 147, 33, 7 - unknownsfx0x20 3, 163, 65, 7 - unknownsfx0x20 8, 145, 98, 7 - endchannel - - -SFX_02_2e_Ch3: ; 8f35 (2:4f35) - unknownnoise0x20 3, 226, 60 - unknownnoise0x20 8, 214, 76 - unknownnoise0x20 5, 212, 60 - unknownnoise0x20 12, 199, 76 - unknownnoise0x20 2, 226, 60 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_02_2f.asm b/audio/sfx/sfx_02_2f.asm deleted file mode 100755 index ba0ecd23..00000000 --- a/audio/sfx/sfx_02_2f.asm +++ /dev/null @@ -1,26 +0,0 @@ -SFX_02_2f_Ch1: ; 8cf0 (2:4cf0) - dutycycle 240 - unknownsfx0x20 6, 247, 192, 6 - unknownsfx0x20 15, 231, 0, 7 - unknownsfx0x20 4, 244, 240, 6 - unknownsfx0x20 4, 228, 224, 6 - unknownsfx0x20 8, 209, 208, 6 - endchannel - - -SFX_02_2f_Ch2: ; 8d07 (2:4d07) - dutycycle 10 - unknownsfx0x20 7, 230, 129, 6 - unknownsfx0x20 14, 213, 193, 6 - unknownsfx0x20 4, 196, 177, 6 - unknownsfx0x20 4, 212, 161, 6 - unknownsfx0x20 8, 193, 145, 6 - endchannel - - -SFX_02_2f_Ch3: ; 8d1e (2:4d1e) - unknownnoise0x20 10, 166, 60 - unknownnoise0x20 14, 148, 44 - unknownnoise0x20 5, 163, 60 - unknownnoise0x20 8, 145, 44 - endchannel diff --git a/audio/sfx/sfx_02_30.asm b/audio/sfx/sfx_02_30.asm deleted file mode 100755 index 41a18486..00000000 --- a/audio/sfx/sfx_02_30.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_02_30_Ch1: ; 8eb1 (2:4eb1) - dutycycle 245 - unknownsfx0x20 7, 214, 225, 7 - unknownsfx0x20 6, 198, 226, 7 - unknownsfx0x20 9, 214, 225, 7 - unknownsfx0x20 7, 198, 224, 7 - unknownsfx0x20 5, 182, 226, 7 - unknownsfx0x20 7, 198, 225, 7 - unknownsfx0x20 6, 182, 224, 7 - unknownsfx0x20 8, 161, 223, 7 - endchannel - - -SFX_02_30_Ch2: ; 8ed4 (2:4ed4) - dutycycle 68 - unknownsfx0x20 6, 195, 201, 7 - unknownsfx0x20 6, 179, 199, 7 - unknownsfx0x20 10, 196, 195, 7 - unknownsfx0x20 8, 180, 199, 7 - unknownsfx0x20 6, 195, 201, 7 - unknownsfx0x20 15, 162, 197, 7 - endchannel - - -SFX_02_30_Ch3: ; 8eef (2:4eef) - unknownnoise0x20 13, 25, 124 - unknownnoise0x20 13, 247, 140 - unknownnoise0x20 12, 214, 124 - unknownnoise0x20 8, 196, 108 - unknownnoise0x20 15, 179, 92 - endchannel diff --git a/audio/sfx/sfx_02_31.asm b/audio/sfx/sfx_02_31.asm deleted file mode 100755 index 331413d3..00000000 --- a/audio/sfx/sfx_02_31.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_02_31_Ch1: ; 8f48 (2:4f48) - dutycycle 244 - unknownsfx0x20 15, 240, 5, 7 - unknownsfx0x20 10, 224, 0, 7 - unknownsfx0x20 6, 180, 16, 7 - unknownsfx0x20 4, 211, 0, 7 - unknownsfx0x20 6, 178, 32, 6 - unknownsfx0x20 8, 161, 36, 6 - endchannel - - -SFX_02_31_Ch2: ; 8f63 (2:4f63) - dutycycle 34 - unknownsfx0x20 15, 176, 195, 6 - unknownsfx0x20 10, 160, 193, 6 - unknownsfx0x20 6, 132, 210, 6 - unknownsfx0x20 4, 147, 193, 6 - unknownsfx0x20 6, 130, 225, 5 - unknownsfx0x20 8, 97, 232, 5 - endchannel - - -SFX_02_31_Ch3: ; 8f7e (2:4f7e) - unknownnoise0x20 6, 230, 76 - unknownnoise0x20 15, 214, 60 - unknownnoise0x20 10, 197, 74 - unknownnoise0x20 1, 178, 91 - unknownnoise0x20 15, 194, 76 - endchannel diff --git a/audio/sfx/sfx_02_32.asm b/audio/sfx/sfx_02_32.asm deleted file mode 100755 index a38da7fd..00000000 --- a/audio/sfx/sfx_02_32.asm +++ /dev/null @@ -1,38 +0,0 @@ -SFX_02_32_Ch1: ; 8dcf (2:4dcf) - dutycycle 240 - unknownsfx0x20 6, 242, 0, 6 - unknownsfx0x20 6, 226, 64, 6 - unknownsfx0x20 6, 210, 128, 6 - unknownsfx0x20 6, 226, 192, 6 - unknownsfx0x20 6, 210, 0, 7 - unknownsfx0x20 6, 194, 64, 7 - unknownsfx0x20 6, 178, 128, 7 - unknownsfx0x20 8, 161, 192, 7 - endchannel - - -SFX_02_32_Ch2: ; 8df2 (2:4df2) - dutycycle 17 - unknownsfx0x20 3, 8, 1, 0 - unknownsfx0x20 6, 194, 193, 5 - unknownsfx0x20 6, 178, 2, 6 - unknownsfx0x20 6, 162, 65, 6 - unknownsfx0x20 6, 178, 130, 6 - unknownsfx0x20 6, 162, 194, 6 - unknownsfx0x20 6, 146, 1, 7 - unknownsfx0x20 6, 162, 66, 7 - unknownsfx0x20 8, 129, 129, 7 - endchannel - - -SFX_02_32_Ch3: ; 8e19 (2:4e19) - unknownnoise0x20 6, 8, 1 - unknownnoise0x20 5, 226, 92 - unknownnoise0x20 5, 194, 76 - unknownnoise0x20 5, 210, 60 - unknownnoise0x20 5, 178, 44 - unknownnoise0x20 5, 194, 28 - unknownnoise0x20 5, 162, 27 - unknownnoise0x20 5, 146, 26 - unknownnoise0x20 8, 129, 24 - endchannel diff --git a/audio/sfx/sfx_02_33.asm b/audio/sfx/sfx_02_33.asm deleted file mode 100755 index 555f9b14..00000000 --- a/audio/sfx/sfx_02_33.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_02_33_Ch1: ; 8fe7 (2:4fe7) - dutycycle 165 - unknownsfx0x20 3, 244, 65, 6 - unknownsfx0x20 13, 214, 33, 7 - unknownsfx0x20 8, 244, 25, 7 - unknownsfx0x20 8, 193, 26, 7 - endchannel - - -SFX_02_33_Ch2: ; 8ffa (2:4ffa) - dutycycle 204 - unknownsfx0x20 4, 244, 128, 5 - unknownsfx0x20 14, 230, 224, 6 - unknownsfx0x20 8, 213, 216, 6 - unknownsfx0x20 8, 209, 220, 6 - endchannel - - -SFX_02_33_Ch3: ; 900d (2:500d) - unknownnoise0x20 5, 196, 70 - unknownnoise0x20 13, 165, 68 - unknownnoise0x20 8, 196, 69 - unknownnoise0x20 8, 177, 68 - endchannel diff --git a/audio/sfx/sfx_02_34.asm b/audio/sfx/sfx_02_34.asm deleted file mode 100755 index a8b21680..00000000 --- a/audio/sfx/sfx_02_34.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_02_34_Ch1: ; 901a (2:501a) - dutycycle 240 - unknownsfx0x20 13, 241, 17, 5 - unknownsfx0x20 13, 225, 21, 5 - unknownsfx0x20 13, 225, 17, 5 - unknownsfx0x20 8, 209, 17, 5 - endchannel - - -SFX_02_34_Ch2: ; 902d (2:502d) - dutycycle 21 - unknownsfx0x20 12, 225, 12, 5 - unknownsfx0x20 12, 209, 16, 5 - unknownsfx0x20 14, 193, 12, 5 - unknownsfx0x20 8, 193, 10, 5 - endchannel - - -SFX_02_34_Ch3: ; 9040 (2:5040) - unknownnoise0x20 14, 242, 101 - unknownnoise0x20 13, 226, 85 - unknownnoise0x20 14, 210, 86 - unknownnoise0x20 8, 209, 102 - endchannel diff --git a/audio/sfx/sfx_02_35.asm b/audio/sfx/sfx_02_35.asm deleted file mode 100755 index 61b2a5ac..00000000 --- a/audio/sfx/sfx_02_35.asm +++ /dev/null @@ -1,27 +0,0 @@ -SFX_02_35_Ch1: ; 904d (2:504d) - dutycycle 27 - unknownsfx0x20 3, 243, 100, 5 - unknownsfx0x20 2, 226, 68, 5 - unknownsfx0x20 5, 209, 34, 5 - unknownsfx0x20 2, 178, 132, 4 - unknownsfx0x20 8, 209, 162, 4 - unknownsfx0x20 3, 243, 36, 5 - unknownsfx0x20 4, 228, 228, 4 - unknownsfx0x20 8, 209, 2, 5 - endchannel - - -SFX_02_35_Ch2: ; 9070 (2:5070) - dutycycle 204 - unknownsfx0x20 3, 211, 96, 5 - unknownsfx0x20 2, 194, 64, 5 - unknownsfx0x20 5, 193, 32, 5 - unknownsfx0x20 2, 146, 128, 4 - unknownsfx0x20 8, 193, 160, 4 - unknownsfx0x20 3, 211, 32, 5 - unknownsfx0x20 3, 196, 224, 4 - unknownsfx0x20 8, 193, 0, 5 - - -SFX_02_35_Ch3: ; 9092 (2:5092) - endchannel diff --git a/audio/sfx/sfx_02_36.asm b/audio/sfx/sfx_02_36.asm deleted file mode 100755 index 972f87a6..00000000 --- a/audio/sfx/sfx_02_36.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_02_36_Ch1: ; 9093 (2:5093) - dutycycle 17 - unknownsfx0x20 2, 61, 129, 3 - unknownsfx0x20 7, 245, 1, 6 - unknownsfx0x20 1, 194, 129, 4 - unknownsfx0x20 8, 145, 129, 3 - endchannel - - -SFX_02_36_Ch2: ; 90a6 (2:50a6) - dutycycle 238 - unknownsfx0x20 2, 62, 176, 5 - unknownsfx0x20 7, 213, 93, 7 - unknownsfx0x20 1, 178, 176, 6 - unknownsfx0x20 8, 97, 176, 5 - endchannel - - -SFX_02_36_Ch3: ; 90b9 (2:50b9) - unknownnoise0x20 2, 146, 73 - unknownnoise0x20 7, 181, 41 - unknownnoise0x20 1, 162, 57 - unknownnoise0x20 8, 145, 73 - endchannel diff --git a/audio/sfx/sfx_02_37.asm b/audio/sfx/sfx_02_37.asm deleted file mode 100755 index c286b018..00000000 --- a/audio/sfx/sfx_02_37.asm +++ /dev/null @@ -1,25 +0,0 @@ -SFX_02_37_Ch1: ; 8786 (2:4786) - dutycycle 240 - unknownsfx0x20 15, 247, 192, 7 - unknownsfx0x20 6, 228, 193, 7 - unknownsfx0x20 10, 246, 192, 7 - unknownsfx0x20 4, 211, 194, 7 - unknownsfx0x20 8, 193, 192, 7 - endchannel - - -SFX_02_37_Ch2: ; 879d (2:479d) - dutycycle 95 - unknownsfx0x20 15, 151, 129, 7 - unknownsfx0x20 6, 132, 128, 7 - unknownsfx0x20 10, 150, 129, 7 - unknownsfx0x20 15, 131, 129, 7 - endchannel - - -SFX_02_37_Ch3: ; 87b0 (2:47b0) - unknownnoise0x20 3, 242, 60 - unknownnoise0x20 13, 230, 44 - unknownnoise0x20 15, 215, 60 - unknownnoise0x20 8, 193, 44 - endchannel diff --git a/audio/sfx/sfx_02_38.asm b/audio/sfx/sfx_02_38.asm deleted file mode 100755 index 9b6ba80f..00000000 --- a/audio/sfx/sfx_02_38.asm +++ /dev/null @@ -1,33 +0,0 @@ -SFX_02_38_Ch1: ; 87bd (2:47bd) - dutycycle 240 - unknownsfx0x20 15, 247, 128, 6 - unknownsfx0x20 10, 230, 132, 6 - unknownsfx0x20 15, 215, 144, 6 - unknownsfx0x20 8, 213, 144, 6 - unknownsfx0x20 6, 196, 136, 6 - unknownsfx0x20 5, 211, 112, 6 - unknownsfx0x20 4, 211, 96, 6 - unknownsfx0x20 8, 193, 64, 6 - endchannel - - -SFX_02_38_Ch2: ; 87e0 (2:47e0) - dutycycle 5 - unknownsfx0x20 15, 183, 65, 6 - unknownsfx0x20 10, 150, 66, 6 - unknownsfx0x20 15, 167, 81, 6 - unknownsfx0x20 8, 165, 81, 6 - unknownsfx0x20 6, 148, 71, 6 - unknownsfx0x20 5, 163, 49, 6 - unknownsfx0x20 4, 147, 34, 6 - unknownsfx0x20 8, 113, 1, 6 - endchannel - - -SFX_02_38_Ch3: ; 8803 (2:4803) - unknownnoise0x20 15, 228, 60 - unknownnoise0x20 10, 199, 76 - unknownnoise0x20 10, 199, 60 - unknownnoise0x20 12, 183, 76 - unknownnoise0x20 15, 162, 92 - endchannel diff --git a/audio/sfx/sfx_02_39.asm b/audio/sfx/sfx_02_39.asm deleted file mode 100755 index 3d50aef5..00000000 --- a/audio/sfx/sfx_02_39.asm +++ /dev/null @@ -1,26 +0,0 @@ -SFX_02_39_Ch1: ; 886b (2:486b) - dutycycle 165 - unknownsfx0x20 6, 244, 64, 7 - unknownsfx0x20 15, 227, 48, 7 - unknownsfx0x20 4, 244, 64, 7 - unknownsfx0x20 5, 179, 72, 7 - unknownsfx0x20 8, 209, 80, 7 - endchannel - - -SFX_02_39_Ch2: ; 8882 (2:4882) - dutycycle 119 - unknownsfx0x20 6, 195, 18, 7 - unknownsfx0x20 15, 179, 4, 7 - unknownsfx0x20 3, 195, 18, 7 - unknownsfx0x20 4, 195, 33, 7 - unknownsfx0x20 8, 177, 50, 7 - endchannel - - -SFX_02_39_Ch3: ; 8899 (2:4899) - unknownnoise0x20 8, 214, 44 - unknownnoise0x20 12, 198, 60 - unknownnoise0x20 10, 182, 44 - unknownnoise0x20 8, 145, 28 - endchannel diff --git a/audio/sfx/sfx_02_3a.asm b/audio/sfx/sfx_02_3a.asm deleted file mode 100755 index 96c93702..00000000 --- a/audio/sfx/sfx_02_3a.asm +++ /dev/null @@ -1,47 +0,0 @@ -SFX_02_3a_Ch1: ; ad77 (2:6d77) - executemusic - tempo 256 - volume 7, 7 - vibrato 6, 2, 6 - duty 2 - toggleperfectpitch - notetype 4, 11, 1 - octave 3 - G# 2 - G# 2 - G# 2 - notetype 12, 11, 3 - octave 4 - E_ 4 - endchannel - - -SFX_02_3a_Ch2: ; ad8e (2:6d8e) - executemusic - vibrato 8, 2, 7 - duty 2 - notetype 4, 12, 1 - octave 4 - E_ 2 - E_ 2 - E_ 2 - notetype 12, 12, 3 - B_ 4 - endchannel - - -SFX_02_3a_Ch3: ; ad9e (2:6d9e) - executemusic - notetype 4, 1, 0 - octave 4 - B_ 1 - rest 1 - B_ 1 - rest 1 - B_ 1 - rest 1 - notetype 12, 1, 0 - octave 4 - B_ 2 - rest 2 - endchannel diff --git a/audio/sfx/sfx_02_3b.asm b/audio/sfx/sfx_02_3b.asm deleted file mode 100755 index 190b1299..00000000 --- a/audio/sfx/sfx_02_3b.asm +++ /dev/null @@ -1,69 +0,0 @@ -SFX_02_3b_Ch1: ; b316 (2:7316) - executemusic - tempo 256 - volume 7, 7 - duty 2 - toggleperfectpitch - notetype 5, 11, 4 - octave 4 - D_ 4 - C_ 4 - octave 3 - A_ 8 - notetype 5, 11, 2 - octave 4 - D# 2 - D# 2 - D_ 2 - C_ 2 - C_ 2 - octave 3 - A# 2 - notetype 5, 11, 4 - octave 4 - C_ 8 - endchannel - - -SFX_02_3b_Ch2: ; b335 (2:7335) - executemusic - vibrato 8, 2, 7 - duty 2 - notetype 5, 12, 5 - octave 4 - A_ 4 - F_ 4 - C_ 8 - notetype 5, 12, 2 - A# 2 - A# 2 - A# 2 - G_ 2 - G_ 2 - A# 2 - notetype 5, 12, 4 - A_ 8 - endchannel - - -SFX_02_3b_Ch3: ; b34d (2:734d) - executemusic - notetype 5, 1, 0 - octave 5 - F_ 4 - D# 4 - C_ 8 - D# 1 - rest 1 - D# 1 - rest 1 - E_ 1 - rest 1 - F_ 1 - rest 1 - F_ 1 - rest 1 - G_ 1 - rest 1 - A_ 8 - endchannel diff --git a/audio/sfx/sfx_02_3c.asm b/audio/sfx/sfx_02_3c.asm deleted file mode 100755 index 95e2029d..00000000 --- a/audio/sfx/sfx_02_3c.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_02_3c_Ch1: ; 840a (2:440a) - duty 2 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 2 - unknownsfx0x10 34 - unknownsfx0x20 8, 226, 0, 2 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_3d.asm b/audio/sfx/sfx_02_3d.asm deleted file mode 100755 index 469776a4..00000000 --- a/audio/sfx/sfx_02_3d.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_3d_Ch1: ; 84b7 (2:44b7) - duty 2 - unknownsfx0x10 23 - unknownsfx0x20 15, 240, 240, 4 - unknownsfx0x20 15, 242, 80, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_3e.asm b/audio/sfx/sfx_02_3e.asm deleted file mode 100755 index 36824962..00000000 --- a/audio/sfx/sfx_02_3e.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_02_3e_Ch1: ; 84d9 (2:44d9) - duty 2 - unknownsfx0x10 20 - unknownsfx0x20 4, 242, 0, 6 - unknownsfx0x20 4, 242, 0, 6 - unknownsfx0x10 23 - unknownsfx0x20 15, 242, 0, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_3f.asm b/audio/sfx/sfx_02_3f.asm deleted file mode 100755 index dffd99cb..00000000 --- a/audio/sfx/sfx_02_3f.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_02_3f_Ch1: ; 83c3 (2:43c3) - unknownnoise0x20 1, 226, 51 - unknownnoise0x20 8, 225, 34 - endchannel diff --git a/audio/sfx/sfx_02_40.asm b/audio/sfx/sfx_02_40.asm deleted file mode 100755 index 2aa521b4..00000000 --- a/audio/sfx/sfx_02_40.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_40_Ch1: ; 8462 (2:4462) - duty 2 - unknownsfx0x20 0, 145, 192, 7 - unknownsfx0x20 0, 129, 208, 7 - unknownsfx0x20 0, 145, 192, 7 - unknownsfx0x20 12, 161, 208, 7 - endchannel diff --git a/audio/sfx/sfx_02_41.asm b/audio/sfx/sfx_02_41.asm deleted file mode 100755 index a21595f3..00000000 --- a/audio/sfx/sfx_02_41.asm +++ /dev/null @@ -1,77 +0,0 @@ -SFX_02_41_Ch1: ; b2c8 (2:72c8) - executemusic - tempo 256 - volume 7, 7 - duty 2 - notetype 5, 11, 1 - octave 3 - A_ 2 - A_ 2 - G_ 2 - G_ 2 - F_ 2 - E_ 2 - F_ 2 - A_ 2 - octave 4 - C_ 4 - E_ 4 - octave 3 - F_ 4 - endchannel - - -SFX_02_41_Ch2: ; b2e1 (2:72e1) - executemusic - duty 2 - notetype 5, 12, 2 - octave 5 - F_ 2 - E_ 1 - rest 1 - D_ 2 - C_ 1 - rest 1 - octave 4 - A# 2 - octave 5 - C_ 2 - D_ 2 - E_ 2 - F_ 4 - G_ 4 - F_ 4 - endchannel - - -SFX_02_41_Ch3: ; b2f7 (2:72f7) - executemusic - notetype 5, 1, 0 - octave 5 - C_ 1 - rest 1 - octave 4 - F_ 2 - octave 5 - C_ 1 - rest 1 - octave 4 - A# 1 - rest 1 - A_ 1 - rest 1 - G_ 1 - rest 1 - F_ 1 - rest 1 - E_ 1 - rest 1 - octave 5 - F_ 1 - rest 3 - C_ 1 - rest 3 - octave 4 - F_ 2 - rest 2 - endchannel diff --git a/audio/sfx/sfx_02_42.asm b/audio/sfx/sfx_02_42.asm deleted file mode 100755 index 9f997b36..00000000 --- a/audio/sfx/sfx_02_42.asm +++ /dev/null @@ -1,59 +0,0 @@ -SFX_02_42_Ch1: ; b362 (2:7362) - executemusic - tempo 256 - volume 7, 7 - duty 2 - toggleperfectpitch - notetype 5, 10, 4 - octave 3 - A# 4 - notetype 5, 11, 1 - octave 4 - C_ 2 - C_ 1 - C_ 1 - notetype 5, 10, 4 - D# 4 - notetype 5, 11, 1 - F_ 2 - F_ 1 - F_ 1 - notetype 5, 11, 4 - A# 8 - endchannel - - -SFX_02_42_Ch2: ; b381 (2:7381) - executemusic - vibrato 4, 2, 3 - duty 2 - notetype 5, 13, 1 - octave 4 - G_ 2 - G_ 1 - G_ 1 - notetype 5, 12, 4 - D# 4 - notetype 5, 13, 1 - G# 2 - G# 1 - G# 1 - A# 2 - A# 1 - A# 1 - notetype 5, 12, 4 - octave 5 - D# 8 - endchannel - - -SFX_02_42_Ch3: ; b39d (2:739d) - executemusic - notetype 5, 1, 0 - octave 4 - D# 4 - G# 4 - G_ 4 - F_ 4 - D# 8 - endchannel diff --git a/audio/sfx/sfx_02_43.asm b/audio/sfx/sfx_02_43.asm deleted file mode 100755 index 3bb6f7ed..00000000 --- a/audio/sfx/sfx_02_43.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_02_43_Ch1: ; 84c6 (2:44c6) - duty 0 - unknownsfx0x10 20 - unknownsfx0x20 4, 242, 0, 6 - loopchannel 4, SFX_02_43_Ch1 - unknownsfx0x20 15, 243, 0, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_44.asm b/audio/sfx/sfx_02_44.asm deleted file mode 100755 index c03155d1..00000000 --- a/audio/sfx/sfx_02_44.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_44_Ch1: ; 84ee (2:44ee) - duty 2 - unknownsfx0x10 21 - unknownsfx0x20 15, 240, 240, 4 - unknownsfx0x20 15, 242, 80, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_45.asm b/audio/sfx/sfx_02_45.asm deleted file mode 100755 index a2b9f83d..00000000 --- a/audio/sfx/sfx_02_45.asm +++ /dev/null @@ -1,13 +0,0 @@ -SFX_02_45_Ch1: ; 84fd (2:44fd) - duty 2 - unknownsfx0x20 15, 242, 192, 7 - unknownsfx0x20 15, 0, 0, 0 - unknownsfx0x20 3, 161, 128, 7 - unknownsfx0x20 3, 161, 0, 7 - unknownsfx0x20 3, 161, 64, 7 - unknownsfx0x20 3, 161, 0, 7 - unknownsfx0x20 3, 161, 128, 7 - unknownsfx0x20 3, 161, 0, 7 - unknownsfx0x20 3, 161, 192, 7 - unknownsfx0x20 8, 161, 0, 7 - endchannel diff --git a/audio/sfx/sfx_02_46.asm b/audio/sfx/sfx_02_46.asm deleted file mode 100755 index b75ef176..00000000 --- a/audio/sfx/sfx_02_46.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_46_Ch1: ; 8528 (2:4528) - duty 2 - unknownsfx0x20 4, 240, 0, 6 - unknownsfx0x20 4, 240, 0, 4 - unknownsfx0x20 4, 240, 0, 2 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_47.asm b/audio/sfx/sfx_02_47.asm deleted file mode 100755 index f498077c..00000000 --- a/audio/sfx/sfx_02_47.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_47_Ch1: ; 853b (2:453b) - duty 2 - unknownsfx0x20 6, 240, 0, 7 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 6, 240, 0, 7 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_48.asm b/audio/sfx/sfx_02_48.asm deleted file mode 100755 index e22443cc..00000000 --- a/audio/sfx/sfx_02_48.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_02_48_Ch1: ; 854e (2:454e) - duty 1 - unknownsfx0x10 23 - unknownsfx0x20 15, 215, 0, 6 - unknownsfx0x20 15, 183, 128, 5 - unknownsfx0x20 15, 135, 0, 5 - unknownsfx0x20 15, 71, 128, 4 - unknownsfx0x20 15, 23, 0, 4 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_49.asm b/audio/sfx/sfx_02_49.asm deleted file mode 100755 index 6cf3e647..00000000 --- a/audio/sfx/sfx_02_49.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_02_49_Ch1: ; 8569 (2:4569) - duty 2 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 2, 241, 128, 6 - unknownsfx0x20 1, 0, 0, 0 - unknownsfx0x20 4, 241, 128, 7 - unknownsfx0x20 4, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_4a.asm b/audio/sfx/sfx_02_4a.asm deleted file mode 100755 index 1cb0e857..00000000 --- a/audio/sfx/sfx_02_4a.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_02_4a_Ch1: ; 8580 (2:4580) - duty 2 - unknownsfx0x10 44 - unknownsfx0x20 4, 242, 0, 5 - unknownsfx0x10 34 - unknownsfx0x20 2, 241, 0, 5 - unknownsfx0x10 8 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_4b.asm b/audio/sfx/sfx_02_4b.asm deleted file mode 100755 index 173a6c9d..00000000 --- a/audio/sfx/sfx_02_4b.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_02_4b_Ch1: ; 8595 (2:4595) - duty 1 - unknownsfx0x10 23 - unknownsfx0x20 15, 215, 0, 5 - unknownsfx0x20 15, 183, 128, 5 - unknownsfx0x20 15, 135, 0, 6 - unknownsfx0x20 15, 71, 128, 6 - unknownsfx0x20 15, 23, 0, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_4c.asm b/audio/sfx/sfx_02_4c.asm deleted file mode 100755 index a52fefcf..00000000 --- a/audio/sfx/sfx_02_4c.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_02_4c_Ch1: ; 85b0 (2:45b0) - duty 1 - unknownsfx0x10 23 - unknownsfx0x20 15, 215, 0, 7 - unknownsfx0x20 15, 183, 128, 6 - unknownsfx0x20 15, 135, 0, 6 - unknownsfx0x20 15, 71, 128, 5 - unknownsfx0x20 15, 23, 0, 5 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_4d.asm b/audio/sfx/sfx_02_4d.asm deleted file mode 100755 index c7063722..00000000 --- a/audio/sfx/sfx_02_4d.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_02_4d_Ch1: ; 85cb (2:45cb) - duty 1 - unknownsfx0x10 22 - unknownsfx0x20 15, 210, 0, 5 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_4e.asm b/audio/sfx/sfx_02_4e.asm deleted file mode 100755 index 78b64198..00000000 --- a/audio/sfx/sfx_02_4e.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_02_4e_Ch1: ; 85d6 (2:45d6) - duty 2 - unknownsfx0x10 149 - unknownsfx0x20 15, 242, 0, 4 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_4f.asm b/audio/sfx/sfx_02_4f.asm deleted file mode 100755 index 53e523d0..00000000 --- a/audio/sfx/sfx_02_4f.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_02_4f_Ch1: ; 85e1 (2:45e1) - unknownnoise0x20 2, 241, 50 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 241, 34 - unknownnoise0x20 1, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_50.asm b/audio/sfx/sfx_02_50.asm deleted file mode 100755 index 5a5cd2b6..00000000 --- a/audio/sfx/sfx_02_50.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_02_50_Ch1: ; 85ee (2:45ee) - unknownnoise0x20 2, 241, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 161, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 209, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 129, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 177, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 97, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 145, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 65, 18 - unknownnoise0x20 2, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_51.asm b/audio/sfx/sfx_02_51.asm deleted file mode 100755 index cb55b512..00000000 --- a/audio/sfx/sfx_02_51.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_02_51_Ch1: ; 861f (2:461f) - duty 3 - unknownsfx0x10 90 - unknownsfx0x20 4, 240, 0, 5 - unknownsfx0x10 8 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 1, 0, 0, 0 - endchannel - - -SFX_02_51_Ch2: ; 8636 (2:4636) - duty 3 - unknownsfx0x20 4, 240, 1, 4 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 1, 4 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_02_52.asm b/audio/sfx/sfx_02_52.asm deleted file mode 100755 index 22b72929..00000000 --- a/audio/sfx/sfx_02_52.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_02_52_Ch1: ; 8649 (2:4649) - duty 0 - unknownsfx0x10 23 - unknownsfx0x20 15, 210, 0, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_53.asm b/audio/sfx/sfx_02_53.asm deleted file mode 100755 index e81724b0..00000000 --- a/audio/sfx/sfx_02_53.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_02_53_Ch1: ; 8654 (2:4654) - unknownnoise0x20 4, 162, 35 - unknownnoise0x20 8, 241, 52 - unknownnoise0x20 15, 0, 0 - unknownnoise0x20 2, 247, 36 - unknownnoise0x20 2, 247, 52 - unknownnoise0x20 4, 247, 68 - unknownnoise0x20 8, 244, 85 - unknownnoise0x20 8, 241, 68 - endchannel diff --git a/audio/sfx/sfx_02_54.asm b/audio/sfx/sfx_02_54.asm deleted file mode 100755 index 72f79c78..00000000 --- a/audio/sfx/sfx_02_54.asm +++ /dev/null @@ -1,22 +0,0 @@ -SFX_02_54_Ch1: ; 866d (2:466d) - duty 2 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 242, 0, 5 - endchannel - - -SFX_02_54_Ch2: ; 868c (2:468c) - duty 3 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 242, 130, 4 - endchannel diff --git a/audio/sfx/sfx_02_55.asm b/audio/sfx/sfx_02_55.asm deleted file mode 100755 index 57182f34..00000000 --- a/audio/sfx/sfx_02_55.asm +++ /dev/null @@ -1,12 +0,0 @@ -SFX_02_55_Ch1: ; 86ab (2:46ab) - duty 1 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 5 - unknownsfx0x10 34 - unknownsfx0x20 4, 226, 0, 5 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 7 - unknownsfx0x10 34 - unknownsfx0x20 15, 226, 0, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_56.asm b/audio/sfx/sfx_02_56.asm deleted file mode 100755 index d27fba19..00000000 --- a/audio/sfx/sfx_02_56.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_56_Ch1: ; 83e1 (2:43e1) - unknownnoise0x20 2, 247, 36 - unknownnoise0x20 2, 247, 52 - unknownnoise0x20 4, 247, 68 - unknownnoise0x20 8, 244, 85 - unknownnoise0x20 8, 241, 68 - endchannel diff --git a/audio/sfx/sfx_02_57.asm b/audio/sfx/sfx_02_57.asm deleted file mode 100755 index 8f8d06e2..00000000 --- a/audio/sfx/sfx_02_57.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_02_57_Ch1: ; 83f1 (2:43f1) - unknownnoise0x20 9, 241, 68 - unknownnoise0x20 8, 209, 67 - endchannel diff --git a/audio/sfx/sfx_02_58.asm b/audio/sfx/sfx_02_58.asm deleted file mode 100755 index 3a9836fb..00000000 --- a/audio/sfx/sfx_02_58.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_02_58_Ch1: ; 83f8 (2:43f8) - duty 2 - unknownsfx0x20 8, 225, 64, 7 - endchannel - - -SFX_02_58_Ch2: ; 83ff (2:43ff) - duty 2 - unknownsfx0x20 2, 8, 0, 0 - unknownsfx0x20 8, 177, 65, 7 - endchannel diff --git a/audio/sfx/sfx_02_59.asm b/audio/sfx/sfx_02_59.asm deleted file mode 100755 index c4ea93f7..00000000 --- a/audio/sfx/sfx_02_59.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_02_59_Ch1: ; 841b (2:441b) - duty 2 - unknownsfx0x20 4, 241, 128, 7 - endchannel - - -SFX_02_59_Ch2: ; 8422 (2:4422) - duty 2 - unknownsfx0x20 1, 8, 0, 0 - unknownsfx0x20 4, 161, 97, 7 - endchannel diff --git a/audio/sfx/sfx_02_5a.asm b/audio/sfx/sfx_02_5a.asm deleted file mode 100755 index d0d6f875..00000000 --- a/audio/sfx/sfx_02_5a.asm +++ /dev/null @@ -1,13 +0,0 @@ -SFX_02_5a_Ch1: ; 842d (2:442d) - duty 2 - unknownsfx0x20 4, 225, 0, 7 - unknownsfx0x20 8, 242, 224, 7 - endchannel - - -SFX_02_5a_Ch2: ; 8438 (2:4438) - duty 2 - unknownsfx0x20 1, 8, 0, 0 - unknownsfx0x20 4, 145, 193, 6 - unknownsfx0x20 8, 162, 161, 7 - endchannel diff --git a/audio/sfx/sfx_02_5b.asm b/audio/sfx/sfx_02_5b.asm deleted file mode 100755 index b09369db..00000000 --- a/audio/sfx/sfx_02_5b.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_02_5b_Ch1: ; 8447 (2:4447) - duty 2 - unknownsfx0x10 90 - unknownsfx0x20 15, 241, 0, 3 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_02_5c.asm b/audio/sfx/sfx_02_5c.asm deleted file mode 100755 index 477fd03b..00000000 --- a/audio/sfx/sfx_02_5c.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_02_5c_Ch1: ; 8452 (2:4452) - unknownnoise0x20 2, 241, 84 - unknownnoise0x20 12, 113, 35 - unknownnoise0x20 2, 177, 84 - unknownnoise0x20 12, 97, 35 - unknownnoise0x20 6, 65, 84 - endchannel diff --git a/audio/sfx/sfx_02_5d.asm b/audio/sfx/sfx_02_5d.asm deleted file mode 100755 index 2411c9ee..00000000 --- a/audio/sfx/sfx_02_5d.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_02_5d_Ch1: ; 8475 (2:4475) - duty 2 - unknownsfx0x20 4, 244, 0, 7 - unknownsfx0x20 2, 228, 0, 6 - unknownsfx0x20 2, 228, 128, 6 - unknownsfx0x20 2, 228, 192, 6 - unknownsfx0x20 2, 228, 0, 7 - unknownsfx0x20 2, 228, 160, 7 - unknownsfx0x20 15, 242, 224, 7 - endchannel - - -SFX_02_5d_Ch2: ; 8494 (2:4494) - duty 2 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 2, 212, 1, 7 - unknownsfx0x20 2, 196, 1, 6 - unknownsfx0x20 2, 196, 129, 6 - unknownsfx0x20 2, 196, 193, 6 - unknownsfx0x20 2, 196, 1, 7 - unknownsfx0x20 2, 196, 161, 7 - unknownsfx0x20 15, 210, 225, 7 - endchannel diff --git a/audio/sfx/sfx_02_5e.asm b/audio/sfx/sfx_02_5e.asm deleted file mode 100755 index 5f631c2d..00000000 --- a/audio/sfx/sfx_02_5e.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_02_5e_Ch1: ; 83ca (2:43ca) - vibrato 16, 1, 4 - notetype 12, 1, 0 - octave 5 - E_ 2 - F_ 2 - G_ 4 - A_ 2 - G_ 2 - octave 6 - C_ 4 - C_ 2 - D_ 2 - C_ 2 - octave 5 - G_ 2 - A_ 2 - F_ 2 - G_ 8 - rest 12 - endchannel diff --git a/audio/sfx/sfx_02_5f.asm b/audio/sfx/sfx_02_5f.asm deleted file mode 100755 index c4fe674c..00000000 --- a/audio/sfx/sfx_02_5f.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_02_5f_Ch1: ; 86c8 (2:46c8) - duty 2 - unknownsfx0x20 15, 243, 48, 7 - unknownsfx0x20 8, 101, 48, 7 - unknownsfx0x20 15, 244, 0, 7 - unknownsfx0x20 15, 116, 0, 7 - unknownsfx0x20 15, 68, 0, 7 - unknownsfx0x20 15, 36, 0, 7 - endchannel diff --git a/audio/sfx/sfx_08_01.asm b/audio/sfx/sfx_08_01.asm deleted file mode 100755 index 7d86e4ad..00000000 --- a/audio/sfx/sfx_08_01.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_01_Ch1: ; 202fd (8:42fd) - unknownnoise0x20 0, 193, 51 - endchannel diff --git a/audio/sfx/sfx_08_02.asm b/audio/sfx/sfx_08_02.asm deleted file mode 100755 index 1fe0d185..00000000 --- a/audio/sfx/sfx_08_02.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_02_Ch1: ; 20301 (8:4301) - unknownnoise0x20 0, 177, 51 - endchannel diff --git a/audio/sfx/sfx_08_03.asm b/audio/sfx/sfx_08_03.asm deleted file mode 100755 index 141c4e5b..00000000 --- a/audio/sfx/sfx_08_03.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_03_Ch1: ; 20305 (8:4305) - unknownnoise0x20 0, 161, 51 - endchannel diff --git a/audio/sfx/sfx_08_04.asm b/audio/sfx/sfx_08_04.asm deleted file mode 100755 index 923fd349..00000000 --- a/audio/sfx/sfx_08_04.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_04_Ch1: ; 20309 (8:4309) - unknownnoise0x20 0, 129, 51 - endchannel diff --git a/audio/sfx/sfx_08_05.asm b/audio/sfx/sfx_08_05.asm deleted file mode 100755 index 54745d1f..00000000 --- a/audio/sfx/sfx_08_05.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_08_05_Ch1: ; 2030d (8:430d) - unknownnoise0x20 7, 132, 55 - unknownnoise0x20 6, 132, 54 - unknownnoise0x20 5, 131, 53 - unknownnoise0x20 4, 131, 52 - unknownnoise0x20 3, 130, 51 - unknownnoise0x20 2, 129, 50 - endchannel diff --git a/audio/sfx/sfx_08_06.asm b/audio/sfx/sfx_08_06.asm deleted file mode 100755 index ecd2b191..00000000 --- a/audio/sfx/sfx_08_06.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_06_Ch1: ; 20320 (8:4320) - unknownnoise0x20 0, 81, 42 - endchannel diff --git a/audio/sfx/sfx_08_07.asm b/audio/sfx/sfx_08_07.asm deleted file mode 100755 index a520de0d..00000000 --- a/audio/sfx/sfx_08_07.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_07_Ch1: ; 20324 (8:4324) - unknownnoise0x20 1, 65, 43 - unknownnoise0x20 0, 97, 42 - endchannel diff --git a/audio/sfx/sfx_08_08.asm b/audio/sfx/sfx_08_08.asm deleted file mode 100755 index 6def0c55..00000000 --- a/audio/sfx/sfx_08_08.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_08_Ch1: ; 2032b (8:432b) - unknownnoise0x20 0, 129, 16 - endchannel diff --git a/audio/sfx/sfx_08_09.asm b/audio/sfx/sfx_08_09.asm deleted file mode 100755 index c49c5cb7..00000000 --- a/audio/sfx/sfx_08_09.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_09_Ch1: ; 2032f (8:432f) - unknownnoise0x20 0, 130, 35 - endchannel diff --git a/audio/sfx/sfx_08_0a.asm b/audio/sfx/sfx_08_0a.asm deleted file mode 100755 index f5f2ab3c..00000000 --- a/audio/sfx/sfx_08_0a.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_0a_Ch1: ; 20333 (8:4333) - unknownnoise0x20 0, 130, 37 - endchannel diff --git a/audio/sfx/sfx_08_0b.asm b/audio/sfx/sfx_08_0b.asm deleted file mode 100755 index 2d45ef7e..00000000 --- a/audio/sfx/sfx_08_0b.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_0b_Ch1: ; 20337 (8:4337) - unknownnoise0x20 0, 130, 38 - endchannel diff --git a/audio/sfx/sfx_08_0c.asm b/audio/sfx/sfx_08_0c.asm deleted file mode 100755 index 782ecf90..00000000 --- a/audio/sfx/sfx_08_0c.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_0c_Ch1: ; 2033b (8:433b) - unknownnoise0x20 0, 161, 16 - endchannel diff --git a/audio/sfx/sfx_08_0d.asm b/audio/sfx/sfx_08_0d.asm deleted file mode 100755 index d9ef41d0..00000000 --- a/audio/sfx/sfx_08_0d.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_0d_Ch1: ; 2033f (8:433f) - unknownnoise0x20 0, 162, 17 - endchannel diff --git a/audio/sfx/sfx_08_0e.asm b/audio/sfx/sfx_08_0e.asm deleted file mode 100755 index 885225ea..00000000 --- a/audio/sfx/sfx_08_0e.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_0e_Ch1: ; 20343 (8:4343) - unknownnoise0x20 0, 162, 80 - endchannel diff --git a/audio/sfx/sfx_08_0f.asm b/audio/sfx/sfx_08_0f.asm deleted file mode 100755 index 64f1cbe4..00000000 --- a/audio/sfx/sfx_08_0f.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_0f_Ch1: ; 20347 (8:4347) - unknownnoise0x20 0, 161, 24 - unknownnoise0x20 0, 49, 51 - endchannel diff --git a/audio/sfx/sfx_08_10.asm b/audio/sfx/sfx_08_10.asm deleted file mode 100755 index 3643a769..00000000 --- a/audio/sfx/sfx_08_10.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_10_Ch1: ; 2034e (8:434e) - unknownnoise0x20 2, 145, 40 - unknownnoise0x20 0, 113, 24 - endchannel diff --git a/audio/sfx/sfx_08_11.asm b/audio/sfx/sfx_08_11.asm deleted file mode 100755 index bec0220f..00000000 --- a/audio/sfx/sfx_08_11.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_11_Ch1: ; 20355 (8:4355) - unknownnoise0x20 0, 145, 34 - endchannel diff --git a/audio/sfx/sfx_08_12.asm b/audio/sfx/sfx_08_12.asm deleted file mode 100755 index 7e93326b..00000000 --- a/audio/sfx/sfx_08_12.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_12_Ch1: ; 20359 (8:4359) - unknownnoise0x20 0, 113, 34 - endchannel diff --git a/audio/sfx/sfx_08_13.asm b/audio/sfx/sfx_08_13.asm deleted file mode 100755 index 7feb8deb..00000000 --- a/audio/sfx/sfx_08_13.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_13_Ch1: ; 2035d (8:435d) - unknownnoise0x20 0, 97, 34 - endchannel diff --git a/audio/sfx/sfx_08_14.asm b/audio/sfx/sfx_08_14.asm deleted file mode 100755 index 83837768..00000000 --- a/audio/sfx/sfx_08_14.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_14_Ch1: ; 20c2f (8:4c2f) - dutycycle 245 - unknownsfx0x20 4, 243, 24, 7 - unknownsfx0x20 15, 229, 152, 7 - unknownsfx0x20 8, 145, 88, 7 - endchannel - - -SFX_08_14_Ch2: ; 20c3e (8:4c3e) - dutycycle 160 - unknownsfx0x20 5, 179, 8, 7 - unknownsfx0x20 15, 197, 136, 7 - unknownsfx0x20 8, 113, 72, 7 - endchannel - - -SFX_08_14_Ch3: ; 20c4d (8:4c4d) - unknownnoise0x20 3, 161, 28 - unknownnoise0x20 14, 148, 44 - unknownnoise0x20 8, 129, 28 - endchannel diff --git a/audio/sfx/sfx_08_15.asm b/audio/sfx/sfx_08_15.asm deleted file mode 100755 index 94705f71..00000000 --- a/audio/sfx/sfx_08_15.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_08_15_Ch1: ; 20e3f (8:4e3f) - dutycycle 160 - unknownsfx0x20 4, 243, 0, 6 - unknownsfx0x20 8, 213, 96, 7 - unknownsfx0x20 3, 226, 32, 7 - unknownsfx0x20 8, 209, 16, 7 - endchannel - - -SFX_08_15_Ch2: ; 20e52 (8:4e52) - dutycycle 90 - unknownsfx0x20 5, 179, 241, 6 - unknownsfx0x20 7, 197, 82, 7 - unknownsfx0x20 3, 162, 17, 7 - unknownsfx0x20 8, 177, 1, 6 - endchannel - - -SFX_08_15_Ch3: ; 20e65 (8:4e65) - unknownnoise0x20 3, 162, 60 - unknownnoise0x20 12, 148, 44 - unknownnoise0x20 3, 130, 28 - unknownnoise0x20 8, 113, 44 - endchannel diff --git a/audio/sfx/sfx_08_16.asm b/audio/sfx/sfx_08_16.asm deleted file mode 100755 index e2109f2b..00000000 --- a/audio/sfx/sfx_08_16.asm +++ /dev/null @@ -1,17 +0,0 @@ -SFX_08_16_Ch1: ; 20db4 (8:4db4) - duty 0 - unknownsfx0x20 8, 245, 128, 4 - unknownsfx0x20 2, 225, 224, 5 - unknownsfx0x20 8, 209, 220, 5 - endchannel - - -SFX_08_16_Ch2: ; 20dc3 (8:4dc3) - dutycycle 165 - unknownsfx0x20 7, 149, 65, 4 - unknownsfx0x20 2, 129, 33, 5 - unknownsfx0x20 8, 97, 26, 5 - - -SFX_08_16_Ch3: ; 20dd1 (8:4dd1) - endchannel diff --git a/audio/sfx/sfx_08_17.asm b/audio/sfx/sfx_08_17.asm deleted file mode 100755 index c8efc25f..00000000 --- a/audio/sfx/sfx_08_17.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_08_17_Ch1: ; 20b4e (8:4b4e) - dutycycle 240 - unknownsfx0x20 4, 247, 8, 6 - unknownsfx0x20 6, 230, 0, 6 - unknownsfx0x20 6, 215, 240, 5 - unknownsfx0x20 6, 196, 224, 5 - unknownsfx0x20 5, 211, 192, 5 - unknownsfx0x20 4, 211, 160, 5 - unknownsfx0x20 8, 225, 128, 5 - endchannel - - -SFX_08_17_Ch2: ; 20b6d (8:4b6d) - dutycycle 10 - unknownsfx0x20 4, 199, 4, 5 - unknownsfx0x20 6, 166, 2, 5 - unknownsfx0x20 6, 151, 241, 4 - unknownsfx0x20 4, 180, 225, 4 - unknownsfx0x20 5, 163, 194, 4 - unknownsfx0x20 4, 179, 163, 4 - unknownsfx0x20 8, 193, 130, 4 - endchannel - - -SFX_08_17_Ch3: ; 20b8c (8:4b8c) - unknownnoise0x20 12, 228, 76 - unknownnoise0x20 10, 199, 92 - unknownnoise0x20 12, 182, 76 - unknownnoise0x20 15, 162, 92 - endchannel diff --git a/audio/sfx/sfx_08_18.asm b/audio/sfx/sfx_08_18.asm deleted file mode 100755 index fce2f3e8..00000000 --- a/audio/sfx/sfx_08_18.asm +++ /dev/null @@ -1,32 +0,0 @@ -SFX_08_18_Ch1: ; 20efd (8:4efd) - dutycycle 240 - unknownsfx0x20 4, 247, 160, 6 - unknownsfx0x20 8, 230, 164, 6 - unknownsfx0x20 4, 214, 160, 6 - unknownsfx0x20 12, 211, 32, 6 - unknownsfx0x20 8, 195, 36, 6 - unknownsfx0x20 4, 194, 32, 6 - unknownsfx0x20 8, 177, 16, 6 - endchannel - - -SFX_08_18_Ch2: ; 20f1c (8:4f1c) - dutycycle 90 - unknownsfx0x20 4, 231, 1, 6 - unknownsfx0x20 8, 214, 3, 6 - unknownsfx0x20 4, 198, 1, 6 - unknownsfx0x20 12, 195, 129, 5 - unknownsfx0x20 8, 179, 131, 5 - unknownsfx0x20 4, 178, 130, 5 - unknownsfx0x20 8, 161, 113, 5 - endchannel - - -SFX_08_18_Ch3: ; 20f3b (8:4f3b) - unknownnoise0x20 7, 214, 92 - unknownnoise0x20 8, 230, 76 - unknownnoise0x20 4, 212, 92 - unknownnoise0x20 4, 212, 76 - unknownnoise0x20 7, 195, 76 - unknownnoise0x20 8, 161, 92 - endchannel diff --git a/audio/sfx/sfx_08_19.asm b/audio/sfx/sfx_08_19.asm deleted file mode 100755 index ad3a22ad..00000000 --- a/audio/sfx/sfx_08_19.asm +++ /dev/null @@ -1,19 +0,0 @@ -SFX_08_19_Ch1: ; 20cdd (8:4cdd) - dutycycle 10 - unknownsfx0x20 6, 226, 0, 5 - unknownsfx0x20 6, 227, 128, 5 - unknownsfx0x20 6, 211, 112, 5 - unknownsfx0x20 8, 161, 96, 5 - endchannel - - -SFX_08_19_Ch2: ; 20cf0 (8:4cf0) - dutycycle 245 - unknownsfx0x20 6, 226, 130, 4 - unknownsfx0x20 6, 211, 1, 5 - unknownsfx0x20 6, 178, 226, 4 - unknownsfx0x20 8, 129, 193, 4 - - -SFX_08_19_Ch3: ; 20d02 (8:4d02) - endchannel diff --git a/audio/sfx/sfx_08_1a.asm b/audio/sfx/sfx_08_1a.asm deleted file mode 100755 index 96df0f42..00000000 --- a/audio/sfx/sfx_08_1a.asm +++ /dev/null @@ -1,22 +0,0 @@ -SFX_08_1a_Ch1: ; 20c87 (8:4c87) - dutycycle 250 - unknownsfx0x20 6, 131, 71, 2 - unknownsfx0x20 15, 98, 38, 2 - unknownsfx0x20 4, 82, 69, 2 - unknownsfx0x20 9, 99, 6, 2 - unknownsfx0x20 15, 130, 37, 2 - unknownsfx0x20 15, 66, 7, 2 - - -SFX_08_1a_Ch2: ; 20ca1 (8:4ca1) - endchannel - - -SFX_08_1a_Ch3: ; 20ca2 (8:4ca2) - unknownnoise0x20 8, 212, 140 - unknownnoise0x20 4, 226, 156 - unknownnoise0x20 15, 198, 140 - unknownnoise0x20 8, 228, 172 - unknownnoise0x20 15, 215, 156 - unknownnoise0x20 15, 242, 172 - endchannel diff --git a/audio/sfx/sfx_08_1b.asm b/audio/sfx/sfx_08_1b.asm deleted file mode 100755 index bd7e288f..00000000 --- a/audio/sfx/sfx_08_1b.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_1b_Ch1: ; 20cb5 (8:4cb5) - dutycycle 240 - unknownsfx0x20 4, 243, 224, 6 - unknownsfx0x20 15, 228, 64, 6 - unknownsfx0x20 8, 193, 32, 6 - endchannel - - -SFX_08_1b_Ch2: ; 20cc4 (8:4cc4) - dutycycle 10 - unknownsfx0x20 3, 195, 131, 6 - unknownsfx0x20 14, 180, 2, 6 - unknownsfx0x20 8, 161, 1, 6 - endchannel - - -SFX_08_1b_Ch3: ; 20cd3 (8:4cd3) - unknownnoise0x20 4, 211, 92 - unknownnoise0x20 15, 230, 76 - unknownnoise0x20 8, 177, 92 - endchannel diff --git a/audio/sfx/sfx_08_1c.asm b/audio/sfx/sfx_08_1c.asm deleted file mode 100755 index e3b904b0..00000000 --- a/audio/sfx/sfx_08_1c.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_08_1c_Ch1: ; 20ecd (8:4ecd) - dutycycle 240 - unknownsfx0x20 15, 246, 101, 5 - unknownsfx0x20 10, 228, 124, 5 - unknownsfx0x20 3, 194, 92, 5 - unknownsfx0x20 15, 178, 60, 5 - endchannel - - -SFX_08_1c_Ch2: ; 20ee0 (8:4ee0) - dutycycle 90 - unknownsfx0x20 14, 214, 3, 5 - unknownsfx0x20 9, 180, 27, 5 - unknownsfx0x20 4, 146, 250, 4 - unknownsfx0x20 15, 162, 219, 4 - endchannel - - -SFX_08_1c_Ch3: ; 20ef3 (8:4ef3) - unknownnoise0x20 12, 230, 76 - unknownnoise0x20 11, 215, 92 - unknownnoise0x20 15, 194, 76 - endchannel diff --git a/audio/sfx/sfx_08_1d.asm b/audio/sfx/sfx_08_1d.asm deleted file mode 100755 index a6f82cf2..00000000 --- a/audio/sfx/sfx_08_1d.asm +++ /dev/null @@ -1,35 +0,0 @@ -SFX_08_1d_Ch1: ; 209d7 (8:49d7) - dutycycle 240 - unknownsfx0x20 15, 247, 160, 7 - unknownsfx0x20 6, 230, 163, 7 - unknownsfx0x20 10, 244, 160, 7 - dutycycle 165 - unknownsfx0x20 10, 246, 216, 7 - unknownsfx0x20 4, 227, 215, 7 - unknownsfx0x20 15, 242, 216, 7 - endchannel - - -SFX_08_1d_Ch2: ; 209f4 (8:49f4) - dutycycle 5 - unknownsfx0x20 2, 8, 0, 0 - unknownsfx0x20 15, 167, 161, 6 - unknownsfx0x20 6, 134, 162, 6 - unknownsfx0x20 10, 116, 161, 6 - dutycycle 95 - unknownsfx0x20 10, 118, 214, 6 - unknownsfx0x20 4, 131, 217, 6 - unknownsfx0x20 15, 162, 215, 6 - endchannel - - -SFX_08_1d_Ch3: ; 20a15 (8:4a15) - unknownnoise0x20 2, 242, 60 - unknownnoise0x20 8, 228, 62 - unknownnoise0x20 15, 215, 60 - unknownnoise0x20 6, 197, 59 - unknownnoise0x20 6, 228, 61 - unknownnoise0x20 8, 182, 60 - unknownnoise0x20 6, 212, 61 - unknownnoise0x20 8, 193, 59 - endchannel diff --git a/audio/sfx/sfx_08_1e.asm b/audio/sfx/sfx_08_1e.asm deleted file mode 100755 index 1312f6f2..00000000 --- a/audio/sfx/sfx_08_1e.asm +++ /dev/null @@ -1,35 +0,0 @@ -SFX_08_1e_Ch1: ; 20e72 (8:4e72) - dutycycle 240 - unknownsfx0x20 8, 247, 224, 6 - unknownsfx0x20 6, 230, 229, 6 - unknownsfx0x20 3, 244, 224, 6 - unknownsfx0x20 3, 246, 208, 6 - unknownsfx0x20 3, 227, 192, 6 - unknownsfx0x20 4, 242, 176, 6 - unknownsfx0x20 15, 162, 200, 6 - endchannel - - -SFX_08_1e_Ch2: ; 20e91 (8:4e91) - dutycycle 5 - unknownsfx0x20 3, 8, 0, 0 - unknownsfx0x20 8, 167, 161, 6 - unknownsfx0x20 6, 134, 163, 6 - unknownsfx0x20 3, 116, 161, 6 - unknownsfx0x20 3, 118, 145, 6 - unknownsfx0x20 3, 131, 130, 6 - unknownsfx0x20 4, 162, 113, 6 - unknownsfx0x20 15, 114, 137, 6 - endchannel - - -SFX_08_1e_Ch3: ; 20eb4 (8:4eb4) - unknownnoise0x20 2, 242, 60 - unknownnoise0x20 8, 228, 62 - unknownnoise0x20 8, 215, 60 - unknownnoise0x20 5, 197, 59 - unknownnoise0x20 3, 212, 44 - unknownnoise0x20 2, 182, 60 - unknownnoise0x20 3, 164, 44 - unknownnoise0x20 8, 145, 60 - endchannel diff --git a/audio/sfx/sfx_08_1f.asm b/audio/sfx/sfx_08_1f.asm deleted file mode 100755 index ab708929..00000000 --- a/audio/sfx/sfx_08_1f.asm +++ /dev/null @@ -1,37 +0,0 @@ -SFX_08_1f_Ch1: ; 20d03 (8:4d03) - dutycycle 204 - unknownsfx0x20 4, 241, 0, 7 - unknownsfx0x20 4, 225, 128, 7 - unknownsfx0x20 4, 209, 64, 7 - unknownsfx0x20 4, 225, 64, 7 - unknownsfx0x20 4, 241, 128, 7 - unknownsfx0x20 4, 209, 0, 7 - unknownsfx0x20 4, 241, 1, 7 - unknownsfx0x20 4, 209, 130, 7 - unknownsfx0x20 4, 193, 66, 7 - unknownsfx0x20 8, 177, 65, 7 - endchannel - - -SFX_08_1f_Ch2: ; 20d2e (8:4d2e) - dutycycle 68 - unknownsfx0x20 12, 8, 0, 0 - unknownsfx0x20 4, 241, 1, 7 - unknownsfx0x20 4, 225, 130, 7 - unknownsfx0x20 4, 209, 65, 7 - unknownsfx0x20 4, 225, 65, 7 - unknownsfx0x20 4, 241, 130, 7 - unknownsfx0x20 8, 209, 1, 7 - endchannel - - -SFX_08_1f_Ch3: ; 20d4d (8:4d4d) - unknownnoise0x20 15, 8, 0 - unknownnoise0x20 4, 8, 0 - unknownnoise0x20 4, 209, 76 - unknownnoise0x20 4, 177, 44 - unknownnoise0x20 4, 209, 60 - unknownnoise0x20 4, 177, 60 - unknownnoise0x20 4, 193, 44 - unknownnoise0x20 8, 161, 76 - endchannel diff --git a/audio/sfx/sfx_08_20.asm b/audio/sfx/sfx_08_20.asm deleted file mode 100755 index 633276a8..00000000 --- a/audio/sfx/sfx_08_20.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_08_20_Ch1: ; 20d66 (8:4d66) - dutycycle 204 - unknownsfx0x20 8, 245, 0, 6 - unknownsfx0x20 2, 210, 56, 6 - unknownsfx0x20 2, 194, 48, 6 - unknownsfx0x20 2, 194, 40, 6 - unknownsfx0x20 2, 178, 32, 6 - unknownsfx0x20 2, 178, 16, 6 - unknownsfx0x20 2, 162, 24, 6 - unknownsfx0x20 2, 178, 16, 6 - unknownsfx0x20 8, 193, 32, 6 - endchannel - - -SFX_08_20_Ch2: ; 20d8d (8:4d8d) - dutycycle 68 - unknownsfx0x20 12, 195, 192, 5 - unknownsfx0x20 3, 177, 249, 5 - unknownsfx0x20 2, 161, 241, 5 - unknownsfx0x20 2, 161, 233, 5 - unknownsfx0x20 2, 145, 225, 5 - unknownsfx0x20 2, 145, 217, 5 - unknownsfx0x20 2, 129, 209, 5 - unknownsfx0x20 2, 145, 217, 5 - unknownsfx0x20 8, 145, 225, 5 - - -SFX_08_20_Ch3: ; 20db3 (8:4db3) - endchannel diff --git a/audio/sfx/sfx_08_21.asm b/audio/sfx/sfx_08_21.asm deleted file mode 100755 index 5279435a..00000000 --- a/audio/sfx/sfx_08_21.asm +++ /dev/null @@ -1,40 +0,0 @@ -SFX_08_21_Ch1: ; 20dd2 (8:4dd2) - dutycycle 136 - unknownsfx0x20 5, 242, 80, 6 - unknownsfx0x20 9, 209, 96, 6 - unknownsfx0x20 5, 226, 18, 6 - unknownsfx0x20 9, 193, 34, 6 - unknownsfx0x20 5, 242, 16, 6 - unknownsfx0x20 6, 209, 32, 6 - loopchannel 2, SFX_08_21_Ch1 - endchannel - - -SFX_08_21_Ch2: ; 20df1 (8:4df1) - dutycycle 64 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 5, 242, 81, 6 - unknownsfx0x20 9, 209, 97, 6 - unknownsfx0x20 5, 226, 20, 6 - unknownsfx0x20 8, 193, 36, 6 - unknownsfx0x20 5, 242, 17, 6 - unknownsfx0x20 12, 209, 33, 6 - unknownsfx0x20 5, 226, 20, 6 - unknownsfx0x20 8, 193, 36, 6 - unknownsfx0x20 5, 242, 17, 6 - unknownsfx0x20 4, 209, 33, 6 - endchannel - - -SFX_08_21_Ch3: ; 20e20 (8:4e20) - unknownnoise0x20 6, 210, 28 - unknownnoise0x20 9, 177, 44 - unknownnoise0x20 8, 194, 44 - unknownnoise0x20 9, 177, 60 - unknownnoise0x20 6, 194, 44 - unknownnoise0x20 9, 162, 60 - unknownnoise0x20 7, 194, 44 - unknownnoise0x20 5, 161, 60 - unknownnoise0x20 9, 194, 44 - unknownnoise0x20 4, 161, 60 - endchannel diff --git a/audio/sfx/sfx_08_22.asm b/audio/sfx/sfx_08_22.asm deleted file mode 100755 index 6a54311f..00000000 --- a/audio/sfx/sfx_08_22.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_08_22_Ch1: ; 20c57 (8:4c57) - dutycycle 165 - unknownsfx0x20 4, 225, 0, 7 - unknownsfx0x20 4, 242, 128, 7 - unknownsfx0x20 2, 146, 64, 7 - unknownsfx0x20 8, 225, 0, 6 - endchannel - - -SFX_08_22_Ch2: ; 20c6a (8:4c6a) - dutycycle 10 - unknownsfx0x20 4, 177, 225, 6 - unknownsfx0x20 3, 194, 225, 6 - unknownsfx0x20 3, 98, 129, 6 - unknownsfx0x20 8, 177, 225, 5 - endchannel - - -SFX_08_22_Ch3: ; 20c7d (8:4c7d) - unknownnoise0x20 2, 97, 50 - unknownnoise0x20 2, 97, 33 - unknownnoise0x20 8, 97, 17 - endchannel diff --git a/audio/sfx/sfx_08_23.asm b/audio/sfx/sfx_08_23.asm deleted file mode 100755 index 03b63546..00000000 --- a/audio/sfx/sfx_08_23.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_08_23_Ch1: ; 20b99 (8:4b99) - dutycycle 241 - unknownsfx0x20 4, 247, 192, 7 - unknownsfx0x20 12, 230, 194, 7 - unknownsfx0x20 6, 181, 128, 6 - unknownsfx0x20 4, 196, 112, 6 - unknownsfx0x20 4, 181, 96, 6 - unknownsfx0x20 8, 193, 64, 6 - endchannel - - -SFX_08_23_Ch2: ; 20bb4 (8:4bb4) - dutycycle 204 - unknownsfx0x20 3, 199, 129, 7 - unknownsfx0x20 12, 182, 128, 7 - unknownsfx0x20 6, 165, 65, 6 - unknownsfx0x20 4, 196, 50, 6 - unknownsfx0x20 6, 181, 33, 6 - unknownsfx0x20 8, 161, 2, 6 - endchannel - - -SFX_08_23_Ch3: ; 20bcf (8:4bcf) - unknownnoise0x20 3, 228, 60 - unknownnoise0x20 12, 214, 44 - unknownnoise0x20 4, 228, 60 - unknownnoise0x20 8, 183, 92 - unknownnoise0x20 15, 194, 93 - endchannel diff --git a/audio/sfx/sfx_08_24.asm b/audio/sfx/sfx_08_24.asm deleted file mode 100755 index f94e2535..00000000 --- a/audio/sfx/sfx_08_24.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_08_24_Ch1: ; 20bdf (8:4bdf) - dutycycle 201 - unknownsfx0x20 8, 247, 128, 6 - unknownsfx0x20 2, 247, 96, 6 - unknownsfx0x20 1, 231, 64, 6 - unknownsfx0x20 1, 231, 32, 6 - unknownsfx0x20 15, 209, 0, 6 - unknownsfx0x20 4, 199, 64, 7 - unknownsfx0x20 4, 167, 48, 7 - unknownsfx0x20 15, 145, 32, 7 - endchannel - - -SFX_08_24_Ch2: ; 20c02 (8:4c02) - dutycycle 121 - unknownsfx0x20 10, 231, 130, 6 - unknownsfx0x20 2, 231, 98, 6 - unknownsfx0x20 1, 215, 66, 6 - unknownsfx0x20 1, 215, 34, 6 - unknownsfx0x20 15, 193, 2, 6 - unknownsfx0x20 4, 183, 66, 7 - unknownsfx0x20 2, 151, 50, 7 - unknownsfx0x20 15, 129, 34, 7 - endchannel - - -SFX_08_24_Ch3: ; 20c25 (8:4c25) - unknownnoise0x20 4, 116, 33 - unknownnoise0x20 4, 116, 16 - unknownnoise0x20 4, 113, 32 - endchannel diff --git a/audio/sfx/sfx_08_25.asm b/audio/sfx/sfx_08_25.asm deleted file mode 100755 index 55954029..00000000 --- a/audio/sfx/sfx_08_25.asm +++ /dev/null @@ -1,34 +0,0 @@ -SFX_08_25_Ch1: ; 20abb (8:4abb) - dutycycle 240 - unknownsfx0x20 6, 247, 160, 7 - unknownsfx0x20 8, 230, 164, 7 - unknownsfx0x20 4, 214, 160, 7 - unknownsfx0x20 15, 211, 32, 7 - unknownsfx0x20 8, 195, 35, 7 - unknownsfx0x20 2, 194, 40, 7 - unknownsfx0x20 8, 177, 48, 7 - endchannel - - -SFX_08_25_Ch2: ; 20ada (8:4ada) - dutycycle 10 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 6, 167, 65, 7 - unknownsfx0x20 8, 134, 67, 7 - unknownsfx0x20 4, 118, 65, 7 - unknownsfx0x20 13, 131, 194, 6 - unknownsfx0x20 7, 115, 193, 6 - unknownsfx0x20 3, 130, 204, 6 - unknownsfx0x20 8, 113, 216, 6 - endchannel - - -SFX_08_25_Ch3: ; 20afd (8:4afd) - unknownnoise0x20 2, 242, 76 - unknownnoise0x20 6, 230, 58 - unknownnoise0x20 4, 215, 58 - unknownnoise0x20 6, 214, 44 - unknownnoise0x20 8, 229, 60 - unknownnoise0x20 12, 210, 61 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_08_26.asm b/audio/sfx/sfx_08_26.asm deleted file mode 100755 index c166605b..00000000 --- a/audio/sfx/sfx_08_26.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_08_26_Ch1: ; 20fd3 (8:4fd3) - dutycycle 165 - unknownsfx0x20 12, 242, 64, 4 - unknownsfx0x20 15, 227, 160, 4 - unknownsfx0x20 4, 210, 144, 4 - unknownsfx0x20 8, 209, 128, 4 - endchannel - - -SFX_08_26_Ch2: ; 20fe6 (8:4fe6) - dutycycle 238 - unknownsfx0x20 11, 210, 56, 4 - unknownsfx0x20 14, 198, 152, 4 - unknownsfx0x20 3, 178, 136, 4 - unknownsfx0x20 8, 177, 120, 4 - endchannel - - -SFX_08_26_Ch3: ; 20ff9 (8:4ff9) - unknownnoise0x20 10, 230, 108 - unknownnoise0x20 15, 210, 92 - unknownnoise0x20 3, 194, 108 - unknownnoise0x20 8, 209, 92 - endchannel diff --git a/audio/sfx/sfx_08_27.asm b/audio/sfx/sfx_08_27.asm deleted file mode 100755 index 9443379c..00000000 --- a/audio/sfx/sfx_08_27.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_08_27_Ch1: ; 21006 (8:5006) - dutycycle 51 - unknownsfx0x20 15, 246, 192, 5 - unknownsfx0x20 8, 227, 188, 5 - unknownsfx0x20 6, 210, 208, 5 - unknownsfx0x20 6, 178, 224, 5 - unknownsfx0x20 6, 194, 240, 5 - unknownsfx0x20 8, 177, 0, 6 - endchannel - - -SFX_08_27_Ch2: ; 21021 (8:5021) - dutycycle 153 - unknownsfx0x20 14, 198, 177, 4 - unknownsfx0x20 7, 195, 173, 4 - unknownsfx0x20 5, 178, 193, 4 - unknownsfx0x20 8, 146, 209, 4 - unknownsfx0x20 6, 162, 225, 4 - unknownsfx0x20 8, 145, 241, 4 - endchannel - - -SFX_08_27_Ch3: ; 2103c (8:503c) - unknownnoise0x20 10, 230, 92 - unknownnoise0x20 10, 214, 108 - unknownnoise0x20 4, 194, 76 - unknownnoise0x20 6, 211, 92 - unknownnoise0x20 8, 179, 76 - unknownnoise0x20 8, 161, 92 - endchannel diff --git a/audio/sfx/sfx_08_28.asm b/audio/sfx/sfx_08_28.asm deleted file mode 100755 index 178ce5de..00000000 --- a/audio/sfx/sfx_08_28.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_28_Ch1: ; 2104f (8:504f) - dutycycle 240 - unknownsfx0x20 8, 228, 144, 7 - unknownsfx0x20 15, 245, 192, 7 - unknownsfx0x20 8, 209, 216, 7 - endchannel - - -SFX_08_28_Ch2: ; 2105e (8:505e) - dutycycle 165 - unknownsfx0x20 10, 196, 113, 7 - unknownsfx0x20 15, 182, 162, 7 - unknownsfx0x20 8, 161, 183, 7 - endchannel - - -SFX_08_28_Ch3: ; 2106d (8:506d) - unknownnoise0x20 8, 228, 76 - unknownnoise0x20 14, 196, 60 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_08_29.asm b/audio/sfx/sfx_08_29.asm deleted file mode 100755 index ff22501f..00000000 --- a/audio/sfx/sfx_08_29.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_08_29_Ch1: ; 210dd (8:50dd) - dutycycle 240 - unknownsfx0x20 4, 243, 128, 7 - unknownsfx0x20 15, 231, 0, 7 - unknownsfx0x20 8, 211, 16, 7 - unknownsfx0x20 4, 194, 0, 7 - unknownsfx0x20 4, 210, 240, 6 - unknownsfx0x20 8, 193, 224, 6 - endchannel - - -SFX_08_29_Ch2: ; 210f8 (8:50f8) - dutycycle 90 - unknownsfx0x20 6, 195, 1, 7 - unknownsfx0x20 14, 183, 129, 6 - unknownsfx0x20 7, 179, 146, 6 - unknownsfx0x20 3, 162, 129, 6 - unknownsfx0x20 4, 178, 114, 6 - unknownsfx0x20 8, 161, 97, 6 - endchannel - - -SFX_08_29_Ch3: ; 21113 (8:5113) - unknownnoise0x20 6, 227, 92 - unknownnoise0x20 14, 214, 76 - unknownnoise0x20 6, 198, 60 - unknownnoise0x20 3, 179, 76 - unknownnoise0x20 3, 162, 92 - unknownnoise0x20 8, 177, 108 - endchannel diff --git a/audio/sfx/sfx_08_2a.asm b/audio/sfx/sfx_08_2a.asm deleted file mode 100755 index 8b9aeeaf..00000000 --- a/audio/sfx/sfx_08_2a.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_2a_Ch1: ; 20f70 (8:4f70) - dutycycle 240 - unknownsfx0x20 15, 215, 128, 7 - unknownsfx0x20 4, 230, 160, 7 - unknownsfx0x20 15, 210, 64, 7 - endchannel - - -SFX_08_2a_Ch2: ; 20f7f (8:4f7f) - dutycycle 90 - unknownsfx0x20 15, 199, 83, 7 - unknownsfx0x20 5, 182, 114, 7 - unknownsfx0x20 15, 194, 17, 7 - endchannel - - -SFX_08_2a_Ch3: ; 20f8e (8:4f8e) - unknownnoise0x20 13, 246, 76 - unknownnoise0x20 4, 230, 60 - unknownnoise0x20 15, 242, 76 - endchannel diff --git a/audio/sfx/sfx_08_2b.asm b/audio/sfx/sfx_08_2b.asm deleted file mode 100755 index b35755a4..00000000 --- a/audio/sfx/sfx_08_2b.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_08_2b_Ch1: ; 21126 (8:5126) - dutycycle 15 - unknownsfx0x20 15, 247, 0, 5 - unknownsfx0x20 15, 231, 8, 5 - unknownsfx0x20 8, 180, 128, 4 - unknownsfx0x20 15, 162, 96, 4 - endchannel - - -SFX_08_2b_Ch2: ; 21139 (8:5139) - dutycycle 68 - unknownsfx0x20 14, 215, 129, 4 - unknownsfx0x20 14, 199, 137, 4 - unknownsfx0x20 10, 180, 1, 4 - unknownsfx0x20 15, 194, 225, 3 - endchannel - - -SFX_08_2b_Ch3: ; 2114c (8:514c) - unknownnoise0x20 14, 247, 124 - unknownnoise0x20 12, 246, 108 - unknownnoise0x20 9, 228, 124 - unknownnoise0x20 15, 226, 108 - endchannel diff --git a/audio/sfx/sfx_08_2c.asm b/audio/sfx/sfx_08_2c.asm deleted file mode 100755 index b2dbc764..00000000 --- a/audio/sfx/sfx_08_2c.asm +++ /dev/null @@ -1,34 +0,0 @@ -SFX_08_2c_Ch1: ; 21236 (8:5236) - dutycycle 80 - unknownsfx0x20 10, 245, 128, 6 - unknownsfx0x20 3, 226, 160, 6 - unknownsfx0x20 3, 242, 192, 6 - unknownsfx0x20 3, 226, 224, 6 - unknownsfx0x20 3, 210, 0, 7 - unknownsfx0x20 3, 194, 224, 6 - unknownsfx0x20 3, 210, 192, 6 - unknownsfx0x20 8, 193, 160, 6 - endchannel - - -SFX_08_2c_Ch2: ; 21259 (8:5259) - dutycycle 15 - unknownsfx0x20 9, 213, 49, 6 - unknownsfx0x20 3, 210, 82, 6 - unknownsfx0x20 3, 226, 113, 6 - unknownsfx0x20 3, 178, 145, 6 - unknownsfx0x20 3, 194, 178, 6 - unknownsfx0x20 3, 178, 145, 6 - unknownsfx0x20 3, 194, 113, 6 - unknownsfx0x20 8, 177, 81, 6 - endchannel - - -SFX_08_2c_Ch3: ; 2127c (8:527c) - unknownnoise0x20 6, 227, 76 - unknownnoise0x20 4, 195, 60 - unknownnoise0x20 5, 212, 60 - unknownnoise0x20 4, 196, 44 - unknownnoise0x20 6, 180, 60 - unknownnoise0x20 8, 193, 44 - endchannel diff --git a/audio/sfx/sfx_08_2d.asm b/audio/sfx/sfx_08_2d.asm deleted file mode 100755 index 4f7f5422..00000000 --- a/audio/sfx/sfx_08_2d.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_08_2d_Ch1: ; 20f4e (8:4f4e) - dutycycle 27 - unknownsfx0x20 7, 210, 64, 7 - unknownsfx0x20 15, 229, 96, 7 - unknownsfx0x20 15, 193, 48, 7 - endchannel - - -SFX_08_2d_Ch2: ; 20f5d (8:4f5d) - dutycycle 129 - unknownsfx0x20 2, 194, 1, 7 - unknownsfx0x20 4, 194, 8, 7 - unknownsfx0x20 15, 215, 65, 7 - unknownsfx0x20 15, 162, 1, 7 - - -SFX_08_2d_Ch3: ; 20f6f (8:4f6f) - endchannel diff --git a/audio/sfx/sfx_08_2e.asm b/audio/sfx/sfx_08_2e.asm deleted file mode 100755 index 7a6e9257..00000000 --- a/audio/sfx/sfx_08_2e.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_08_2e_Ch1: ; 211a7 (8:51a7) - dutycycle 240 - unknownsfx0x20 6, 247, 64, 7 - unknownsfx0x20 12, 230, 68, 7 - unknownsfx0x20 6, 213, 80, 7 - unknownsfx0x20 4, 195, 96, 7 - unknownsfx0x20 3, 195, 128, 7 - unknownsfx0x20 8, 209, 160, 7 - endchannel - - -SFX_08_2e_Ch2: ; 211c2 (8:51c2) - dutycycle 10 - unknownsfx0x20 6, 199, 1, 7 - unknownsfx0x20 11, 182, 2, 7 - unknownsfx0x20 6, 165, 17, 7 - unknownsfx0x20 4, 147, 33, 7 - unknownsfx0x20 3, 163, 65, 7 - unknownsfx0x20 8, 145, 98, 7 - endchannel - - -SFX_08_2e_Ch3: ; 211dd (8:51dd) - unknownnoise0x20 3, 226, 60 - unknownnoise0x20 8, 214, 76 - unknownnoise0x20 5, 212, 60 - unknownnoise0x20 12, 199, 76 - unknownnoise0x20 2, 226, 60 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_08_2f.asm b/audio/sfx/sfx_08_2f.asm deleted file mode 100755 index d26e86c0..00000000 --- a/audio/sfx/sfx_08_2f.asm +++ /dev/null @@ -1,26 +0,0 @@ -SFX_08_2f_Ch1: ; 20f98 (8:4f98) - dutycycle 240 - unknownsfx0x20 6, 247, 192, 6 - unknownsfx0x20 15, 231, 0, 7 - unknownsfx0x20 4, 244, 240, 6 - unknownsfx0x20 4, 228, 224, 6 - unknownsfx0x20 8, 209, 208, 6 - endchannel - - -SFX_08_2f_Ch2: ; 20faf (8:4faf) - dutycycle 10 - unknownsfx0x20 7, 230, 129, 6 - unknownsfx0x20 14, 213, 193, 6 - unknownsfx0x20 4, 196, 177, 6 - unknownsfx0x20 4, 212, 161, 6 - unknownsfx0x20 8, 193, 145, 6 - endchannel - - -SFX_08_2f_Ch3: ; 20fc6 (8:4fc6) - unknownnoise0x20 10, 166, 60 - unknownnoise0x20 14, 148, 44 - unknownnoise0x20 5, 163, 60 - unknownnoise0x20 8, 145, 44 - endchannel diff --git a/audio/sfx/sfx_08_30.asm b/audio/sfx/sfx_08_30.asm deleted file mode 100755 index 08e7da69..00000000 --- a/audio/sfx/sfx_08_30.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_08_30_Ch1: ; 21159 (8:5159) - dutycycle 245 - unknownsfx0x20 7, 214, 225, 7 - unknownsfx0x20 6, 198, 226, 7 - unknownsfx0x20 9, 214, 225, 7 - unknownsfx0x20 7, 198, 224, 7 - unknownsfx0x20 5, 182, 226, 7 - unknownsfx0x20 7, 198, 225, 7 - unknownsfx0x20 6, 182, 224, 7 - unknownsfx0x20 8, 161, 223, 7 - endchannel - - -SFX_08_30_Ch2: ; 2117c (8:517c) - dutycycle 68 - unknownsfx0x20 6, 195, 201, 7 - unknownsfx0x20 6, 179, 199, 7 - unknownsfx0x20 10, 196, 195, 7 - unknownsfx0x20 8, 180, 199, 7 - unknownsfx0x20 6, 195, 201, 7 - unknownsfx0x20 15, 162, 197, 7 - endchannel - - -SFX_08_30_Ch3: ; 21197 (8:5197) - unknownnoise0x20 13, 25, 124 - unknownnoise0x20 13, 247, 140 - unknownnoise0x20 12, 214, 124 - unknownnoise0x20 8, 196, 108 - unknownnoise0x20 15, 179, 92 - endchannel diff --git a/audio/sfx/sfx_08_31.asm b/audio/sfx/sfx_08_31.asm deleted file mode 100755 index 4c06c624..00000000 --- a/audio/sfx/sfx_08_31.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_08_31_Ch1: ; 211f0 (8:51f0) - dutycycle 244 - unknownsfx0x20 15, 240, 5, 7 - unknownsfx0x20 10, 224, 0, 7 - unknownsfx0x20 6, 180, 16, 7 - unknownsfx0x20 4, 211, 0, 7 - unknownsfx0x20 6, 178, 32, 6 - unknownsfx0x20 8, 161, 36, 6 - endchannel - - -SFX_08_31_Ch2: ; 2120b (8:520b) - dutycycle 34 - unknownsfx0x20 15, 176, 195, 6 - unknownsfx0x20 10, 160, 193, 6 - unknownsfx0x20 6, 132, 210, 6 - unknownsfx0x20 4, 147, 193, 6 - unknownsfx0x20 6, 130, 225, 5 - unknownsfx0x20 8, 97, 232, 5 - endchannel - - -SFX_08_31_Ch3: ; 21226 (8:5226) - unknownnoise0x20 6, 230, 76 - unknownnoise0x20 15, 214, 60 - unknownnoise0x20 10, 197, 74 - unknownnoise0x20 1, 178, 91 - unknownnoise0x20 15, 194, 76 - endchannel diff --git a/audio/sfx/sfx_08_32.asm b/audio/sfx/sfx_08_32.asm deleted file mode 100755 index 255d24c7..00000000 --- a/audio/sfx/sfx_08_32.asm +++ /dev/null @@ -1,38 +0,0 @@ -SFX_08_32_Ch1: ; 21077 (8:5077) - dutycycle 240 - unknownsfx0x20 6, 242, 0, 6 - unknownsfx0x20 6, 226, 64, 6 - unknownsfx0x20 6, 210, 128, 6 - unknownsfx0x20 6, 226, 192, 6 - unknownsfx0x20 6, 210, 0, 7 - unknownsfx0x20 6, 194, 64, 7 - unknownsfx0x20 6, 178, 128, 7 - unknownsfx0x20 8, 161, 192, 7 - endchannel - - -SFX_08_32_Ch2: ; 2109a (8:509a) - dutycycle 17 - unknownsfx0x20 3, 8, 1, 0 - unknownsfx0x20 6, 194, 193, 5 - unknownsfx0x20 6, 178, 2, 6 - unknownsfx0x20 6, 162, 65, 6 - unknownsfx0x20 6, 178, 130, 6 - unknownsfx0x20 6, 162, 194, 6 - unknownsfx0x20 6, 146, 1, 7 - unknownsfx0x20 6, 162, 66, 7 - unknownsfx0x20 8, 129, 129, 7 - endchannel - - -SFX_08_32_Ch3: ; 210c1 (8:50c1) - unknownnoise0x20 6, 8, 1 - unknownnoise0x20 5, 226, 92 - unknownnoise0x20 5, 194, 76 - unknownnoise0x20 5, 210, 60 - unknownnoise0x20 5, 178, 44 - unknownnoise0x20 5, 194, 28 - unknownnoise0x20 5, 162, 27 - unknownnoise0x20 5, 146, 26 - unknownnoise0x20 8, 129, 24 - endchannel diff --git a/audio/sfx/sfx_08_33.asm b/audio/sfx/sfx_08_33.asm deleted file mode 100755 index 55b09fb1..00000000 --- a/audio/sfx/sfx_08_33.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_08_33_Ch1: ; 2128f (8:528f) - dutycycle 165 - unknownsfx0x20 3, 244, 65, 6 - unknownsfx0x20 13, 214, 33, 7 - unknownsfx0x20 8, 244, 25, 7 - unknownsfx0x20 8, 193, 26, 7 - endchannel - - -SFX_08_33_Ch2: ; 212a2 (8:52a2) - dutycycle 204 - unknownsfx0x20 4, 244, 128, 5 - unknownsfx0x20 14, 230, 224, 6 - unknownsfx0x20 8, 213, 216, 6 - unknownsfx0x20 8, 209, 220, 6 - endchannel - - -SFX_08_33_Ch3: ; 212b5 (8:52b5) - unknownnoise0x20 5, 196, 70 - unknownnoise0x20 13, 165, 68 - unknownnoise0x20 8, 196, 69 - unknownnoise0x20 8, 177, 68 - endchannel diff --git a/audio/sfx/sfx_08_34.asm b/audio/sfx/sfx_08_34.asm deleted file mode 100755 index cabd1ebe..00000000 --- a/audio/sfx/sfx_08_34.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_08_34_Ch1: ; 212c2 (8:52c2) - dutycycle 240 - unknownsfx0x20 13, 241, 17, 5 - unknownsfx0x20 13, 225, 21, 5 - unknownsfx0x20 13, 225, 17, 5 - unknownsfx0x20 8, 209, 17, 5 - endchannel - - -SFX_08_34_Ch2: ; 212d5 (8:52d5) - dutycycle 21 - unknownsfx0x20 12, 225, 12, 5 - unknownsfx0x20 12, 209, 16, 5 - unknownsfx0x20 14, 193, 12, 5 - unknownsfx0x20 8, 193, 10, 5 - endchannel - - -SFX_08_34_Ch3: ; 212e8 (8:52e8) - unknownnoise0x20 14, 242, 101 - unknownnoise0x20 13, 226, 85 - unknownnoise0x20 14, 210, 86 - unknownnoise0x20 8, 209, 102 - endchannel diff --git a/audio/sfx/sfx_08_35.asm b/audio/sfx/sfx_08_35.asm deleted file mode 100755 index 732f7a1e..00000000 --- a/audio/sfx/sfx_08_35.asm +++ /dev/null @@ -1,27 +0,0 @@ -SFX_08_35_Ch1: ; 212f5 (8:52f5) - dutycycle 27 - unknownsfx0x20 3, 243, 100, 5 - unknownsfx0x20 2, 226, 68, 5 - unknownsfx0x20 5, 209, 34, 5 - unknownsfx0x20 2, 178, 132, 4 - unknownsfx0x20 8, 209, 162, 4 - unknownsfx0x20 3, 243, 36, 5 - unknownsfx0x20 4, 228, 228, 4 - unknownsfx0x20 8, 209, 2, 5 - endchannel - - -SFX_08_35_Ch2: ; 21318 (8:5318) - dutycycle 204 - unknownsfx0x20 3, 211, 96, 5 - unknownsfx0x20 2, 194, 64, 5 - unknownsfx0x20 5, 193, 32, 5 - unknownsfx0x20 2, 146, 128, 4 - unknownsfx0x20 8, 193, 160, 4 - unknownsfx0x20 3, 211, 32, 5 - unknownsfx0x20 3, 196, 224, 4 - unknownsfx0x20 8, 193, 0, 5 - - -SFX_08_35_Ch3: ; 2133a (8:533a) - endchannel diff --git a/audio/sfx/sfx_08_36.asm b/audio/sfx/sfx_08_36.asm deleted file mode 100755 index 47d08af1..00000000 --- a/audio/sfx/sfx_08_36.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_08_36_Ch1: ; 2133b (8:533b) - dutycycle 17 - unknownsfx0x20 2, 61, 129, 3 - unknownsfx0x20 7, 245, 1, 6 - unknownsfx0x20 1, 194, 129, 4 - unknownsfx0x20 8, 145, 129, 3 - endchannel - - -SFX_08_36_Ch2: ; 2134e (8:534e) - dutycycle 238 - unknownsfx0x20 2, 62, 176, 5 - unknownsfx0x20 7, 213, 93, 7 - unknownsfx0x20 1, 178, 176, 6 - unknownsfx0x20 8, 97, 176, 5 - endchannel - - -SFX_08_36_Ch3: ; 21361 (8:5361) - unknownnoise0x20 2, 146, 73 - unknownnoise0x20 7, 181, 41 - unknownnoise0x20 1, 162, 57 - unknownnoise0x20 8, 145, 73 - endchannel diff --git a/audio/sfx/sfx_08_37.asm b/audio/sfx/sfx_08_37.asm deleted file mode 100755 index 8df47703..00000000 --- a/audio/sfx/sfx_08_37.asm +++ /dev/null @@ -1,25 +0,0 @@ -SFX_08_37_Ch1: ; 20a2e (8:4a2e) - dutycycle 240 - unknownsfx0x20 15, 247, 192, 7 - unknownsfx0x20 6, 228, 193, 7 - unknownsfx0x20 10, 246, 192, 7 - unknownsfx0x20 4, 211, 194, 7 - unknownsfx0x20 8, 193, 192, 7 - endchannel - - -SFX_08_37_Ch2: ; 20a45 (8:4a45) - dutycycle 95 - unknownsfx0x20 15, 151, 129, 7 - unknownsfx0x20 6, 132, 128, 7 - unknownsfx0x20 10, 150, 129, 7 - unknownsfx0x20 15, 131, 129, 7 - endchannel - - -SFX_08_37_Ch3: ; 20a58 (8:4a58) - unknownnoise0x20 3, 242, 60 - unknownnoise0x20 13, 230, 44 - unknownnoise0x20 15, 215, 60 - unknownnoise0x20 8, 193, 44 - endchannel diff --git a/audio/sfx/sfx_08_38.asm b/audio/sfx/sfx_08_38.asm deleted file mode 100755 index 77df04e1..00000000 --- a/audio/sfx/sfx_08_38.asm +++ /dev/null @@ -1,33 +0,0 @@ -SFX_08_38_Ch1: ; 20a65 (8:4a65) - dutycycle 240 - unknownsfx0x20 15, 247, 128, 6 - unknownsfx0x20 10, 230, 132, 6 - unknownsfx0x20 15, 215, 144, 6 - unknownsfx0x20 8, 213, 144, 6 - unknownsfx0x20 6, 196, 136, 6 - unknownsfx0x20 5, 211, 112, 6 - unknownsfx0x20 4, 211, 96, 6 - unknownsfx0x20 8, 193, 64, 6 - endchannel - - -SFX_08_38_Ch2: ; 20a88 (8:4a88) - dutycycle 5 - unknownsfx0x20 15, 183, 65, 6 - unknownsfx0x20 10, 150, 66, 6 - unknownsfx0x20 15, 167, 81, 6 - unknownsfx0x20 8, 165, 81, 6 - unknownsfx0x20 6, 148, 71, 6 - unknownsfx0x20 5, 163, 49, 6 - unknownsfx0x20 4, 147, 34, 6 - unknownsfx0x20 8, 113, 1, 6 - endchannel - - -SFX_08_38_Ch3: ; 20aab (8:4aab) - unknownnoise0x20 15, 228, 60 - unknownnoise0x20 10, 199, 76 - unknownnoise0x20 10, 199, 60 - unknownnoise0x20 12, 183, 76 - unknownnoise0x20 15, 162, 92 - endchannel diff --git a/audio/sfx/sfx_08_39.asm b/audio/sfx/sfx_08_39.asm deleted file mode 100755 index a4d0e0a4..00000000 --- a/audio/sfx/sfx_08_39.asm +++ /dev/null @@ -1,26 +0,0 @@ -SFX_08_39_Ch1: ; 20b13 (8:4b13) - dutycycle 165 - unknownsfx0x20 6, 244, 64, 7 - unknownsfx0x20 15, 227, 48, 7 - unknownsfx0x20 4, 244, 64, 7 - unknownsfx0x20 5, 179, 72, 7 - unknownsfx0x20 8, 209, 80, 7 - endchannel - - -SFX_08_39_Ch2: ; 20b2a (8:4b2a) - dutycycle 119 - unknownsfx0x20 6, 195, 18, 7 - unknownsfx0x20 15, 179, 4, 7 - unknownsfx0x20 3, 195, 18, 7 - unknownsfx0x20 4, 195, 33, 7 - unknownsfx0x20 8, 177, 50, 7 - endchannel - - -SFX_08_39_Ch3: ; 20b41 (8:4b41) - unknownnoise0x20 8, 214, 44 - unknownnoise0x20 12, 198, 60 - unknownnoise0x20 10, 182, 44 - unknownnoise0x20 8, 145, 28 - endchannel diff --git a/audio/sfx/sfx_08_3a.asm b/audio/sfx/sfx_08_3a.asm deleted file mode 100755 index afbc50d4..00000000 --- a/audio/sfx/sfx_08_3a.asm +++ /dev/null @@ -1,63 +0,0 @@ -SFX_08_3a_Ch1: ; 2397d (8:797d) - executemusic - tempo 256 - volume 7, 7 - duty 2 - toggleperfectpitch - notetype 6, 11, 4 - octave 4 - F_ 4 - notetype 4, 11, 2 - C_ 2 - F_ 2 - C_ 2 - notetype 6, 11, 3 - D# 2 - D# 2 - E_ 2 - notetype 6, 11, 4 - F_ 8 - endchannel - - -SFX_08_3a_Ch2: ; 23998 (8:7998) - executemusic - vibrato 4, 2, 2 - duty 2 - notetype 6, 12, 4 - octave 4 - A_ 4 - notetype 4, 12, 2 - A_ 2 - A_ 2 - A_ 2 - notetype 6, 12, 4 - A# 2 - A# 2 - A# 2 - notetype 6, 12, 4 - A_ 8 - endchannel - - -SFX_08_3a_Ch3: ; 239b0 (8:79b0) - executemusic - notetype 6, 1, 0 - octave 5 - A_ 4 - notetype 4, 1, 0 - F_ 1 - rest 1 - F_ 1 - rest 1 - F_ 1 - rest 1 - notetype 6, 1, 0 - G_ 1 - rest 1 - D# 1 - rest 1 - G_ 1 - rest 1 - A_ 8 - endchannel diff --git a/audio/sfx/sfx_08_3b.asm b/audio/sfx/sfx_08_3b.asm deleted file mode 100755 index cb7c9a52..00000000 --- a/audio/sfx/sfx_08_3b.asm +++ /dev/null @@ -1,69 +0,0 @@ -SFX_08_3b_Ch1: ; 239c7 (8:79c7) - executemusic - tempo 256 - volume 7, 7 - duty 2 - toggleperfectpitch - notetype 5, 11, 4 - octave 4 - D_ 4 - C_ 4 - octave 3 - A_ 8 - notetype 5, 11, 2 - octave 4 - D# 2 - D# 2 - D_ 2 - C_ 2 - C_ 2 - octave 3 - A# 2 - notetype 5, 11, 4 - octave 4 - C_ 8 - endchannel - - -SFX_08_3b_Ch2: ; 239e6 (8:79e6) - executemusic - vibrato 8, 2, 7 - duty 2 - notetype 5, 12, 5 - octave 4 - A_ 4 - F_ 4 - C_ 8 - notetype 5, 12, 2 - A# 2 - A# 2 - A# 2 - G_ 2 - G_ 2 - A# 2 - notetype 5, 12, 4 - A_ 8 - endchannel - - -SFX_08_3b_Ch3: ; 239fe (8:79fe) - executemusic - notetype 5, 1, 0 - octave 5 - F_ 4 - D# 4 - C_ 8 - D# 1 - rest 1 - D# 1 - rest 1 - E_ 1 - rest 1 - F_ 1 - rest 1 - F_ 1 - rest 1 - G_ 1 - rest 1 - A_ 8 - endchannel diff --git a/audio/sfx/sfx_08_3c.asm b/audio/sfx/sfx_08_3c.asm deleted file mode 100755 index 0ac2343c..00000000 --- a/audio/sfx/sfx_08_3c.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_08_3c_Ch1: ; 203dd (8:43dd) - duty 2 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 2 - unknownsfx0x10 34 - unknownsfx0x20 8, 226, 0, 2 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_08_3d.asm b/audio/sfx/sfx_08_3d.asm deleted file mode 100755 index aa9867a1..00000000 --- a/audio/sfx/sfx_08_3d.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_08_3d_Ch1: ; 203ee (8:43ee) - duty 2 - unknownsfx0x10 23 - unknownsfx0x20 15, 240, 240, 4 - unknownsfx0x20 15, 242, 80, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_08_3e.asm b/audio/sfx/sfx_08_3e.asm deleted file mode 100755 index 30aefce4..00000000 --- a/audio/sfx/sfx_08_3e.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_08_3e_Ch1: ; 203fd (8:43fd) - duty 2 - unknownsfx0x10 20 - unknownsfx0x20 4, 242, 0, 6 - unknownsfx0x20 4, 242, 0, 6 - unknownsfx0x10 23 - unknownsfx0x20 15, 242, 0, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_08_3f.asm b/audio/sfx/sfx_08_3f.asm deleted file mode 100755 index 800684d3..00000000 --- a/audio/sfx/sfx_08_3f.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_3f_Ch1: ; 203d6 (8:43d6) - unknownnoise0x20 1, 226, 51 - unknownnoise0x20 8, 225, 34 - endchannel diff --git a/audio/sfx/sfx_08_40.asm b/audio/sfx/sfx_08_40.asm deleted file mode 100755 index 7dfae9a7..00000000 --- a/audio/sfx/sfx_08_40.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_08_40_Ch1: ; 203c3 (8:43c3) - duty 2 - unknownsfx0x20 0, 145, 192, 7 - unknownsfx0x20 0, 129, 208, 7 - unknownsfx0x20 0, 145, 192, 7 - unknownsfx0x20 12, 161, 208, 7 - endchannel diff --git a/audio/sfx/sfx_08_41.asm b/audio/sfx/sfx_08_41.asm deleted file mode 100755 index ef5998cd..00000000 --- a/audio/sfx/sfx_08_41.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_08_41_Ch1: ; 2042d (8:442d) - duty 2 - unknownsfx0x10 47 - unknownsfx0x20 15, 242, 128, 7 - endchannel - - -SFX_08_41_Ch2: ; 20436 (8:4436) - duty 2 - unknownsfx0x20 15, 194, 130, 7 - endchannel diff --git a/audio/sfx/sfx_08_42.asm b/audio/sfx/sfx_08_42.asm deleted file mode 100755 index 247a68f3..00000000 --- a/audio/sfx/sfx_08_42.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_08_42_Ch1: ; 2043d (8:443d) - duty 2 - unknownsfx0x10 22 - unknownsfx0x20 15, 242, 0, 4 - unknownsfx0x10 8 - endchannel - - -SFX_08_42_Ch2: ; 20448 (8:4448) - unknownnoise0x20 15, 162, 34 - endchannel diff --git a/audio/sfx/sfx_08_43.asm b/audio/sfx/sfx_08_43.asm deleted file mode 100755 index 23e3b5f0..00000000 --- a/audio/sfx/sfx_08_43.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_08_43_Ch1: ; 2044c (8:444c) - unknownsfx0x20 15, 209, 0, 2 - unknownsfx0x10 8 - endchannel - - -SFX_08_43_Ch2: ; 20453 (8:4453) - unknownnoise0x20 4, 245, 51 - unknownnoise0x20 8, 244, 34 - unknownnoise0x20 15, 242, 33 - endchannel diff --git a/audio/sfx/sfx_08_44.asm b/audio/sfx/sfx_08_44.asm deleted file mode 100755 index d626f3a1..00000000 --- a/audio/sfx/sfx_08_44.asm +++ /dev/null @@ -1,13 +0,0 @@ -SFX_08_44_Ch1: ; 2045d (8:445d) - unknownnoise0x20 2, 97, 35 - unknownnoise0x20 2, 161, 51 - unknownnoise0x20 2, 193, 51 - unknownnoise0x20 2, 81, 17 - unknownnoise0x20 2, 241, 51 - unknownnoise0x20 2, 65, 17 - unknownnoise0x20 2, 193, 51 - unknownnoise0x20 2, 49, 17 - unknownnoise0x20 2, 129, 51 - unknownnoise0x20 2, 49, 17 - unknownnoise0x20 8, 65, 51 - endchannel diff --git a/audio/sfx/sfx_08_45.asm b/audio/sfx/sfx_08_45.asm deleted file mode 100755 index 00e5a659..00000000 --- a/audio/sfx/sfx_08_45.asm +++ /dev/null @@ -1,15 +0,0 @@ -SFX_08_45_Ch1: ; 2047f (8:447f) - duty 2 - unknownsfx0x10 68 - unknownsfx0x20 15, 240, 240, 4 - unknownsfx0x10 23 - unknownsfx0x20 15, 242, 80, 6 - unknownsfx0x10 8 - endchannel - - -SFX_08_45_Ch2: ; 20490 (8:4490) - duty 2 - unknownsfx0x20 15, 146, 0, 6 - unknownsfx0x20 15, 146, 130, 7 - endchannel diff --git a/audio/sfx/sfx_08_46.asm b/audio/sfx/sfx_08_46.asm deleted file mode 100755 index de64873a..00000000 --- a/audio/sfx/sfx_08_46.asm +++ /dev/null @@ -1,61 +0,0 @@ -SFX_08_46_Ch1: ; 23a13 (8:7a13) - executemusic - tempo 256 - volume 7, 7 - duty 3 - toggleperfectpitch - notetype 6, 11, 2 - octave 3 - E_ 2 - F# 2 - G# 2 - G# 1 - G# 1 - B_ 2 - octave 4 - C# 2 - D# 2 - D# 1 - D# 1 - notetype 6, 11, 5 - E_ 8 - endchannel - - -SFX_08_46_Ch2: ; 23a2e (8:7a2e) - executemusic - duty 2 - notetype 6, 12, 2 - octave 4 - G# 2 - G# 1 - G# 1 - E_ 2 - E_ 1 - E_ 1 - B_ 2 - B_ 1 - B_ 1 - A_ 2 - A_ 1 - A_ 1 - notetype 6, 12, 5 - G# 8 - endchannel - - -SFX_08_46_Ch3: ; 23a44 (8:7a44) - executemusic - notetype 6, 1, 0 - octave 4 - B_ 2 - rest 2 - octave 5 - C# 2 - rest 2 - D# 2 - rest 2 - F# 2 - G_ 2 - G# 4 - endchannel diff --git a/audio/sfx/sfx_08_47.asm b/audio/sfx/sfx_08_47.asm deleted file mode 100755 index 6ca2e38c..00000000 --- a/audio/sfx/sfx_08_47.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_47_Ch1: ; 204aa (8:44aa) - unknownnoise0x20 2, 161, 18 - endchannel diff --git a/audio/sfx/sfx_08_48.asm b/audio/sfx/sfx_08_48.asm deleted file mode 100755 index f974a6f9..00000000 --- a/audio/sfx/sfx_08_48.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_48_Ch1: ; 204ae (8:44ae) - duty 1 - unknownsfx0x10 175 - unknownsfx0x20 15, 242, 128, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_08_49.asm b/audio/sfx/sfx_08_49.asm deleted file mode 100755 index 0d4ef5e7..00000000 --- a/audio/sfx/sfx_08_49.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_49_Ch1: ; 204b9 (8:44b9) - duty 1 - unknownsfx0x10 151 - unknownsfx0x20 15, 242, 0, 5 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_08_4a.asm b/audio/sfx/sfx_08_4a.asm deleted file mode 100755 index d79cef4e..00000000 --- a/audio/sfx/sfx_08_4a.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_4a_Ch1: ; 204c4 (8:44c4) - unknownnoise0x20 2, 161, 34 - endchannel diff --git a/audio/sfx/sfx_08_4b.asm b/audio/sfx/sfx_08_4b.asm deleted file mode 100755 index 5b654931..00000000 --- a/audio/sfx/sfx_08_4b.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_08_4b_Ch1: ; 204c8 (8:44c8) - unknownnoise0x20 8, 241, 84 - endchannel diff --git a/audio/sfx/sfx_08_4c.asm b/audio/sfx/sfx_08_4c.asm deleted file mode 100755 index b80af081..00000000 --- a/audio/sfx/sfx_08_4c.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_08_4c_Ch1: ; 204cc (8:44cc) - unknownnoise0x20 15, 143, 17 - unknownnoise0x20 4, 255, 18 - unknownnoise0x20 10, 241, 85 - endchannel diff --git a/audio/sfx/sfx_08_4d.asm b/audio/sfx/sfx_08_4d.asm deleted file mode 100755 index 3dc43ae0..00000000 --- a/audio/sfx/sfx_08_4d.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_08_4d_Ch1: ; 204d6 (8:44d6) - unknownnoise0x20 15, 143, 52 - unknownnoise0x20 8, 242, 53 - unknownnoise0x20 10, 241, 85 - endchannel diff --git a/audio/sfx/sfx_08_4e.asm b/audio/sfx/sfx_08_4e.asm deleted file mode 100755 index db621af9..00000000 --- a/audio/sfx/sfx_08_4e.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_4e_Ch1: ; 204e0 (8:44e0) - unknownnoise0x20 15, 159, 35 - unknownnoise0x20 8, 241, 33 - endchannel diff --git a/audio/sfx/sfx_08_4f.asm b/audio/sfx/sfx_08_4f.asm deleted file mode 100755 index 74337020..00000000 --- a/audio/sfx/sfx_08_4f.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_4f_Ch1: ; 204e7 (8:44e7) - unknownnoise0x20 2, 225, 75 - unknownnoise0x20 10, 241, 68 - unknownnoise0x20 2, 225, 58 - unknownnoise0x20 6, 241, 52 - endchannel diff --git a/audio/sfx/sfx_08_50.asm b/audio/sfx/sfx_08_50.asm deleted file mode 100755 index ae3f9974..00000000 --- a/audio/sfx/sfx_08_50.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_08_50_Ch1: ; 204f4 (8:44f4) - unknownnoise0x20 2, 244, 68 - unknownnoise0x20 2, 244, 20 - unknownnoise0x20 15, 241, 50 - endchannel diff --git a/audio/sfx/sfx_08_51.asm b/audio/sfx/sfx_08_51.asm deleted file mode 100755 index bd4f3b24..00000000 --- a/audio/sfx/sfx_08_51.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_51_Ch1: ; 204fe (8:44fe) - unknownnoise0x20 4, 143, 85 - unknownnoise0x20 2, 244, 68 - unknownnoise0x20 8, 244, 34 - unknownnoise0x20 15, 242, 33 - endchannel diff --git a/audio/sfx/sfx_08_52.asm b/audio/sfx/sfx_08_52.asm deleted file mode 100755 index 9bf7c91d..00000000 --- a/audio/sfx/sfx_08_52.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_52_Ch1: ; 2050b (8:450b) - unknownnoise0x20 8, 79, 35 - unknownnoise0x20 4, 196, 34 - unknownnoise0x20 6, 242, 35 - loopchannel 4, SFX_08_52_Ch1 - endchannel diff --git a/audio/sfx/sfx_08_53.asm b/audio/sfx/sfx_08_53.asm deleted file mode 100755 index c61465e9..00000000 --- a/audio/sfx/sfx_08_53.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_53_Ch1: ; 20519 (8:4519) - unknownnoise0x20 8, 79, 51 - unknownnoise0x20 4, 196, 34 - unknownnoise0x20 6, 242, 35 - unknownnoise0x20 15, 242, 34 - endchannel diff --git a/audio/sfx/sfx_08_54.asm b/audio/sfx/sfx_08_54.asm deleted file mode 100755 index 25a2c4fd..00000000 --- a/audio/sfx/sfx_08_54.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_54_Ch1: ; 20526 (8:4526) - unknownnoise0x20 8, 255, 50 - unknownnoise0x20 8, 244, 67 - unknownnoise0x20 8, 242, 84 - unknownnoise0x20 8, 241, 101 - endchannel diff --git a/audio/sfx/sfx_08_55.asm b/audio/sfx/sfx_08_55.asm deleted file mode 100755 index caecb7ce..00000000 --- a/audio/sfx/sfx_08_55.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_08_55_Ch1: ; 20533 (8:4533) - unknownnoise0x20 1, 194, 51 - unknownnoise0x20 2, 242, 33 - unknownnoise0x20 1, 226, 51 - unknownnoise0x20 1, 194, 50 - unknownnoise0x20 1, 146, 18 - unknownnoise0x20 1, 178, 49 - unknownnoise0x20 12, 145, 16 - unknownnoise0x20 8, 242, 65 - endchannel diff --git a/audio/sfx/sfx_08_56.asm b/audio/sfx/sfx_08_56.asm deleted file mode 100755 index d5653379..00000000 --- a/audio/sfx/sfx_08_56.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_08_56_Ch1: ; 2054c (8:454c) - unknownnoise0x20 1, 148, 35 - unknownnoise0x20 1, 180, 34 - unknownnoise0x20 8, 241, 68 - endchannel diff --git a/audio/sfx/sfx_08_57.asm b/audio/sfx/sfx_08_57.asm deleted file mode 100755 index 40e0ea8f..00000000 --- a/audio/sfx/sfx_08_57.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_57_Ch1: ; 20556 (8:4556) - unknownnoise0x20 2, 148, 51 - unknownnoise0x20 4, 180, 34 - unknownnoise0x20 4, 241, 68 - unknownnoise0x20 8, 241, 85 - endchannel diff --git a/audio/sfx/sfx_08_58.asm b/audio/sfx/sfx_08_58.asm deleted file mode 100755 index 3cb23fb0..00000000 --- a/audio/sfx/sfx_08_58.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_58_Ch1: ; 20563 (8:4563) - unknownnoise0x20 4, 255, 85 - unknownnoise0x20 8, 241, 101 - endchannel diff --git a/audio/sfx/sfx_08_59.asm b/audio/sfx/sfx_08_59.asm deleted file mode 100755 index c42f6127..00000000 --- a/audio/sfx/sfx_08_59.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_08_59_Ch1: ; 2056a (8:456a) - unknownnoise0x20 2, 132, 67 - unknownnoise0x20 2, 196, 34 - unknownnoise0x20 8, 242, 52 - endchannel diff --git a/audio/sfx/sfx_08_5a.asm b/audio/sfx/sfx_08_5a.asm deleted file mode 100755 index 282fea80..00000000 --- a/audio/sfx/sfx_08_5a.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_5a_Ch1: ; 20574 (8:4574) - unknownnoise0x20 4, 241, 52 - unknownnoise0x20 15, 242, 100 - endchannel diff --git a/audio/sfx/sfx_08_5b.asm b/audio/sfx/sfx_08_5b.asm deleted file mode 100755 index 7bf3e2c8..00000000 --- a/audio/sfx/sfx_08_5b.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_5b_Ch1: ; 2057b (8:457b) - unknownnoise0x20 2, 241, 34 - unknownnoise0x20 15, 242, 18 - endchannel diff --git a/audio/sfx/sfx_08_5c.asm b/audio/sfx/sfx_08_5c.asm deleted file mode 100755 index 25618291..00000000 --- a/audio/sfx/sfx_08_5c.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_08_5c_Ch1: ; 20582 (8:4582) - unknownnoise0x20 2, 194, 1 - unknownnoise0x20 15, 244, 1 - unknownnoise0x20 15, 242, 1 - endchannel diff --git a/audio/sfx/sfx_08_5d.asm b/audio/sfx/sfx_08_5d.asm deleted file mode 100755 index 9bd39269..00000000 --- a/audio/sfx/sfx_08_5d.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_5d_Ch1: ; 2058c (8:458c) - unknownnoise0x20 8, 241, 50 - unknownnoise0x20 8, 241, 51 - endchannel diff --git a/audio/sfx/sfx_08_5e.asm b/audio/sfx/sfx_08_5e.asm deleted file mode 100755 index a765d263..00000000 --- a/audio/sfx/sfx_08_5e.asm +++ /dev/null @@ -1,16 +0,0 @@ -SFX_08_5e_Ch1: ; 20593 (8:4593) - duty 0 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 2 - unknownsfx0x10 34 - unknownsfx0x20 8, 226, 0, 2 - unknownsfx0x10 8 - endchannel - - -SFX_08_5e_Ch2: ; 205a4 (8:45a4) - unknownnoise0x20 0, 209, 66 - unknownnoise0x20 4, 161, 50 - unknownnoise0x20 0, 209, 34 - unknownnoise0x20 6, 161, 50 - endchannel diff --git a/audio/sfx/sfx_08_5f.asm b/audio/sfx/sfx_08_5f.asm deleted file mode 100755 index 0cb02ba3..00000000 --- a/audio/sfx/sfx_08_5f.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_08_5f_Ch1: ; 205b1 (8:45b1) - unknownnoise0x20 3, 146, 49 - unknownnoise0x20 3, 178, 50 - unknownnoise0x20 3, 194, 51 - unknownnoise0x20 8, 241, 84 - endchannel diff --git a/audio/sfx/sfx_08_60.asm b/audio/sfx/sfx_08_60.asm deleted file mode 100755 index 7aa37833..00000000 --- a/audio/sfx/sfx_08_60.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_60_Ch1: ; 205be (8:45be) - unknownnoise0x20 12, 241, 84 - unknownnoise0x20 8, 241, 100 - endchannel diff --git a/audio/sfx/sfx_08_61.asm b/audio/sfx/sfx_08_61.asm deleted file mode 100755 index 343a5c0c..00000000 --- a/audio/sfx/sfx_08_61.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_08_61_Ch1: ; 205c5 (8:45c5) - unknownnoise0x20 2, 241, 51 - unknownnoise0x20 2, 193, 50 - unknownnoise0x20 2, 161, 49 - unknownnoise0x20 15, 130, 50 - unknownnoise0x20 8, 241, 52 - endchannel diff --git a/audio/sfx/sfx_08_62.asm b/audio/sfx/sfx_08_62.asm deleted file mode 100755 index a7cfed2d..00000000 --- a/audio/sfx/sfx_08_62.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_08_62_Ch1: ; 205d5 (8:45d5) - unknownnoise0x20 2, 210, 50 - unknownnoise0x20 15, 242, 67 - endchannel diff --git a/audio/sfx/sfx_08_63.asm b/audio/sfx/sfx_08_63.asm deleted file mode 100755 index 432d088c..00000000 --- a/audio/sfx/sfx_08_63.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_08_63_Ch1: ; 205dc (8:45dc) - unknownnoise0x20 2, 242, 67 - unknownnoise0x20 4, 181, 50 - unknownnoise0x20 9, 134, 49 - unknownnoise0x20 7, 100, 0 - unknownnoise0x20 15, 242, 85 - endchannel diff --git a/audio/sfx/sfx_08_64.asm b/audio/sfx/sfx_08_64.asm deleted file mode 100755 index c34d64ce..00000000 --- a/audio/sfx/sfx_08_64.asm +++ /dev/null @@ -1,12 +0,0 @@ -SFX_08_64_Ch1: ; 205ec (8:45ec) - duty 1 - unknownsfx0x10 151 - unknownsfx0x20 15, 242, 0, 7 - unknownsfx0x10 8 - endchannel - - -SFX_08_64_Ch2: ; 205f7 (8:45f7) - unknownnoise0x20 15, 63, 34 - unknownnoise0x20 15, 242, 33 - endchannel diff --git a/audio/sfx/sfx_08_65.asm b/audio/sfx/sfx_08_65.asm deleted file mode 100755 index a92539c3..00000000 --- a/audio/sfx/sfx_08_65.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_08_65_Ch1: ; 205fe (8:45fe) - unknownnoise0x20 15, 79, 65 - unknownnoise0x20 8, 143, 65 - unknownnoise0x20 8, 207, 65 - unknownnoise0x20 8, 242, 66 - unknownnoise0x20 15, 242, 65 - endchannel diff --git a/audio/sfx/sfx_08_66.asm b/audio/sfx/sfx_08_66.asm deleted file mode 100755 index d72b0349..00000000 --- a/audio/sfx/sfx_08_66.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_08_66_Ch1: ; 2060e (8:460e) - unknownnoise0x20 10, 255, 80 - unknownnoise0x20 15, 255, 81 - unknownnoise0x20 8, 242, 81 - unknownnoise0x20 6, 255, 82 - unknownnoise0x20 6, 255, 83 - unknownnoise0x20 8, 255, 84 - unknownnoise0x20 15, 242, 84 - endchannel diff --git a/audio/sfx/sfx_08_67.asm b/audio/sfx/sfx_08_67.asm deleted file mode 100755 index 6e94addf..00000000 --- a/audio/sfx/sfx_08_67.asm +++ /dev/null @@ -1,27 +0,0 @@ -SFX_08_67_Ch1: ; 20624 (8:4624) - duty 2 - unknownsfx0x20 15, 63, 192, 7 - -SFX_08_67_branch_2062a: - unknownsfx0x20 15, 223, 192, 7 - loopchannel 4, SFX_08_67_branch_2062a - unknownsfx0x20 15, 209, 192, 7 - endchannel - - -SFX_08_67_Ch2: ; 20637 (8:4637) - dutycycle 179 - unknownsfx0x20 15, 47, 200, 7 - -SFX_08_67_branch_2063d: - unknownsfx0x20 15, 207, 199, 7 - loopchannel 4, SFX_08_67_branch_2063d - unknownsfx0x20 15, 193, 200, 7 - endchannel - - -SFX_08_67_Ch3: ; 2064a (8:464a) - unknownnoise0x20 3, 151, 18 - unknownnoise0x20 3, 161, 17 - loopchannel 10, SFX_08_67_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_68.asm b/audio/sfx/sfx_08_68.asm deleted file mode 100755 index 691b9b1f..00000000 --- a/audio/sfx/sfx_08_68.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_68_Ch1: ; 20655 (8:4655) - duty 0 - unknownsfx0x20 0, 241, 192, 7 - unknownsfx0x20 0, 241, 0, 7 - loopchannel 12, SFX_08_68_Ch1 - endchannel - - -SFX_08_68_Ch2: ; 20664 (8:4664) - dutycycle 179 - unknownsfx0x20 0, 225, 193, 7 - unknownsfx0x20 0, 225, 1, 7 - loopchannel 12, SFX_08_68_Ch2 - endchannel - - -SFX_08_68_Ch3: ; 20673 (8:4673) - unknownnoise0x20 1, 209, 73 - unknownnoise0x20 1, 209, 41 - loopchannel 6, SFX_08_68_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_69.asm b/audio/sfx/sfx_08_69.asm deleted file mode 100755 index f202a156..00000000 --- a/audio/sfx/sfx_08_69.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_08_69_Ch1: ; 2067e (8:467e) - dutycycle 201 - unknownsfx0x20 11, 243, 32, 1 - unknownsfx0x20 9, 211, 80, 1 - loopchannel 5, SFX_08_69_Ch1 - unknownsfx0x20 8, 227, 48, 1 - unknownsfx0x20 15, 194, 16, 1 - endchannel - - -SFX_08_69_Ch2: ; 20695 (8:4695) - unknownnoise0x20 10, 243, 53 - unknownnoise0x20 14, 246, 69 - loopchannel 4, SFX_08_69_Ch2 - unknownnoise0x20 12, 244, 188 - unknownnoise0x20 12, 245, 156 - unknownnoise0x20 15, 244, 172 - endchannel diff --git a/audio/sfx/sfx_08_6a.asm b/audio/sfx/sfx_08_6a.asm deleted file mode 100755 index 3076956a..00000000 --- a/audio/sfx/sfx_08_6a.asm +++ /dev/null @@ -1,28 +0,0 @@ -SFX_08_6a_Ch1: ; 206a9 (8:46a9) - dutycycle 57 - unknownsfx0x20 4, 244, 0, 6 - unknownsfx0x20 3, 196, 0, 5 - unknownsfx0x20 5, 181, 0, 6 - unknownsfx0x20 13, 226, 192, 6 - loopchannel 3, SFX_08_6a_Ch1 - unknownsfx0x20 8, 209, 0, 6 - endchannel - - -SFX_08_6a_Ch2: ; 206c4 (8:46c4) - dutycycle 141 - unknownsfx0x20 5, 228, 224, 5 - unknownsfx0x20 4, 180, 224, 4 - unknownsfx0x20 6, 165, 232, 5 - unknownsfx0x20 14, 209, 160, 6 - loopchannel 3, SFX_08_6a_Ch2 - endchannel - - -SFX_08_6a_Ch3: ; 206db (8:46db) - unknownnoise0x20 5, 195, 51 - unknownnoise0x20 3, 146, 67 - unknownnoise0x20 10, 181, 51 - unknownnoise0x20 15, 195, 50 - loopchannel 2, SFX_08_6a_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_6b.asm b/audio/sfx/sfx_08_6b.asm deleted file mode 100755 index 60783be6..00000000 --- a/audio/sfx/sfx_08_6b.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_6b_Ch1: ; 206ec (8:46ec) - dutycycle 210 - unknownsfx0x20 3, 129, 0, 3 - unknownsfx0x20 3, 193, 0, 4 - unknownsfx0x20 3, 241, 0, 5 - unknownsfx0x20 3, 177, 0, 4 - unknownsfx0x20 3, 113, 0, 3 - loopchannel 5, SFX_08_6b_Ch1 - unknownsfx0x20 8, 129, 0, 4 - endchannel - - -SFX_08_6b_Ch2: ; 2070b (8:470b) - unknownnoise0x20 3, 98, 34 - unknownnoise0x20 3, 162, 50 - unknownnoise0x20 3, 210, 51 - unknownnoise0x20 3, 146, 35 - unknownnoise0x20 3, 82, 18 - loopchannel 5, SFX_08_6b_Ch2 - unknownnoise0x20 8, 129, 18 - endchannel diff --git a/audio/sfx/sfx_08_6c.asm b/audio/sfx/sfx_08_6c.asm deleted file mode 100755 index cf83608d..00000000 --- a/audio/sfx/sfx_08_6c.asm +++ /dev/null @@ -1,25 +0,0 @@ -SFX_08_6c_Ch1: ; 20722 (8:4722) - dutycycle 57 - unknownsfx0x20 15, 244, 0, 5 - unknownsfx0x20 15, 196, 0, 4 - unknownsfx0x20 15, 226, 192, 5 - loopchannel 3, SFX_08_6c_Ch1 - endchannel - - -SFX_08_6c_Ch2: ; 20735 (8:4735) - dutycycle 141 - unknownsfx0x20 7, 228, 48, 4 - unknownsfx0x20 15, 180, 48, 3 - unknownsfx0x20 15, 162, 56, 4 - loopchannel 4, SFX_08_6c_Ch2 - endchannel - - -SFX_08_6c_Ch3: ; 20748 (8:4748) - unknownnoise0x20 9, 244, 68 - unknownnoise0x20 9, 242, 67 - unknownnoise0x20 15, 244, 66 - unknownnoise0x20 15, 244, 65 - loopchannel 3, SFX_08_6c_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_6d.asm b/audio/sfx/sfx_08_6d.asm deleted file mode 100755 index 6971a30e..00000000 --- a/audio/sfx/sfx_08_6d.asm +++ /dev/null @@ -1,25 +0,0 @@ -SFX_08_6d_Ch1: ; 20759 (8:4759) - dutycycle 161 - unknownsfx0x20 10, 241, 64, 6 - unknownsfx0x20 10, 243, 128, 6 - unknownsfx0x20 10, 242, 32, 6 - loopchannel 4, SFX_08_6d_Ch1 - unknownsfx0x20 10, 241, 64, 6 - endchannel - - -SFX_08_6d_Ch2: ; 20770 (8:4770) - dutycycle 179 - unknownsfx0x20 10, 243, 113, 5 - unknownsfx0x20 7, 227, 49, 5 - unknownsfx0x20 10, 241, 81, 5 - loopchannel 4, SFX_08_6d_Ch2 - unknownsfx0x20 10, 241, 113, 5 - endchannel - - -SFX_08_6d_Ch3: ; 20787 (8:4787) - unknownnoise0x20 2, 209, 74 - unknownnoise0x20 2, 210, 42 - loopchannel 21, SFX_08_6d_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_6e.asm b/audio/sfx/sfx_08_6e.asm deleted file mode 100755 index 00b2c148..00000000 --- a/audio/sfx/sfx_08_6e.asm +++ /dev/null @@ -1,27 +0,0 @@ -SFX_08_6e_Ch1: ; 20792 (8:4792) - duty 0 - unknownsfx0x20 2, 241, 0, 2 - unknownsfx0x20 3, 241, 0, 7 - unknownsfx0x20 4, 241, 0, 5 - unknownsfx0x20 5, 241, 240, 7 - loopchannel 8, SFX_08_6e_Ch1 - endchannel - - -SFX_08_6e_Ch2: ; 207a9 (8:47a9) - dutycycle 179 - unknownsfx0x20 2, 225, 2, 3 - unknownsfx0x20 3, 225, 242, 7 - unknownsfx0x20 4, 225, 2, 6 - unknownsfx0x20 5, 225, 2, 7 - loopchannel 8, SFX_08_6e_Ch2 - endchannel - - -SFX_08_6e_Ch3: ; 207c0 (8:47c0) - unknownnoise0x20 2, 211, 16 - unknownnoise0x20 3, 211, 17 - unknownnoise0x20 2, 210, 16 - unknownnoise0x20 5, 210, 18 - loopchannel 9, SFX_08_6e_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_6f.asm b/audio/sfx/sfx_08_6f.asm deleted file mode 100755 index 69b85d33..00000000 --- a/audio/sfx/sfx_08_6f.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_08_6f_Ch1: ; 207d1 (8:47d1) - dutycycle 43 - unknownsfx0x20 3, 241, 240, 7 - unknownsfx0x20 4, 242, 0, 2 - loopchannel 8, SFX_08_6f_Ch1 - endchannel - - -SFX_08_6f_Ch2: ; 207e0 (8:47e0) - dutycycle 179 - unknownsfx0x20 4, 226, 2, 2 - unknownsfx0x20 4, 225, 226, 7 - loopchannel 9, SFX_08_6f_Ch2 - endchannel - - -SFX_08_6f_Ch3: ; 207ef (8:47ef) - unknownnoise0x20 4, 255, 67 - unknownnoise0x20 4, 242, 68 - loopchannel 9, SFX_08_6f_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_70.asm b/audio/sfx/sfx_08_70.asm deleted file mode 100755 index 7a07b340..00000000 --- a/audio/sfx/sfx_08_70.asm +++ /dev/null @@ -1,32 +0,0 @@ -SFX_08_70_Ch1: ; 207fa (8:47fa) - duty 2 - unknownsfx0x10 247 - unknownsfx0x20 8, 196, 189, 7 - unknownsfx0x20 8, 196, 190, 7 - unknownsfx0x20 8, 196, 191, 7 - unknownsfx0x20 8, 196, 192, 7 - unknownsfx0x20 15, 196, 193, 7 - unknownsfx0x20 15, 242, 192, 7 - unknownsfx0x10 8 - endchannel - - -SFX_08_70_Ch2: ; 20819 (8:4819) - duty 2 - unknownsfx0x20 8, 196, 112, 7 - unknownsfx0x20 8, 196, 97, 7 - unknownsfx0x20 8, 196, 98, 7 - unknownsfx0x20 8, 196, 99, 7 - unknownsfx0x20 15, 196, 100, 7 - unknownsfx0x20 15, 242, 100, 7 - endchannel - - -SFX_08_70_Ch3: ; 20834 (8:4834) - unknownnoise0x20 15, 63, 20 - unknownnoise0x20 15, 207, 19 - unknownnoise0x20 15, 207, 18 - unknownnoise0x20 15, 207, 17 - unknownnoise0x20 15, 207, 16 - unknownnoise0x20 15, 194, 16 - endchannel diff --git a/audio/sfx/sfx_08_71.asm b/audio/sfx/sfx_08_71.asm deleted file mode 100755 index 7b306557..00000000 --- a/audio/sfx/sfx_08_71.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_08_71_Ch1: ; 20847 (8:4847) - duty 2 - unknownsfx0x20 15, 255, 224, 7 - unknownsfx0x20 15, 255, 224, 7 - unknownsfx0x20 15, 255, 224, 7 - unknownsfx0x20 15, 255, 224, 7 - unknownsfx0x20 15, 242, 224, 7 - endchannel - - -SFX_08_71_Ch2: ; 2085e (8:485e) - duty 3 - unknownsfx0x20 15, 255, 226, 7 - unknownsfx0x20 15, 255, 225, 7 - unknownsfx0x20 15, 255, 226, 7 - unknownsfx0x20 15, 255, 225, 7 - unknownsfx0x20 15, 242, 226, 7 - endchannel diff --git a/audio/sfx/sfx_08_72.asm b/audio/sfx/sfx_08_72.asm deleted file mode 100755 index 13000d01..00000000 --- a/audio/sfx/sfx_08_72.asm +++ /dev/null @@ -1,12 +0,0 @@ -SFX_08_72_Ch1: ; 20875 (8:4875) - duty 2 - unknownsfx0x10 175 - unknownsfx0x20 8, 241, 0, 7 - unknownsfx0x10 8 - endchannel - - -SFX_08_72_Ch2: ; 20880 (8:4880) - duty 3 - unknownsfx0x20 8, 241, 1, 7 - endchannel diff --git a/audio/sfx/sfx_08_73.asm b/audio/sfx/sfx_08_73.asm deleted file mode 100755 index 7829fbcd..00000000 --- a/audio/sfx/sfx_08_73.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_08_73_Ch1: ; 20887 (8:4887) - duty 2 - unknownsfx0x20 6, 241, 0, 5 - unknownsfx0x20 6, 241, 128, 5 - unknownsfx0x20 6, 241, 0, 6 - unknownsfx0x20 6, 241, 128, 6 - unknownsfx0x20 8, 241, 0, 7 - endchannel - - -SFX_08_73_Ch2: ; 2089e (8:489e) - duty 3 - unknownsfx0x20 6, 225, 16, 5 - unknownsfx0x20 6, 225, 144, 5 - unknownsfx0x20 6, 225, 16, 6 - unknownsfx0x20 6, 225, 144, 6 - unknownsfx0x20 8, 225, 16, 7 - endchannel diff --git a/audio/sfx/sfx_08_74.asm b/audio/sfx/sfx_08_74.asm deleted file mode 100755 index f8144908..00000000 --- a/audio/sfx/sfx_08_74.asm +++ /dev/null @@ -1,22 +0,0 @@ -SFX_08_74_Ch1: ; 208b5 (8:48b5) - dutycycle 237 - unknownsfx0x20 8, 255, 248, 3 - unknownsfx0x20 15, 255, 0, 4 - unknownsfx0x20 15, 243, 0, 4 - endchannel - - -SFX_08_74_Ch2: ; 208c4 (8:48c4) - dutycycle 180 - unknownsfx0x20 8, 239, 192, 3 - unknownsfx0x20 15, 239, 192, 3 - unknownsfx0x20 15, 227, 192, 3 - endchannel - - -SFX_08_74_Ch3: ; 208d3 (8:48d3) - unknownnoise0x20 4, 255, 81 - unknownnoise0x20 8, 255, 84 - unknownnoise0x20 15, 255, 85 - unknownnoise0x20 15, 243, 86 - endchannel diff --git a/audio/sfx/sfx_08_75.asm b/audio/sfx/sfx_08_75.asm deleted file mode 100755 index cda1c65f..00000000 --- a/audio/sfx/sfx_08_75.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_08_75_Ch1: ; 208e0 (8:48e0) - executemusic - vibrato 10, 2, 4 - duty 2 - notetype 10, 8, 7 - octave 5 - G# 8 - octave 6 - F# 4 - E_ 4 - octave 5 - G# 8 - endchannel - - -SFX_08_75_Ch2: ; 208f0 (8:48f0) - executemusic - vibrato 10, 2, 3 - duty 2 - notetype 11, 6, 7 - octave 5 - G# 8 - notetype 10, 6, 7 - octave 6 - F# 4 - E_ 4 - octave 5 - G# 8 - endchannel diff --git a/audio/sfx/sfx_08_76.asm b/audio/sfx/sfx_08_76.asm deleted file mode 100755 index b60e51aa..00000000 --- a/audio/sfx/sfx_08_76.asm +++ /dev/null @@ -1,47 +0,0 @@ -SFX_08_76_Ch1: ; 20902 (8:4902) - duty 0 - unknownsfx0x20 2, 241, 128, 7 - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 2, 241, 144, 7 - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 2, 241, 160, 7 - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 2, 241, 176, 7 - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 2, 241, 192, 7 - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 2, 241, 208, 7 - -SFX_08_76_branch_20930: - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 2, 241, 224, 7 - loopchannel 12, SFX_08_76_branch_20930 - unknownsfx0x20 15, 241, 0, 7 - endchannel - - -SFX_08_76_Ch2: ; 20941 (8:4941) - dutycycle 179 - unknownsfx0x20 2, 241, 129, 7 - unknownsfx0x20 2, 241, 1, 7 - unknownsfx0x20 2, 241, 145, 7 - unknownsfx0x20 2, 241, 1, 7 - unknownsfx0x20 2, 241, 161, 7 - unknownsfx0x20 2, 241, 1, 7 - unknownsfx0x20 2, 241, 177, 7 - unknownsfx0x20 2, 241, 1, 7 - unknownsfx0x20 2, 241, 193, 7 - unknownsfx0x20 2, 241, 1, 7 - unknownsfx0x20 2, 241, 209, 7 - unknownsfx0x20 2, 241, 1, 7 - unknownsfx0x20 2, 241, 225, 7 - loopchannel 12, SFX_08_76_branch_20930 - unknownsfx0x20 15, 241, 1, 7 - endchannel - - -SFX_08_76_Ch3: ; 20980 (8:4980) - unknownnoise0x20 1, 209, 73 - unknownnoise0x20 1, 209, 41 - loopchannel 26, SFX_08_76_Ch3 - endchannel diff --git a/audio/sfx/sfx_08_77.asm b/audio/sfx/sfx_08_77.asm deleted file mode 100755 index 840a0ea5..00000000 --- a/audio/sfx/sfx_08_77.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_08_77_Ch1: ; 20412 (8:4412) - duty 0 - unknownsfx0x20 0, 210, 0, 7 - unknownsfx0x20 0, 210, 64, 7 - unknownsfx0x20 0, 210, 128, 7 - unknownsfx0x20 0, 210, 192, 7 - unknownsfx0x20 10, 225, 224, 7 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_01.asm b/audio/sfx/sfx_1f_01.asm deleted file mode 100755 index bd3a2efe..00000000 --- a/audio/sfx/sfx_1f_01.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_01_Ch1: ; 7c2fd (1f:42fd) - unknownnoise0x20 0, 193, 51 - endchannel diff --git a/audio/sfx/sfx_1f_02.asm b/audio/sfx/sfx_1f_02.asm deleted file mode 100755 index 9ee8923b..00000000 --- a/audio/sfx/sfx_1f_02.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_02_Ch1: ; 7c301 (1f:4301) - unknownnoise0x20 0, 177, 51 - endchannel diff --git a/audio/sfx/sfx_1f_03.asm b/audio/sfx/sfx_1f_03.asm deleted file mode 100755 index 55d249a7..00000000 --- a/audio/sfx/sfx_1f_03.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_03_Ch1: ; 7c305 (1f:4305) - unknownnoise0x20 0, 161, 51 - endchannel diff --git a/audio/sfx/sfx_1f_04.asm b/audio/sfx/sfx_1f_04.asm deleted file mode 100755 index 8906de66..00000000 --- a/audio/sfx/sfx_1f_04.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_04_Ch1: ; 7c309 (1f:4309) - unknownnoise0x20 0, 129, 51 - endchannel diff --git a/audio/sfx/sfx_1f_05.asm b/audio/sfx/sfx_1f_05.asm deleted file mode 100755 index 9c0e679b..00000000 --- a/audio/sfx/sfx_1f_05.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_1f_05_Ch1: ; 7c30d (1f:430d) - unknownnoise0x20 7, 132, 55 - unknownnoise0x20 6, 132, 54 - unknownnoise0x20 5, 131, 53 - unknownnoise0x20 4, 131, 52 - unknownnoise0x20 3, 130, 51 - unknownnoise0x20 2, 129, 50 - endchannel diff --git a/audio/sfx/sfx_1f_06.asm b/audio/sfx/sfx_1f_06.asm deleted file mode 100755 index 429f18ff..00000000 --- a/audio/sfx/sfx_1f_06.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_06_Ch1: ; 7c320 (1f:4320) - unknownnoise0x20 0, 81, 42 - endchannel diff --git a/audio/sfx/sfx_1f_07.asm b/audio/sfx/sfx_1f_07.asm deleted file mode 100755 index 1dd80c9e..00000000 --- a/audio/sfx/sfx_1f_07.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_1f_07_Ch1: ; 7c324 (1f:4324) - unknownnoise0x20 1, 65, 43 - unknownnoise0x20 0, 97, 42 - endchannel diff --git a/audio/sfx/sfx_1f_08.asm b/audio/sfx/sfx_1f_08.asm deleted file mode 100755 index f741bdf1..00000000 --- a/audio/sfx/sfx_1f_08.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_08_Ch1: ; 7c32b (1f:432b) - unknownnoise0x20 0, 129, 16 - endchannel diff --git a/audio/sfx/sfx_1f_09.asm b/audio/sfx/sfx_1f_09.asm deleted file mode 100755 index 73ed88fa..00000000 --- a/audio/sfx/sfx_1f_09.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_09_Ch1: ; 7c32f (1f:432f) - unknownnoise0x20 0, 130, 35 - endchannel diff --git a/audio/sfx/sfx_1f_0a.asm b/audio/sfx/sfx_1f_0a.asm deleted file mode 100755 index fb2f620f..00000000 --- a/audio/sfx/sfx_1f_0a.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_0a_Ch1: ; 7c333 (1f:4333) - unknownnoise0x20 0, 130, 37 - endchannel diff --git a/audio/sfx/sfx_1f_0b.asm b/audio/sfx/sfx_1f_0b.asm deleted file mode 100755 index 46adb73d..00000000 --- a/audio/sfx/sfx_1f_0b.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_0b_Ch1: ; 7c337 (1f:4337) - unknownnoise0x20 0, 130, 38 - endchannel diff --git a/audio/sfx/sfx_1f_0c.asm b/audio/sfx/sfx_1f_0c.asm deleted file mode 100755 index bd3fb373..00000000 --- a/audio/sfx/sfx_1f_0c.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_0c_Ch1: ; 7c33b (1f:433b) - unknownnoise0x20 0, 161, 16 - endchannel diff --git a/audio/sfx/sfx_1f_0d.asm b/audio/sfx/sfx_1f_0d.asm deleted file mode 100755 index 2f48df5b..00000000 --- a/audio/sfx/sfx_1f_0d.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_0d_Ch1: ; 7c33f (1f:433f) - unknownnoise0x20 0, 162, 17 - endchannel diff --git a/audio/sfx/sfx_1f_0e.asm b/audio/sfx/sfx_1f_0e.asm deleted file mode 100755 index 88ba9d30..00000000 --- a/audio/sfx/sfx_1f_0e.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_0e_Ch1: ; 7c343 (1f:4343) - unknownnoise0x20 0, 162, 80 - endchannel diff --git a/audio/sfx/sfx_1f_0f.asm b/audio/sfx/sfx_1f_0f.asm deleted file mode 100755 index e314bae2..00000000 --- a/audio/sfx/sfx_1f_0f.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_1f_0f_Ch1: ; 7c347 (1f:4347) - unknownnoise0x20 0, 161, 24 - unknownnoise0x20 0, 49, 51 - endchannel diff --git a/audio/sfx/sfx_1f_10.asm b/audio/sfx/sfx_1f_10.asm deleted file mode 100755 index 7c22724d..00000000 --- a/audio/sfx/sfx_1f_10.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_1f_10_Ch1: ; 7c34e (1f:434e) - unknownnoise0x20 2, 145, 40 - unknownnoise0x20 0, 113, 24 - endchannel diff --git a/audio/sfx/sfx_1f_11.asm b/audio/sfx/sfx_1f_11.asm deleted file mode 100755 index b36fd06b..00000000 --- a/audio/sfx/sfx_1f_11.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_11_Ch1: ; 7c355 (1f:4355) - unknownnoise0x20 0, 145, 34 - endchannel diff --git a/audio/sfx/sfx_1f_12.asm b/audio/sfx/sfx_1f_12.asm deleted file mode 100755 index 21913c25..00000000 --- a/audio/sfx/sfx_1f_12.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_12_Ch1: ; 7c359 (1f:4359) - unknownnoise0x20 0, 113, 34 - endchannel diff --git a/audio/sfx/sfx_1f_13.asm b/audio/sfx/sfx_1f_13.asm deleted file mode 100755 index d9294eaa..00000000 --- a/audio/sfx/sfx_1f_13.asm +++ /dev/null @@ -1,3 +0,0 @@ -SFX_1f_13_Ch1: ; 7c35d (1f:435d) - unknownnoise0x20 0, 97, 34 - endchannel diff --git a/audio/sfx/sfx_1f_14.asm b/audio/sfx/sfx_1f_14.asm deleted file mode 100755 index 4f52b842..00000000 --- a/audio/sfx/sfx_1f_14.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_1f_14_Ch1: ; 7c9fc (1f:49fc) - dutycycle 245 - unknownsfx0x20 4, 243, 24, 7 - unknownsfx0x20 15, 229, 152, 7 - unknownsfx0x20 8, 145, 88, 7 - endchannel - - -SFX_1f_14_Ch2: ; 7ca0b (1f:4a0b) - dutycycle 160 - unknownsfx0x20 5, 179, 8, 7 - unknownsfx0x20 15, 197, 136, 7 - unknownsfx0x20 8, 113, 72, 7 - endchannel - - -SFX_1f_14_Ch3: ; 7ca1a (1f:4a1a) - unknownnoise0x20 3, 161, 28 - unknownnoise0x20 14, 148, 44 - unknownnoise0x20 8, 129, 28 - endchannel diff --git a/audio/sfx/sfx_1f_15.asm b/audio/sfx/sfx_1f_15.asm deleted file mode 100755 index 0f16cb0e..00000000 --- a/audio/sfx/sfx_1f_15.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_1f_15_Ch1: ; 7cc0c (1f:4c0c) - dutycycle 160 - unknownsfx0x20 4, 243, 0, 6 - unknownsfx0x20 8, 213, 96, 7 - unknownsfx0x20 3, 226, 32, 7 - unknownsfx0x20 8, 209, 16, 7 - endchannel - - -SFX_1f_15_Ch2: ; 7cc1f (1f:4c1f) - dutycycle 90 - unknownsfx0x20 5, 179, 241, 6 - unknownsfx0x20 7, 197, 82, 7 - unknownsfx0x20 3, 162, 17, 7 - unknownsfx0x20 8, 177, 1, 6 - endchannel - - -SFX_1f_15_Ch3: ; 7cc32 (1f:4c32) - unknownnoise0x20 3, 162, 60 - unknownnoise0x20 12, 148, 44 - unknownnoise0x20 3, 130, 28 - unknownnoise0x20 8, 113, 44 - endchannel diff --git a/audio/sfx/sfx_1f_16.asm b/audio/sfx/sfx_1f_16.asm deleted file mode 100755 index 450403b4..00000000 --- a/audio/sfx/sfx_1f_16.asm +++ /dev/null @@ -1,17 +0,0 @@ -SFX_1f_16_Ch1: ; 7cb81 (1f:4b81) - duty 0 - unknownsfx0x20 8, 245, 128, 4 - unknownsfx0x20 2, 225, 224, 5 - unknownsfx0x20 8, 209, 220, 5 - endchannel - - -SFX_1f_16_Ch2: ; 7cb90 (1f:4b90) - dutycycle 165 - unknownsfx0x20 7, 149, 65, 4 - unknownsfx0x20 2, 129, 33, 5 - unknownsfx0x20 8, 97, 26, 5 - - -SFX_1f_16_Ch3: ; 7cb9e (1f:4b9e) - endchannel diff --git a/audio/sfx/sfx_1f_17.asm b/audio/sfx/sfx_1f_17.asm deleted file mode 100755 index 7f0d0fad..00000000 --- a/audio/sfx/sfx_1f_17.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_1f_17_Ch1: ; 7c91b (1f:491b) - dutycycle 240 - unknownsfx0x20 4, 247, 8, 6 - unknownsfx0x20 6, 230, 0, 6 - unknownsfx0x20 6, 215, 240, 5 - unknownsfx0x20 6, 196, 224, 5 - unknownsfx0x20 5, 211, 192, 5 - unknownsfx0x20 4, 211, 160, 5 - unknownsfx0x20 8, 225, 128, 5 - endchannel - - -SFX_1f_17_Ch2: ; 7c93a (1f:493a) - dutycycle 10 - unknownsfx0x20 4, 199, 4, 5 - unknownsfx0x20 6, 166, 2, 5 - unknownsfx0x20 6, 151, 241, 4 - unknownsfx0x20 4, 180, 225, 4 - unknownsfx0x20 5, 163, 194, 4 - unknownsfx0x20 4, 179, 163, 4 - unknownsfx0x20 8, 193, 130, 4 - endchannel - - -SFX_1f_17_Ch3: ; 7c959 (1f:4959) - unknownnoise0x20 12, 228, 76 - unknownnoise0x20 10, 199, 92 - unknownnoise0x20 12, 182, 76 - unknownnoise0x20 15, 162, 92 - endchannel diff --git a/audio/sfx/sfx_1f_18.asm b/audio/sfx/sfx_1f_18.asm deleted file mode 100755 index 066128bb..00000000 --- a/audio/sfx/sfx_1f_18.asm +++ /dev/null @@ -1,32 +0,0 @@ -SFX_1f_18_Ch1: ; 7ccca (1f:4cca) - dutycycle 240 - unknownsfx0x20 4, 247, 160, 6 - unknownsfx0x20 8, 230, 164, 6 - unknownsfx0x20 4, 214, 160, 6 - unknownsfx0x20 12, 211, 32, 6 - unknownsfx0x20 8, 195, 36, 6 - unknownsfx0x20 4, 194, 32, 6 - unknownsfx0x20 8, 177, 16, 6 - endchannel - - -SFX_1f_18_Ch2: ; 7cce9 (1f:4ce9) - dutycycle 90 - unknownsfx0x20 4, 231, 1, 6 - unknownsfx0x20 8, 214, 3, 6 - unknownsfx0x20 4, 198, 1, 6 - unknownsfx0x20 12, 195, 129, 5 - unknownsfx0x20 8, 179, 131, 5 - unknownsfx0x20 4, 178, 130, 5 - unknownsfx0x20 8, 161, 113, 5 - endchannel - - -SFX_1f_18_Ch3: ; 7cd08 (1f:4d08) - unknownnoise0x20 7, 214, 92 - unknownnoise0x20 8, 230, 76 - unknownnoise0x20 4, 212, 92 - unknownnoise0x20 4, 212, 76 - unknownnoise0x20 7, 195, 76 - unknownnoise0x20 8, 161, 92 - endchannel diff --git a/audio/sfx/sfx_1f_19.asm b/audio/sfx/sfx_1f_19.asm deleted file mode 100755 index 119a5f9f..00000000 --- a/audio/sfx/sfx_1f_19.asm +++ /dev/null @@ -1,19 +0,0 @@ -SFX_1f_19_Ch1: ; 7caaa (1f:4aaa) - dutycycle 10 - unknownsfx0x20 6, 226, 0, 5 - unknownsfx0x20 6, 227, 128, 5 - unknownsfx0x20 6, 211, 112, 5 - unknownsfx0x20 8, 161, 96, 5 - endchannel - - -SFX_1f_19_Ch2: ; 7cabd (1f:4abd) - dutycycle 245 - unknownsfx0x20 6, 226, 130, 4 - unknownsfx0x20 6, 211, 1, 5 - unknownsfx0x20 6, 178, 226, 4 - unknownsfx0x20 8, 129, 193, 4 - - -SFX_1f_19_Ch3: ; 7cacf (1f:4acf) - endchannel diff --git a/audio/sfx/sfx_1f_1a.asm b/audio/sfx/sfx_1f_1a.asm deleted file mode 100755 index 38a6df2a..00000000 --- a/audio/sfx/sfx_1f_1a.asm +++ /dev/null @@ -1,22 +0,0 @@ -SFX_1f_1a_Ch1: ; 7ca54 (1f:4a54) - dutycycle 250 - unknownsfx0x20 6, 131, 71, 2 - unknownsfx0x20 15, 98, 38, 2 - unknownsfx0x20 4, 82, 69, 2 - unknownsfx0x20 9, 99, 6, 2 - unknownsfx0x20 15, 130, 37, 2 - unknownsfx0x20 15, 66, 7, 2 - - -SFX_1f_1a_Ch2: ; 7ca6e (1f:4a6e) - endchannel - - -SFX_1f_1a_Ch3: ; 7ca6f (1f:4a6f) - unknownnoise0x20 8, 212, 140 - unknownnoise0x20 4, 226, 156 - unknownnoise0x20 15, 198, 140 - unknownnoise0x20 8, 228, 172 - unknownnoise0x20 15, 215, 156 - unknownnoise0x20 15, 242, 172 - endchannel diff --git a/audio/sfx/sfx_1f_1b.asm b/audio/sfx/sfx_1f_1b.asm deleted file mode 100755 index 12c4a66b..00000000 --- a/audio/sfx/sfx_1f_1b.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_1f_1b_Ch1: ; 7ca82 (1f:4a82) - dutycycle 240 - unknownsfx0x20 4, 243, 224, 6 - unknownsfx0x20 15, 228, 64, 6 - unknownsfx0x20 8, 193, 32, 6 - endchannel - - -SFX_1f_1b_Ch2: ; 7ca91 (1f:4a91) - dutycycle 10 - unknownsfx0x20 3, 195, 131, 6 - unknownsfx0x20 14, 180, 2, 6 - unknownsfx0x20 8, 161, 1, 6 - endchannel - - -SFX_1f_1b_Ch3: ; 7caa0 (1f:4aa0) - unknownnoise0x20 4, 211, 92 - unknownnoise0x20 15, 230, 76 - unknownnoise0x20 8, 177, 92 - endchannel diff --git a/audio/sfx/sfx_1f_1c.asm b/audio/sfx/sfx_1f_1c.asm deleted file mode 100755 index 4ed5efc6..00000000 --- a/audio/sfx/sfx_1f_1c.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_1f_1c_Ch1: ; 7cc9a (1f:4c9a) - dutycycle 240 - unknownsfx0x20 15, 246, 101, 5 - unknownsfx0x20 10, 228, 124, 5 - unknownsfx0x20 3, 194, 92, 5 - unknownsfx0x20 15, 178, 60, 5 - endchannel - - -SFX_1f_1c_Ch2: ; 7ccad (1f:4cad) - dutycycle 90 - unknownsfx0x20 14, 214, 3, 5 - unknownsfx0x20 9, 180, 27, 5 - unknownsfx0x20 4, 146, 250, 4 - unknownsfx0x20 15, 162, 219, 4 - endchannel - - -SFX_1f_1c_Ch3: ; 7ccc0 (1f:4cc0) - unknownnoise0x20 12, 230, 76 - unknownnoise0x20 11, 215, 92 - unknownnoise0x20 15, 194, 76 - endchannel diff --git a/audio/sfx/sfx_1f_1d.asm b/audio/sfx/sfx_1f_1d.asm deleted file mode 100755 index ce7f4b4c..00000000 --- a/audio/sfx/sfx_1f_1d.asm +++ /dev/null @@ -1,35 +0,0 @@ -SFX_1f_1d_Ch1: ; 7c7a4 (1f:47a4) - dutycycle 240 - unknownsfx0x20 15, 247, 160, 7 - unknownsfx0x20 6, 230, 163, 7 - unknownsfx0x20 10, 244, 160, 7 - dutycycle 165 - unknownsfx0x20 10, 246, 216, 7 - unknownsfx0x20 4, 227, 215, 7 - unknownsfx0x20 15, 242, 216, 7 - endchannel - - -SFX_1f_1d_Ch2: ; 7c7c1 (1f:47c1) - dutycycle 5 - unknownsfx0x20 2, 8, 0, 0 - unknownsfx0x20 15, 167, 161, 6 - unknownsfx0x20 6, 134, 162, 6 - unknownsfx0x20 10, 116, 161, 6 - dutycycle 95 - unknownsfx0x20 10, 118, 214, 6 - unknownsfx0x20 4, 131, 217, 6 - unknownsfx0x20 15, 162, 215, 6 - endchannel - - -SFX_1f_1d_Ch3: ; 7c7e2 (1f:47e2) - unknownnoise0x20 2, 242, 60 - unknownnoise0x20 8, 228, 62 - unknownnoise0x20 15, 215, 60 - unknownnoise0x20 6, 197, 59 - unknownnoise0x20 6, 228, 61 - unknownnoise0x20 8, 182, 60 - unknownnoise0x20 6, 212, 61 - unknownnoise0x20 8, 193, 59 - endchannel diff --git a/audio/sfx/sfx_1f_1e.asm b/audio/sfx/sfx_1f_1e.asm deleted file mode 100755 index 86f88f54..00000000 --- a/audio/sfx/sfx_1f_1e.asm +++ /dev/null @@ -1,35 +0,0 @@ -SFX_1f_1e_Ch1: ; 7cc3f (1f:4c3f) - dutycycle 240 - unknownsfx0x20 8, 247, 224, 6 - unknownsfx0x20 6, 230, 229, 6 - unknownsfx0x20 3, 244, 224, 6 - unknownsfx0x20 3, 246, 208, 6 - unknownsfx0x20 3, 227, 192, 6 - unknownsfx0x20 4, 242, 176, 6 - unknownsfx0x20 15, 162, 200, 6 - endchannel - - -SFX_1f_1e_Ch2: ; 7cc5e (1f:4c5e) - dutycycle 5 - unknownsfx0x20 3, 8, 0, 0 - unknownsfx0x20 8, 167, 161, 6 - unknownsfx0x20 6, 134, 163, 6 - unknownsfx0x20 3, 116, 161, 6 - unknownsfx0x20 3, 118, 145, 6 - unknownsfx0x20 3, 131, 130, 6 - unknownsfx0x20 4, 162, 113, 6 - unknownsfx0x20 15, 114, 137, 6 - endchannel - - -SFX_1f_1e_Ch3: ; 7cc81 (1f:4c81) - unknownnoise0x20 2, 242, 60 - unknownnoise0x20 8, 228, 62 - unknownnoise0x20 8, 215, 60 - unknownnoise0x20 5, 197, 59 - unknownnoise0x20 3, 212, 44 - unknownnoise0x20 2, 182, 60 - unknownnoise0x20 3, 164, 44 - unknownnoise0x20 8, 145, 60 - endchannel diff --git a/audio/sfx/sfx_1f_1f.asm b/audio/sfx/sfx_1f_1f.asm deleted file mode 100755 index 2733036b..00000000 --- a/audio/sfx/sfx_1f_1f.asm +++ /dev/null @@ -1,37 +0,0 @@ -SFX_1f_1f_Ch1: ; 7cad0 (1f:4ad0) - dutycycle 204 - unknownsfx0x20 4, 241, 0, 7 - unknownsfx0x20 4, 225, 128, 7 - unknownsfx0x20 4, 209, 64, 7 - unknownsfx0x20 4, 225, 64, 7 - unknownsfx0x20 4, 241, 128, 7 - unknownsfx0x20 4, 209, 0, 7 - unknownsfx0x20 4, 241, 1, 7 - unknownsfx0x20 4, 209, 130, 7 - unknownsfx0x20 4, 193, 66, 7 - unknownsfx0x20 8, 177, 65, 7 - endchannel - - -SFX_1f_1f_Ch2: ; 7cafb (1f:4afb) - dutycycle 68 - unknownsfx0x20 12, 8, 0, 0 - unknownsfx0x20 4, 241, 1, 7 - unknownsfx0x20 4, 225, 130, 7 - unknownsfx0x20 4, 209, 65, 7 - unknownsfx0x20 4, 225, 65, 7 - unknownsfx0x20 4, 241, 130, 7 - unknownsfx0x20 8, 209, 1, 7 - endchannel - - -SFX_1f_1f_Ch3: ; 7cb1a (1f:4b1a) - unknownnoise0x20 15, 8, 0 - unknownnoise0x20 4, 8, 0 - unknownnoise0x20 4, 209, 76 - unknownnoise0x20 4, 177, 44 - unknownnoise0x20 4, 209, 60 - unknownnoise0x20 4, 177, 60 - unknownnoise0x20 4, 193, 44 - unknownnoise0x20 8, 161, 76 - endchannel diff --git a/audio/sfx/sfx_1f_20.asm b/audio/sfx/sfx_1f_20.asm deleted file mode 100755 index 8449e4db..00000000 --- a/audio/sfx/sfx_1f_20.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_1f_20_Ch1: ; 7cb33 (1f:4b33) - dutycycle 204 - unknownsfx0x20 8, 245, 0, 6 - unknownsfx0x20 2, 210, 56, 6 - unknownsfx0x20 2, 194, 48, 6 - unknownsfx0x20 2, 194, 40, 6 - unknownsfx0x20 2, 178, 32, 6 - unknownsfx0x20 2, 178, 16, 6 - unknownsfx0x20 2, 162, 24, 6 - unknownsfx0x20 2, 178, 16, 6 - unknownsfx0x20 8, 193, 32, 6 - endchannel - - -SFX_1f_20_Ch2: ; 7cb5a (1f:4b5a) - dutycycle 68 - unknownsfx0x20 12, 195, 192, 5 - unknownsfx0x20 3, 177, 249, 5 - unknownsfx0x20 2, 161, 241, 5 - unknownsfx0x20 2, 161, 233, 5 - unknownsfx0x20 2, 145, 225, 5 - unknownsfx0x20 2, 145, 217, 5 - unknownsfx0x20 2, 129, 209, 5 - unknownsfx0x20 2, 145, 217, 5 - unknownsfx0x20 8, 145, 225, 5 - - -SFX_1f_20_Ch3: ; 7cb80 (1f:4b80) - endchannel diff --git a/audio/sfx/sfx_1f_21.asm b/audio/sfx/sfx_1f_21.asm deleted file mode 100755 index faf056f2..00000000 --- a/audio/sfx/sfx_1f_21.asm +++ /dev/null @@ -1,40 +0,0 @@ -SFX_1f_21_Ch1: ; 7cb9f (1f:4b9f) - dutycycle 136 - unknownsfx0x20 5, 242, 80, 6 - unknownsfx0x20 9, 209, 96, 6 - unknownsfx0x20 5, 226, 18, 6 - unknownsfx0x20 9, 193, 34, 6 - unknownsfx0x20 5, 242, 16, 6 - unknownsfx0x20 6, 209, 32, 6 - loopchannel 2, SFX_1f_21_Ch1 - endchannel - - -SFX_1f_21_Ch2: ; 7cbbe (1f:4bbe) - dutycycle 64 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 5, 242, 81, 6 - unknownsfx0x20 9, 209, 97, 6 - unknownsfx0x20 5, 226, 20, 6 - unknownsfx0x20 8, 193, 36, 6 - unknownsfx0x20 5, 242, 17, 6 - unknownsfx0x20 12, 209, 33, 6 - unknownsfx0x20 5, 226, 20, 6 - unknownsfx0x20 8, 193, 36, 6 - unknownsfx0x20 5, 242, 17, 6 - unknownsfx0x20 4, 209, 33, 6 - endchannel - - -SFX_1f_21_Ch3: ; 7cbed (1f:4bed) - unknownnoise0x20 6, 210, 28 - unknownnoise0x20 9, 177, 44 - unknownnoise0x20 8, 194, 44 - unknownnoise0x20 9, 177, 60 - unknownnoise0x20 6, 194, 44 - unknownnoise0x20 9, 162, 60 - unknownnoise0x20 7, 194, 44 - unknownnoise0x20 5, 161, 60 - unknownnoise0x20 9, 194, 44 - unknownnoise0x20 4, 161, 60 - endchannel diff --git a/audio/sfx/sfx_1f_22.asm b/audio/sfx/sfx_1f_22.asm deleted file mode 100755 index bc9c9690..00000000 --- a/audio/sfx/sfx_1f_22.asm +++ /dev/null @@ -1,23 +0,0 @@ -SFX_1f_22_Ch1: ; 7ca24 (1f:4a24) - dutycycle 165 - unknownsfx0x20 4, 225, 0, 7 - unknownsfx0x20 4, 242, 128, 7 - unknownsfx0x20 2, 146, 64, 7 - unknownsfx0x20 8, 225, 0, 6 - endchannel - - -SFX_1f_22_Ch2: ; 7ca37 (1f:4a37) - dutycycle 10 - unknownsfx0x20 4, 177, 225, 6 - unknownsfx0x20 3, 194, 225, 6 - unknownsfx0x20 3, 98, 129, 6 - unknownsfx0x20 8, 177, 225, 5 - endchannel - - -SFX_1f_22_Ch3: ; 7ca4a (1f:4a4a) - unknownnoise0x20 2, 97, 50 - unknownnoise0x20 2, 97, 33 - unknownnoise0x20 8, 97, 17 - endchannel diff --git a/audio/sfx/sfx_1f_23.asm b/audio/sfx/sfx_1f_23.asm deleted file mode 100755 index 51066146..00000000 --- a/audio/sfx/sfx_1f_23.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_1f_23_Ch1: ; 7c966 (1f:4966) - dutycycle 241 - unknownsfx0x20 4, 247, 192, 7 - unknownsfx0x20 12, 230, 194, 7 - unknownsfx0x20 6, 181, 128, 6 - unknownsfx0x20 4, 196, 112, 6 - unknownsfx0x20 4, 181, 96, 6 - unknownsfx0x20 8, 193, 64, 6 - endchannel - - -SFX_1f_23_Ch2: ; 7c981 (1f:4981) - dutycycle 204 - unknownsfx0x20 3, 199, 129, 7 - unknownsfx0x20 12, 182, 128, 7 - unknownsfx0x20 6, 165, 65, 6 - unknownsfx0x20 4, 196, 50, 6 - unknownsfx0x20 6, 181, 33, 6 - unknownsfx0x20 8, 161, 2, 6 - endchannel - - -SFX_1f_23_Ch3: ; 7c99c (1f:499c) - unknownnoise0x20 3, 228, 60 - unknownnoise0x20 12, 214, 44 - unknownnoise0x20 4, 228, 60 - unknownnoise0x20 8, 183, 92 - unknownnoise0x20 15, 194, 93 - endchannel diff --git a/audio/sfx/sfx_1f_24.asm b/audio/sfx/sfx_1f_24.asm deleted file mode 100755 index f4d4e4de..00000000 --- a/audio/sfx/sfx_1f_24.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_1f_24_Ch1: ; 7c9ac (1f:49ac) - dutycycle 201 - unknownsfx0x20 8, 247, 128, 6 - unknownsfx0x20 2, 247, 96, 6 - unknownsfx0x20 1, 231, 64, 6 - unknownsfx0x20 1, 231, 32, 6 - unknownsfx0x20 15, 209, 0, 6 - unknownsfx0x20 4, 199, 64, 7 - unknownsfx0x20 4, 167, 48, 7 - unknownsfx0x20 15, 145, 32, 7 - endchannel - - -SFX_1f_24_Ch2: ; 7c9cf (1f:49cf) - dutycycle 121 - unknownsfx0x20 10, 231, 130, 6 - unknownsfx0x20 2, 231, 98, 6 - unknownsfx0x20 1, 215, 66, 6 - unknownsfx0x20 1, 215, 34, 6 - unknownsfx0x20 15, 193, 2, 6 - unknownsfx0x20 4, 183, 66, 7 - unknownsfx0x20 2, 151, 50, 7 - unknownsfx0x20 15, 129, 34, 7 - endchannel - - -SFX_1f_24_Ch3: ; 7c9f2 (1f:49f2) - unknownnoise0x20 4, 116, 33 - unknownnoise0x20 4, 116, 16 - unknownnoise0x20 4, 113, 32 - endchannel diff --git a/audio/sfx/sfx_1f_25.asm b/audio/sfx/sfx_1f_25.asm deleted file mode 100755 index 4b137a75..00000000 --- a/audio/sfx/sfx_1f_25.asm +++ /dev/null @@ -1,34 +0,0 @@ -SFX_1f_25_Ch1: ; 7c888 (1f:4888) - dutycycle 240 - unknownsfx0x20 6, 247, 160, 7 - unknownsfx0x20 8, 230, 164, 7 - unknownsfx0x20 4, 214, 160, 7 - unknownsfx0x20 15, 211, 32, 7 - unknownsfx0x20 8, 195, 35, 7 - unknownsfx0x20 2, 194, 40, 7 - unknownsfx0x20 8, 177, 48, 7 - endchannel - - -SFX_1f_25_Ch2: ; 7c8a7 (1f:48a7) - dutycycle 10 - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 6, 167, 65, 7 - unknownsfx0x20 8, 134, 67, 7 - unknownsfx0x20 4, 118, 65, 7 - unknownsfx0x20 13, 131, 194, 6 - unknownsfx0x20 7, 115, 193, 6 - unknownsfx0x20 3, 130, 204, 6 - unknownsfx0x20 8, 113, 216, 6 - endchannel - - -SFX_1f_25_Ch3: ; 7c8ca (1f:48ca) - unknownnoise0x20 2, 242, 76 - unknownnoise0x20 6, 230, 58 - unknownnoise0x20 4, 215, 58 - unknownnoise0x20 6, 214, 44 - unknownnoise0x20 8, 229, 60 - unknownnoise0x20 12, 210, 61 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_1f_26.asm b/audio/sfx/sfx_1f_26.asm deleted file mode 100755 index f3613315..00000000 --- a/audio/sfx/sfx_1f_26.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_1f_26_Ch1: ; 7cda0 (1f:4da0) - dutycycle 165 - unknownsfx0x20 12, 242, 64, 4 - unknownsfx0x20 15, 227, 160, 4 - unknownsfx0x20 4, 210, 144, 4 - unknownsfx0x20 8, 209, 128, 4 - endchannel - - -SFX_1f_26_Ch2: ; 7cdb3 (1f:4db3) - dutycycle 238 - unknownsfx0x20 11, 210, 56, 4 - unknownsfx0x20 14, 198, 152, 4 - unknownsfx0x20 3, 178, 136, 4 - unknownsfx0x20 8, 177, 120, 4 - endchannel - - -SFX_1f_26_Ch3: ; 7cdc6 (1f:4dc6) - unknownnoise0x20 10, 230, 108 - unknownnoise0x20 15, 210, 92 - unknownnoise0x20 3, 194, 108 - unknownnoise0x20 8, 209, 92 - endchannel diff --git a/audio/sfx/sfx_1f_27.asm b/audio/sfx/sfx_1f_27.asm deleted file mode 100755 index 81ec2ab1..00000000 --- a/audio/sfx/sfx_1f_27.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_1f_27_Ch1: ; 7cdd3 (1f:4dd3) - dutycycle 51 - unknownsfx0x20 15, 246, 192, 5 - unknownsfx0x20 8, 227, 188, 5 - unknownsfx0x20 6, 210, 208, 5 - unknownsfx0x20 6, 178, 224, 5 - unknownsfx0x20 6, 194, 240, 5 - unknownsfx0x20 8, 177, 0, 6 - endchannel - - -SFX_1f_27_Ch2: ; 7cdee (1f:4dee) - dutycycle 153 - unknownsfx0x20 14, 198, 177, 4 - unknownsfx0x20 7, 195, 173, 4 - unknownsfx0x20 5, 178, 193, 4 - unknownsfx0x20 8, 146, 209, 4 - unknownsfx0x20 6, 162, 225, 4 - unknownsfx0x20 8, 145, 241, 4 - endchannel - - -SFX_1f_27_Ch3: ; 7ce09 (1f:4e09) - unknownnoise0x20 10, 230, 92 - unknownnoise0x20 10, 214, 108 - unknownnoise0x20 4, 194, 76 - unknownnoise0x20 6, 211, 92 - unknownnoise0x20 8, 179, 76 - unknownnoise0x20 8, 161, 92 - endchannel diff --git a/audio/sfx/sfx_1f_28.asm b/audio/sfx/sfx_1f_28.asm deleted file mode 100755 index 2a510f48..00000000 --- a/audio/sfx/sfx_1f_28.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_1f_28_Ch1: ; 7ce1c (1f:4e1c) - dutycycle 240 - unknownsfx0x20 8, 228, 144, 7 - unknownsfx0x20 15, 245, 192, 7 - unknownsfx0x20 8, 209, 216, 7 - endchannel - - -SFX_1f_28_Ch2: ; 7ce2b (1f:4e2b) - dutycycle 165 - unknownsfx0x20 10, 196, 113, 7 - unknownsfx0x20 15, 182, 162, 7 - unknownsfx0x20 8, 161, 183, 7 - endchannel - - -SFX_1f_28_Ch3: ; 7ce3a (1f:4e3a) - unknownnoise0x20 8, 228, 76 - unknownnoise0x20 14, 196, 60 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_1f_29.asm b/audio/sfx/sfx_1f_29.asm deleted file mode 100755 index cb7b5b0c..00000000 --- a/audio/sfx/sfx_1f_29.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_1f_29_Ch1: ; 7ceaa (1f:4eaa) - dutycycle 240 - unknownsfx0x20 4, 243, 128, 7 - unknownsfx0x20 15, 231, 0, 7 - unknownsfx0x20 8, 211, 16, 7 - unknownsfx0x20 4, 194, 0, 7 - unknownsfx0x20 4, 210, 240, 6 - unknownsfx0x20 8, 193, 224, 6 - endchannel - - -SFX_1f_29_Ch2: ; 7cec5 (1f:4ec5) - dutycycle 90 - unknownsfx0x20 6, 195, 1, 7 - unknownsfx0x20 14, 183, 129, 6 - unknownsfx0x20 7, 179, 146, 6 - unknownsfx0x20 3, 162, 129, 6 - unknownsfx0x20 4, 178, 114, 6 - unknownsfx0x20 8, 161, 97, 6 - endchannel - - -SFX_1f_29_Ch3: ; 7cee0 (1f:4ee0) - unknownnoise0x20 6, 227, 92 - unknownnoise0x20 14, 214, 76 - unknownnoise0x20 6, 198, 60 - unknownnoise0x20 3, 179, 76 - unknownnoise0x20 3, 162, 92 - unknownnoise0x20 8, 177, 108 - endchannel diff --git a/audio/sfx/sfx_1f_2a.asm b/audio/sfx/sfx_1f_2a.asm deleted file mode 100755 index fb0d330f..00000000 --- a/audio/sfx/sfx_1f_2a.asm +++ /dev/null @@ -1,21 +0,0 @@ -SFX_1f_2a_Ch1: ; 7cd3d (1f:4d3d) - dutycycle 240 - unknownsfx0x20 15, 215, 128, 7 - unknownsfx0x20 4, 230, 160, 7 - unknownsfx0x20 15, 210, 64, 7 - endchannel - - -SFX_1f_2a_Ch2: ; 7cd4c (1f:4d4c) - dutycycle 90 - unknownsfx0x20 15, 199, 83, 7 - unknownsfx0x20 5, 182, 114, 7 - unknownsfx0x20 15, 194, 17, 7 - endchannel - - -SFX_1f_2a_Ch3: ; 7cd5b (1f:4d5b) - unknownnoise0x20 13, 246, 76 - unknownnoise0x20 4, 230, 60 - unknownnoise0x20 15, 242, 76 - endchannel diff --git a/audio/sfx/sfx_1f_2b.asm b/audio/sfx/sfx_1f_2b.asm deleted file mode 100755 index 1b588221..00000000 --- a/audio/sfx/sfx_1f_2b.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_1f_2b_Ch1: ; 7cef3 (1f:4ef3) - dutycycle 15 - unknownsfx0x20 15, 247, 0, 5 - unknownsfx0x20 15, 231, 8, 5 - unknownsfx0x20 8, 180, 128, 4 - unknownsfx0x20 15, 162, 96, 4 - endchannel - - -SFX_1f_2b_Ch2: ; 7cf06 (1f:4f06) - dutycycle 68 - unknownsfx0x20 14, 215, 129, 4 - unknownsfx0x20 14, 199, 137, 4 - unknownsfx0x20 10, 180, 1, 4 - unknownsfx0x20 15, 194, 225, 3 - endchannel - - -SFX_1f_2b_Ch3: ; 7cf19 (1f:4f19) - unknownnoise0x20 14, 247, 124 - unknownnoise0x20 12, 246, 108 - unknownnoise0x20 9, 228, 124 - unknownnoise0x20 15, 226, 108 - endchannel diff --git a/audio/sfx/sfx_1f_2c.asm b/audio/sfx/sfx_1f_2c.asm deleted file mode 100755 index 9c051799..00000000 --- a/audio/sfx/sfx_1f_2c.asm +++ /dev/null @@ -1,34 +0,0 @@ -SFX_1f_2c_Ch1: ; 7d003 (1f:5003) - dutycycle 80 - unknownsfx0x20 10, 245, 128, 6 - unknownsfx0x20 3, 226, 160, 6 - unknownsfx0x20 3, 242, 192, 6 - unknownsfx0x20 3, 226, 224, 6 - unknownsfx0x20 3, 210, 0, 7 - unknownsfx0x20 3, 194, 224, 6 - unknownsfx0x20 3, 210, 192, 6 - unknownsfx0x20 8, 193, 160, 6 - endchannel - - -SFX_1f_2c_Ch2: ; 7d026 (1f:5026) - dutycycle 15 - unknownsfx0x20 9, 213, 49, 6 - unknownsfx0x20 3, 210, 82, 6 - unknownsfx0x20 3, 226, 113, 6 - unknownsfx0x20 3, 178, 145, 6 - unknownsfx0x20 3, 194, 178, 6 - unknownsfx0x20 3, 178, 145, 6 - unknownsfx0x20 3, 194, 113, 6 - unknownsfx0x20 8, 177, 81, 6 - endchannel - - -SFX_1f_2c_Ch3: ; 7d049 (1f:5049) - unknownnoise0x20 6, 227, 76 - unknownnoise0x20 4, 195, 60 - unknownnoise0x20 5, 212, 60 - unknownnoise0x20 4, 196, 44 - unknownnoise0x20 6, 180, 60 - unknownnoise0x20 8, 193, 44 - endchannel diff --git a/audio/sfx/sfx_1f_2d.asm b/audio/sfx/sfx_1f_2d.asm deleted file mode 100755 index c46af9f2..00000000 --- a/audio/sfx/sfx_1f_2d.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_1f_2d_Ch1: ; 7cd1b (1f:4d1b) - dutycycle 27 - unknownsfx0x20 7, 210, 64, 7 - unknownsfx0x20 15, 229, 96, 7 - unknownsfx0x20 15, 193, 48, 7 - endchannel - - -SFX_1f_2d_Ch2: ; 7cd2a (1f:4d2a) - dutycycle 129 - unknownsfx0x20 2, 194, 1, 7 - unknownsfx0x20 4, 194, 8, 7 - unknownsfx0x20 15, 215, 65, 7 - unknownsfx0x20 15, 162, 1, 7 - - -SFX_1f_2d_Ch3: ; 7cd3c (1f:4d3c) - endchannel diff --git a/audio/sfx/sfx_1f_2e.asm b/audio/sfx/sfx_1f_2e.asm deleted file mode 100755 index 50f9f172..00000000 --- a/audio/sfx/sfx_1f_2e.asm +++ /dev/null @@ -1,30 +0,0 @@ -SFX_1f_2e_Ch1: ; 7cf74 (1f:4f74) - dutycycle 240 - unknownsfx0x20 6, 247, 64, 7 - unknownsfx0x20 12, 230, 68, 7 - unknownsfx0x20 6, 213, 80, 7 - unknownsfx0x20 4, 195, 96, 7 - unknownsfx0x20 3, 195, 128, 7 - unknownsfx0x20 8, 209, 160, 7 - endchannel - - -SFX_1f_2e_Ch2: ; 7cf8f (1f:4f8f) - dutycycle 10 - unknownsfx0x20 6, 199, 1, 7 - unknownsfx0x20 11, 182, 2, 7 - unknownsfx0x20 6, 165, 17, 7 - unknownsfx0x20 4, 147, 33, 7 - unknownsfx0x20 3, 163, 65, 7 - unknownsfx0x20 8, 145, 98, 7 - endchannel - - -SFX_1f_2e_Ch3: ; 7cfaa (1f:4faa) - unknownnoise0x20 3, 226, 60 - unknownnoise0x20 8, 214, 76 - unknownnoise0x20 5, 212, 60 - unknownnoise0x20 12, 199, 76 - unknownnoise0x20 2, 226, 60 - unknownnoise0x20 8, 209, 44 - endchannel diff --git a/audio/sfx/sfx_1f_2f.asm b/audio/sfx/sfx_1f_2f.asm deleted file mode 100755 index 10b6698c..00000000 --- a/audio/sfx/sfx_1f_2f.asm +++ /dev/null @@ -1,26 +0,0 @@ -SFX_1f_2f_Ch1: ; 7cd65 (1f:4d65) - dutycycle 240 - unknownsfx0x20 6, 247, 192, 6 - unknownsfx0x20 15, 231, 0, 7 - unknownsfx0x20 4, 244, 240, 6 - unknownsfx0x20 4, 228, 224, 6 - unknownsfx0x20 8, 209, 208, 6 - endchannel - - -SFX_1f_2f_Ch2: ; 7cd7c (1f:4d7c) - dutycycle 10 - unknownsfx0x20 7, 230, 129, 6 - unknownsfx0x20 14, 213, 193, 6 - unknownsfx0x20 4, 196, 177, 6 - unknownsfx0x20 4, 212, 161, 6 - unknownsfx0x20 8, 193, 145, 6 - endchannel - - -SFX_1f_2f_Ch3: ; 7cd93 (1f:4d93) - unknownnoise0x20 10, 166, 60 - unknownnoise0x20 14, 148, 44 - unknownnoise0x20 5, 163, 60 - unknownnoise0x20 8, 145, 44 - endchannel diff --git a/audio/sfx/sfx_1f_30.asm b/audio/sfx/sfx_1f_30.asm deleted file mode 100755 index 8862b34c..00000000 --- a/audio/sfx/sfx_1f_30.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_1f_30_Ch1: ; 7cf26 (1f:4f26) - dutycycle 245 - unknownsfx0x20 7, 214, 225, 7 - unknownsfx0x20 6, 198, 226, 7 - unknownsfx0x20 9, 214, 225, 7 - unknownsfx0x20 7, 198, 224, 7 - unknownsfx0x20 5, 182, 226, 7 - unknownsfx0x20 7, 198, 225, 7 - unknownsfx0x20 6, 182, 224, 7 - unknownsfx0x20 8, 161, 223, 7 - endchannel - - -SFX_1f_30_Ch2: ; 7cf49 (1f:4f49) - dutycycle 68 - unknownsfx0x20 6, 195, 201, 7 - unknownsfx0x20 6, 179, 199, 7 - unknownsfx0x20 10, 196, 195, 7 - unknownsfx0x20 8, 180, 199, 7 - unknownsfx0x20 6, 195, 201, 7 - unknownsfx0x20 15, 162, 197, 7 - endchannel - - -SFX_1f_30_Ch3: ; 7cf64 (1f:4f64) - unknownnoise0x20 13, 25, 124 - unknownnoise0x20 13, 247, 140 - unknownnoise0x20 12, 214, 124 - unknownnoise0x20 8, 196, 108 - unknownnoise0x20 15, 179, 92 - endchannel diff --git a/audio/sfx/sfx_1f_31.asm b/audio/sfx/sfx_1f_31.asm deleted file mode 100755 index 018a0298..00000000 --- a/audio/sfx/sfx_1f_31.asm +++ /dev/null @@ -1,29 +0,0 @@ -SFX_1f_31_Ch1: ; 7cfbd (1f:4fbd) - dutycycle 244 - unknownsfx0x20 15, 240, 5, 7 - unknownsfx0x20 10, 224, 0, 7 - unknownsfx0x20 6, 180, 16, 7 - unknownsfx0x20 4, 211, 0, 7 - unknownsfx0x20 6, 178, 32, 6 - unknownsfx0x20 8, 161, 36, 6 - endchannel - - -SFX_1f_31_Ch2: ; 7cfd8 (1f:4fd8) - dutycycle 34 - unknownsfx0x20 15, 176, 195, 6 - unknownsfx0x20 10, 160, 193, 6 - unknownsfx0x20 6, 132, 210, 6 - unknownsfx0x20 4, 147, 193, 6 - unknownsfx0x20 6, 130, 225, 5 - unknownsfx0x20 8, 97, 232, 5 - endchannel - - -SFX_1f_31_Ch3: ; 7cff3 (1f:4ff3) - unknownnoise0x20 6, 230, 76 - unknownnoise0x20 15, 214, 60 - unknownnoise0x20 10, 197, 74 - unknownnoise0x20 1, 178, 91 - unknownnoise0x20 15, 194, 76 - endchannel diff --git a/audio/sfx/sfx_1f_32.asm b/audio/sfx/sfx_1f_32.asm deleted file mode 100755 index 853b9da3..00000000 --- a/audio/sfx/sfx_1f_32.asm +++ /dev/null @@ -1,38 +0,0 @@ -SFX_1f_32_Ch1: ; 7ce44 (1f:4e44) - dutycycle 240 - unknownsfx0x20 6, 242, 0, 6 - unknownsfx0x20 6, 226, 64, 6 - unknownsfx0x20 6, 210, 128, 6 - unknownsfx0x20 6, 226, 192, 6 - unknownsfx0x20 6, 210, 0, 7 - unknownsfx0x20 6, 194, 64, 7 - unknownsfx0x20 6, 178, 128, 7 - unknownsfx0x20 8, 161, 192, 7 - endchannel - - -SFX_1f_32_Ch2: ; 7ce67 (1f:4e67) - dutycycle 17 - unknownsfx0x20 3, 8, 1, 0 - unknownsfx0x20 6, 194, 193, 5 - unknownsfx0x20 6, 178, 2, 6 - unknownsfx0x20 6, 162, 65, 6 - unknownsfx0x20 6, 178, 130, 6 - unknownsfx0x20 6, 162, 194, 6 - unknownsfx0x20 6, 146, 1, 7 - unknownsfx0x20 6, 162, 66, 7 - unknownsfx0x20 8, 129, 129, 7 - endchannel - - -SFX_1f_32_Ch3: ; 7ce8e (1f:4e8e) - unknownnoise0x20 6, 8, 1 - unknownnoise0x20 5, 226, 92 - unknownnoise0x20 5, 194, 76 - unknownnoise0x20 5, 210, 60 - unknownnoise0x20 5, 178, 44 - unknownnoise0x20 5, 194, 28 - unknownnoise0x20 5, 162, 27 - unknownnoise0x20 5, 146, 26 - unknownnoise0x20 8, 129, 24 - endchannel diff --git a/audio/sfx/sfx_1f_33.asm b/audio/sfx/sfx_1f_33.asm deleted file mode 100755 index a15fb1d6..00000000 --- a/audio/sfx/sfx_1f_33.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_1f_33_Ch1: ; 7d05c (1f:505c) - dutycycle 165 - unknownsfx0x20 3, 244, 65, 6 - unknownsfx0x20 13, 214, 33, 7 - unknownsfx0x20 8, 244, 25, 7 - unknownsfx0x20 8, 193, 26, 7 - endchannel - - -SFX_1f_33_Ch2: ; 7d06f (1f:506f) - dutycycle 204 - unknownsfx0x20 4, 244, 128, 5 - unknownsfx0x20 14, 230, 224, 6 - unknownsfx0x20 8, 213, 216, 6 - unknownsfx0x20 8, 209, 220, 6 - endchannel - - -SFX_1f_33_Ch3: ; 7d082 (1f:5082) - unknownnoise0x20 5, 196, 70 - unknownnoise0x20 13, 165, 68 - unknownnoise0x20 8, 196, 69 - unknownnoise0x20 8, 177, 68 - endchannel diff --git a/audio/sfx/sfx_1f_34.asm b/audio/sfx/sfx_1f_34.asm deleted file mode 100755 index 1bd919ec..00000000 --- a/audio/sfx/sfx_1f_34.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_1f_34_Ch1: ; 7d08f (1f:508f) - dutycycle 240 - unknownsfx0x20 13, 241, 17, 5 - unknownsfx0x20 13, 225, 21, 5 - unknownsfx0x20 13, 225, 17, 5 - unknownsfx0x20 8, 209, 17, 5 - endchannel - - -SFX_1f_34_Ch2: ; 7d0a2 (1f:50a2) - dutycycle 21 - unknownsfx0x20 12, 225, 12, 5 - unknownsfx0x20 12, 209, 16, 5 - unknownsfx0x20 14, 193, 12, 5 - unknownsfx0x20 8, 193, 10, 5 - endchannel - - -SFX_1f_34_Ch3: ; 7d0b5 (1f:50b5) - unknownnoise0x20 14, 242, 101 - unknownnoise0x20 13, 226, 85 - unknownnoise0x20 14, 210, 86 - unknownnoise0x20 8, 209, 102 - endchannel diff --git a/audio/sfx/sfx_1f_35.asm b/audio/sfx/sfx_1f_35.asm deleted file mode 100755 index befa3e39..00000000 --- a/audio/sfx/sfx_1f_35.asm +++ /dev/null @@ -1,27 +0,0 @@ -SFX_1f_35_Ch1: ; 7d0c2 (1f:50c2) - dutycycle 27 - unknownsfx0x20 3, 243, 100, 5 - unknownsfx0x20 2, 226, 68, 5 - unknownsfx0x20 5, 209, 34, 5 - unknownsfx0x20 2, 178, 132, 4 - unknownsfx0x20 8, 209, 162, 4 - unknownsfx0x20 3, 243, 36, 5 - unknownsfx0x20 4, 228, 228, 4 - unknownsfx0x20 8, 209, 2, 5 - endchannel - - -SFX_1f_35_Ch2: ; 7d0e5 (1f:50e5) - dutycycle 204 - unknownsfx0x20 3, 211, 96, 5 - unknownsfx0x20 2, 194, 64, 5 - unknownsfx0x20 5, 193, 32, 5 - unknownsfx0x20 2, 146, 128, 4 - unknownsfx0x20 8, 193, 160, 4 - unknownsfx0x20 3, 211, 32, 5 - unknownsfx0x20 3, 196, 224, 4 - unknownsfx0x20 8, 193, 0, 5 - - -SFX_1f_35_Ch3: ; 7d107 (1f:5107) - endchannel diff --git a/audio/sfx/sfx_1f_36.asm b/audio/sfx/sfx_1f_36.asm deleted file mode 100755 index 9382bb60..00000000 --- a/audio/sfx/sfx_1f_36.asm +++ /dev/null @@ -1,24 +0,0 @@ -SFX_1f_36_Ch1: ; 7d108 (1f:5108) - dutycycle 17 - unknownsfx0x20 2, 61, 129, 3 - unknownsfx0x20 7, 245, 1, 6 - unknownsfx0x20 1, 194, 129, 4 - unknownsfx0x20 8, 145, 129, 3 - endchannel - - -SFX_1f_36_Ch2: ; 7d11b (1f:511b) - dutycycle 238 - unknownsfx0x20 2, 62, 176, 5 - unknownsfx0x20 7, 213, 93, 7 - unknownsfx0x20 1, 178, 176, 6 - unknownsfx0x20 8, 97, 176, 5 - endchannel - - -SFX_1f_36_Ch3: ; 7d12e (1f:512e) - unknownnoise0x20 2, 146, 73 - unknownnoise0x20 7, 181, 41 - unknownnoise0x20 1, 162, 57 - unknownnoise0x20 8, 145, 73 - endchannel diff --git a/audio/sfx/sfx_1f_37.asm b/audio/sfx/sfx_1f_37.asm deleted file mode 100755 index b8812f2a..00000000 --- a/audio/sfx/sfx_1f_37.asm +++ /dev/null @@ -1,25 +0,0 @@ -SFX_1f_37_Ch1: ; 7c7fb (1f:47fb) - dutycycle 240 - unknownsfx0x20 15, 247, 192, 7 - unknownsfx0x20 6, 228, 193, 7 - unknownsfx0x20 10, 246, 192, 7 - unknownsfx0x20 4, 211, 194, 7 - unknownsfx0x20 8, 193, 192, 7 - endchannel - - -SFX_1f_37_Ch2: ; 7c812 (1f:4812) - dutycycle 95 - unknownsfx0x20 15, 151, 129, 7 - unknownsfx0x20 6, 132, 128, 7 - unknownsfx0x20 10, 150, 129, 7 - unknownsfx0x20 15, 131, 129, 7 - endchannel - - -SFX_1f_37_Ch3: ; 7c825 (1f:4825) - unknownnoise0x20 3, 242, 60 - unknownnoise0x20 13, 230, 44 - unknownnoise0x20 15, 215, 60 - unknownnoise0x20 8, 193, 44 - endchannel diff --git a/audio/sfx/sfx_1f_38.asm b/audio/sfx/sfx_1f_38.asm deleted file mode 100755 index 62bd652c..00000000 --- a/audio/sfx/sfx_1f_38.asm +++ /dev/null @@ -1,33 +0,0 @@ -SFX_1f_38_Ch1: ; 7c832 (1f:4832) - dutycycle 240 - unknownsfx0x20 15, 247, 128, 6 - unknownsfx0x20 10, 230, 132, 6 - unknownsfx0x20 15, 215, 144, 6 - unknownsfx0x20 8, 213, 144, 6 - unknownsfx0x20 6, 196, 136, 6 - unknownsfx0x20 5, 211, 112, 6 - unknownsfx0x20 4, 211, 96, 6 - unknownsfx0x20 8, 193, 64, 6 - endchannel - - -SFX_1f_38_Ch2: ; 7c855 (1f:4855) - dutycycle 5 - unknownsfx0x20 15, 183, 65, 6 - unknownsfx0x20 10, 150, 66, 6 - unknownsfx0x20 15, 167, 81, 6 - unknownsfx0x20 8, 165, 81, 6 - unknownsfx0x20 6, 148, 71, 6 - unknownsfx0x20 5, 163, 49, 6 - unknownsfx0x20 4, 147, 34, 6 - unknownsfx0x20 8, 113, 1, 6 - endchannel - - -SFX_1f_38_Ch3: ; 7c878 (1f:4878) - unknownnoise0x20 15, 228, 60 - unknownnoise0x20 10, 199, 76 - unknownnoise0x20 10, 199, 60 - unknownnoise0x20 12, 183, 76 - unknownnoise0x20 15, 162, 92 - endchannel diff --git a/audio/sfx/sfx_1f_39.asm b/audio/sfx/sfx_1f_39.asm deleted file mode 100755 index 30703f3a..00000000 --- a/audio/sfx/sfx_1f_39.asm +++ /dev/null @@ -1,26 +0,0 @@ -SFX_1f_39_Ch1: ; 7c8e0 (1f:48e0) - dutycycle 165 - unknownsfx0x20 6, 244, 64, 7 - unknownsfx0x20 15, 227, 48, 7 - unknownsfx0x20 4, 244, 64, 7 - unknownsfx0x20 5, 179, 72, 7 - unknownsfx0x20 8, 209, 80, 7 - endchannel - - -SFX_1f_39_Ch2: ; 7c8f7 (1f:48f7) - dutycycle 119 - unknownsfx0x20 6, 195, 18, 7 - unknownsfx0x20 15, 179, 4, 7 - unknownsfx0x20 3, 195, 18, 7 - unknownsfx0x20 4, 195, 33, 7 - unknownsfx0x20 8, 177, 50, 7 - endchannel - - -SFX_1f_39_Ch3: ; 7c90e (1f:490e) - unknownnoise0x20 8, 214, 44 - unknownnoise0x20 12, 198, 60 - unknownnoise0x20 10, 182, 44 - unknownnoise0x20 8, 145, 28 - endchannel diff --git a/audio/sfx/sfx_1f_3a.asm b/audio/sfx/sfx_1f_3a.asm deleted file mode 100755 index f39fe5f6..00000000 --- a/audio/sfx/sfx_1f_3a.asm +++ /dev/null @@ -1,47 +0,0 @@ -SFX_1f_3a_Ch1: ; 7e850 (1f:6850) - executemusic - tempo 256 - volume 7, 7 - vibrato 6, 2, 6 - duty 2 - toggleperfectpitch - notetype 4, 11, 1 - octave 3 - G# 2 - G# 2 - G# 2 - notetype 12, 11, 3 - octave 4 - E_ 4 - endchannel - - -SFX_1f_3a_Ch2: ; 7e867 (1f:6867) - executemusic - vibrato 8, 2, 7 - duty 2 - notetype 4, 12, 1 - octave 4 - E_ 2 - E_ 2 - E_ 2 - notetype 12, 12, 3 - B_ 4 - endchannel - - -SFX_1f_3a_Ch3: ; 7e877 (1f:6877) - executemusic - notetype 4, 1, 0 - octave 4 - B_ 1 - rest 1 - B_ 1 - rest 1 - B_ 1 - rest 1 - notetype 12, 1, 0 - octave 4 - B_ 2 - rest 2 - endchannel diff --git a/audio/sfx/sfx_1f_3b.asm b/audio/sfx/sfx_1f_3b.asm deleted file mode 100755 index 66e3ba03..00000000 --- a/audio/sfx/sfx_1f_3b.asm +++ /dev/null @@ -1,69 +0,0 @@ -SFX_1f_3b_Ch1: ; 7ee28 (1f:6e28) - executemusic - tempo 256 - volume 7, 7 - duty 2 - toggleperfectpitch - notetype 5, 11, 4 - octave 4 - D_ 4 - C_ 4 - octave 3 - A_ 8 - notetype 5, 11, 2 - octave 4 - D# 2 - D# 2 - D_ 2 - C_ 2 - C_ 2 - octave 3 - A# 2 - notetype 5, 11, 4 - octave 4 - C_ 8 - endchannel - - -SFX_1f_3b_Ch2: ; 7ee47 (1f:6e47) - executemusic - vibrato 8, 2, 7 - duty 2 - notetype 5, 12, 5 - octave 4 - A_ 4 - F_ 4 - C_ 8 - notetype 5, 12, 2 - A# 2 - A# 2 - A# 2 - G_ 2 - G_ 2 - A# 2 - notetype 5, 12, 4 - A_ 8 - endchannel - - -SFX_1f_3b_Ch3: ; 7ee5f (1f:6e5f) - executemusic - notetype 5, 1, 0 - octave 5 - F_ 4 - D# 4 - C_ 8 - D# 1 - rest 1 - D# 1 - rest 1 - E_ 1 - rest 1 - F_ 1 - rest 1 - F_ 1 - rest 1 - G_ 1 - rest 1 - A_ 8 - endchannel diff --git a/audio/sfx/sfx_1f_3c.asm b/audio/sfx/sfx_1f_3c.asm deleted file mode 100755 index 688e89d2..00000000 --- a/audio/sfx/sfx_1f_3c.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_1f_3c_Ch1: ; 7c3f3 (1f:43f3) - duty 2 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 2 - unknownsfx0x10 34 - unknownsfx0x20 8, 226, 0, 2 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_3d.asm b/audio/sfx/sfx_1f_3d.asm deleted file mode 100755 index f5eb6afa..00000000 --- a/audio/sfx/sfx_1f_3d.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_3d_Ch1: ; 7c490 (1f:4490) - duty 2 - unknownsfx0x10 23 - unknownsfx0x20 15, 240, 240, 4 - unknownsfx0x20 15, 242, 80, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_3e.asm b/audio/sfx/sfx_1f_3e.asm deleted file mode 100755 index 604e553b..00000000 --- a/audio/sfx/sfx_1f_3e.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_1f_3e_Ch1: ; 7c4b2 (1f:44b2) - duty 2 - unknownsfx0x10 20 - unknownsfx0x20 4, 242, 0, 6 - unknownsfx0x20 4, 242, 0, 6 - unknownsfx0x10 23 - unknownsfx0x20 15, 242, 0, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_3f.asm b/audio/sfx/sfx_1f_3f.asm deleted file mode 100755 index 68ab34d5..00000000 --- a/audio/sfx/sfx_1f_3f.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_1f_3f_Ch1: ; 7c3c3 (1f:43c3) - unknownnoise0x20 1, 226, 51 - unknownnoise0x20 8, 225, 34 - endchannel diff --git a/audio/sfx/sfx_1f_40.asm b/audio/sfx/sfx_1f_40.asm deleted file mode 100755 index 04f89afb..00000000 --- a/audio/sfx/sfx_1f_40.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_40_Ch1: ; 7c44b (1f:444b) - duty 2 - unknownsfx0x20 0, 145, 192, 7 - unknownsfx0x20 0, 129, 208, 7 - unknownsfx0x20 0, 145, 192, 7 - unknownsfx0x20 12, 161, 208, 7 - endchannel diff --git a/audio/sfx/sfx_1f_41.asm b/audio/sfx/sfx_1f_41.asm deleted file mode 100755 index 415d43d5..00000000 --- a/audio/sfx/sfx_1f_41.asm +++ /dev/null @@ -1,77 +0,0 @@ -SFX_1f_41_Ch1: ; 7edda (1f:6dda) - executemusic - tempo 256 - volume 7, 7 - duty 2 - notetype 5, 11, 1 - octave 3 - A_ 2 - A_ 2 - G_ 2 - G_ 2 - F_ 2 - E_ 2 - F_ 2 - A_ 2 - octave 4 - C_ 4 - E_ 4 - octave 3 - F_ 4 - endchannel - - -SFX_1f_41_Ch2: ; 7edf3 (1f:6df3) - executemusic - duty 2 - notetype 5, 12, 2 - octave 5 - F_ 2 - E_ 1 - rest 1 - D_ 2 - C_ 1 - rest 1 - octave 4 - A# 2 - octave 5 - C_ 2 - D_ 2 - E_ 2 - F_ 4 - G_ 4 - F_ 4 - endchannel - - -SFX_1f_41_Ch3: ; 7ee09 (1f:6e09) - executemusic - notetype 5, 1, 0 - octave 5 - C_ 1 - rest 1 - octave 4 - F_ 2 - octave 5 - C_ 1 - rest 1 - octave 4 - A# 1 - rest 1 - A_ 1 - rest 1 - G_ 1 - rest 1 - F_ 1 - rest 1 - E_ 1 - rest 1 - octave 5 - F_ 1 - rest 3 - C_ 1 - rest 3 - octave 4 - F_ 2 - rest 2 - endchannel diff --git a/audio/sfx/sfx_1f_42.asm b/audio/sfx/sfx_1f_42.asm deleted file mode 100755 index 103b01c6..00000000 --- a/audio/sfx/sfx_1f_42.asm +++ /dev/null @@ -1,59 +0,0 @@ -SFX_1f_42_Ch1: ; 7ee74 (1f:6e74) - executemusic - tempo 256 - volume 7, 7 - duty 2 - toggleperfectpitch - notetype 5, 10, 4 - octave 3 - A# 4 - notetype 5, 11, 1 - octave 4 - C_ 2 - C_ 1 - C_ 1 - notetype 5, 10, 4 - D# 4 - notetype 5, 11, 1 - F_ 2 - F_ 1 - F_ 1 - notetype 5, 11, 4 - A# 8 - endchannel - - -SFX_1f_42_Ch2: ; 7ee93 (1f:6e93) - executemusic - vibrato 4, 2, 3 - duty 2 - notetype 5, 13, 1 - octave 4 - G_ 2 - G_ 1 - G_ 1 - notetype 5, 12, 4 - D# 4 - notetype 5, 13, 1 - G# 2 - G# 1 - G# 1 - A# 2 - A# 1 - A# 1 - notetype 5, 12, 4 - octave 5 - D# 8 - endchannel - - -SFX_1f_42_Ch3: ; 7eeaf (1f:6eaf) - executemusic - notetype 5, 1, 0 - octave 4 - D# 4 - G# 4 - G_ 4 - F_ 4 - D# 8 - endchannel diff --git a/audio/sfx/sfx_1f_43.asm b/audio/sfx/sfx_1f_43.asm deleted file mode 100755 index 1f238fb0..00000000 --- a/audio/sfx/sfx_1f_43.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_1f_43_Ch1: ; 7c49f (1f:449f) - duty 0 - unknownsfx0x10 20 - unknownsfx0x20 4, 242, 0, 6 - loopchannel 4, SFX_1f_43_Ch1 - unknownsfx0x20 15, 243, 0, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_44.asm b/audio/sfx/sfx_1f_44.asm deleted file mode 100755 index fc404eab..00000000 --- a/audio/sfx/sfx_1f_44.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_44_Ch1: ; 7c4c7 (1f:44c7) - duty 2 - unknownsfx0x10 21 - unknownsfx0x20 15, 240, 240, 4 - unknownsfx0x20 15, 242, 80, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_45.asm b/audio/sfx/sfx_1f_45.asm deleted file mode 100755 index f6548431..00000000 --- a/audio/sfx/sfx_1f_45.asm +++ /dev/null @@ -1,14 +0,0 @@ -SFX_1f_45_Ch1: ; 7c4d6 (1f:44d6) - duty 2 - unknownsfx0x20 15, 242, 192, 7 - unknownsfx0x20 15, 0, 0, 0 - unknownsfx0x20 15, 0, 0, 0 - unknownsfx0x20 3, 129, 128, 7 - unknownsfx0x20 3, 129, 0, 7 - unknownsfx0x20 3, 129, 64, 7 - unknownsfx0x20 3, 129, 0, 7 - unknownsfx0x20 3, 129, 128, 7 - unknownsfx0x20 3, 129, 0, 7 - unknownsfx0x20 3, 129, 192, 7 - unknownsfx0x20 3, 129, 0, 7 - endchannel diff --git a/audio/sfx/sfx_1f_46.asm b/audio/sfx/sfx_1f_46.asm deleted file mode 100755 index 3cd98880..00000000 --- a/audio/sfx/sfx_1f_46.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_46_Ch1: ; 7c505 (1f:4505) - duty 2 - unknownsfx0x20 4, 240, 0, 6 - unknownsfx0x20 4, 240, 0, 4 - unknownsfx0x20 4, 240, 0, 2 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_47.asm b/audio/sfx/sfx_1f_47.asm deleted file mode 100755 index 729369e8..00000000 --- a/audio/sfx/sfx_1f_47.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_47_Ch1: ; 7c518 (1f:4518) - duty 2 - unknownsfx0x20 4, 240, 0, 7 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 4, 240, 0, 7 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_48.asm b/audio/sfx/sfx_1f_48.asm deleted file mode 100755 index 35aa7ad5..00000000 --- a/audio/sfx/sfx_1f_48.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_1f_48_Ch1: ; 7c52b (1f:452b) - duty 1 - unknownsfx0x10 23 - unknownsfx0x20 15, 215, 0, 6 - unknownsfx0x20 15, 183, 128, 5 - unknownsfx0x20 15, 135, 0, 5 - unknownsfx0x20 15, 71, 128, 4 - unknownsfx0x20 15, 23, 0, 4 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_49.asm b/audio/sfx/sfx_1f_49.asm deleted file mode 100755 index 160979ac..00000000 --- a/audio/sfx/sfx_1f_49.asm +++ /dev/null @@ -1,8 +0,0 @@ -SFX_1f_49_Ch1: ; 7c546 (1f:4546) - duty 2 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 2, 241, 128, 6 - unknownsfx0x20 1, 0, 0, 0 - unknownsfx0x20 4, 241, 128, 7 - unknownsfx0x20 4, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_4a.asm b/audio/sfx/sfx_1f_4a.asm deleted file mode 100755 index 187e9b10..00000000 --- a/audio/sfx/sfx_1f_4a.asm +++ /dev/null @@ -1,9 +0,0 @@ -SFX_1f_4a_Ch1: ; 7c55d (1f:455d) - duty 2 - unknownsfx0x10 44 - unknownsfx0x20 4, 242, 0, 5 - unknownsfx0x10 34 - unknownsfx0x20 2, 241, 0, 5 - unknownsfx0x10 8 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_4b.asm b/audio/sfx/sfx_1f_4b.asm deleted file mode 100755 index b3065b2f..00000000 --- a/audio/sfx/sfx_1f_4b.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_1f_4b_Ch1: ; 7c572 (1f:4572) - duty 1 - unknownsfx0x10 23 - unknownsfx0x20 15, 215, 0, 5 - unknownsfx0x20 15, 183, 128, 5 - unknownsfx0x20 15, 135, 0, 6 - unknownsfx0x20 15, 71, 128, 6 - unknownsfx0x20 15, 23, 0, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_4c.asm b/audio/sfx/sfx_1f_4c.asm deleted file mode 100755 index 56004e05..00000000 --- a/audio/sfx/sfx_1f_4c.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_1f_4c_Ch1: ; 7c58d (1f:458d) - duty 1 - unknownsfx0x10 23 - unknownsfx0x20 15, 215, 0, 7 - unknownsfx0x20 15, 183, 128, 6 - unknownsfx0x20 15, 135, 0, 6 - unknownsfx0x20 15, 71, 128, 5 - unknownsfx0x20 15, 23, 0, 5 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_4d.asm b/audio/sfx/sfx_1f_4d.asm deleted file mode 100755 index c57299c0..00000000 --- a/audio/sfx/sfx_1f_4d.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_4d_Ch1: ; 7c5a8 (1f:45a8) - duty 1 - unknownsfx0x10 22 - unknownsfx0x20 15, 210, 0, 5 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_4e.asm b/audio/sfx/sfx_1f_4e.asm deleted file mode 100755 index 624c2137..00000000 --- a/audio/sfx/sfx_1f_4e.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_4e_Ch1: ; 7c5b3 (1f:45b3) - duty 2 - unknownsfx0x10 149 - unknownsfx0x20 15, 242, 0, 4 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_4f.asm b/audio/sfx/sfx_1f_4f.asm deleted file mode 100755 index 91394f9f..00000000 --- a/audio/sfx/sfx_1f_4f.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_4f_Ch1: ; 7c5be (1f:45be) - unknownnoise0x20 2, 241, 50 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 241, 34 - unknownnoise0x20 1, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_50.asm b/audio/sfx/sfx_1f_50.asm deleted file mode 100755 index 50cc4ee7..00000000 --- a/audio/sfx/sfx_1f_50.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_1f_50_Ch1: ; 7c5cb (1f:45cb) - unknownnoise0x20 2, 241, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 161, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 209, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 129, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 177, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 97, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 145, 18 - unknownnoise0x20 2, 0, 0 - unknownnoise0x20 2, 65, 18 - unknownnoise0x20 2, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_51.asm b/audio/sfx/sfx_1f_51.asm deleted file mode 100755 index 438877f1..00000000 --- a/audio/sfx/sfx_1f_51.asm +++ /dev/null @@ -1,18 +0,0 @@ -SFX_1f_51_Ch1: ; 7c5fc (1f:45fc) - duty 3 - unknownsfx0x10 90 - unknownsfx0x20 4, 240, 0, 5 - unknownsfx0x10 8 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 1, 0, 0, 0 - endchannel - - -SFX_1f_51_Ch2: ; 7c613 (1f:4613) - duty 3 - unknownsfx0x20 4, 240, 1, 4 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 1, 4 - unknownsfx0x20 1, 0, 0, 0 - endchannel diff --git a/audio/sfx/sfx_1f_52.asm b/audio/sfx/sfx_1f_52.asm deleted file mode 100755 index 98ef0d30..00000000 --- a/audio/sfx/sfx_1f_52.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_52_Ch1: ; 7c626 (1f:4626) - duty 0 - unknownsfx0x10 23 - unknownsfx0x20 15, 210, 0, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_53.asm b/audio/sfx/sfx_1f_53.asm deleted file mode 100755 index 04415233..00000000 --- a/audio/sfx/sfx_1f_53.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_1f_53_Ch1: ; 7c631 (1f:4631) - unknownnoise0x20 4, 162, 35 - unknownnoise0x20 8, 241, 52 - unknownnoise0x20 15, 0, 0 - unknownnoise0x20 2, 247, 36 - unknownnoise0x20 2, 247, 52 - unknownnoise0x20 4, 247, 68 - unknownnoise0x20 8, 244, 85 - unknownnoise0x20 8, 241, 68 - endchannel diff --git a/audio/sfx/sfx_1f_54.asm b/audio/sfx/sfx_1f_54.asm deleted file mode 100755 index faf5304e..00000000 --- a/audio/sfx/sfx_1f_54.asm +++ /dev/null @@ -1,22 +0,0 @@ -SFX_1f_54_Ch1: ; 7c64a (1f:464a) - duty 2 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 240, 0, 5 - unknownsfx0x20 15, 242, 0, 5 - endchannel - - -SFX_1f_54_Ch2: ; 7c669 (1f:4669) - duty 3 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 4, 0, 0, 0 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 240, 130, 4 - unknownsfx0x20 15, 242, 130, 4 - endchannel diff --git a/audio/sfx/sfx_1f_55.asm b/audio/sfx/sfx_1f_55.asm deleted file mode 100755 index e2fbffae..00000000 --- a/audio/sfx/sfx_1f_55.asm +++ /dev/null @@ -1,12 +0,0 @@ -SFX_1f_55_Ch1: ; 7c688 (1f:4688) - duty 1 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 5 - unknownsfx0x10 34 - unknownsfx0x20 4, 226, 0, 5 - unknownsfx0x10 58 - unknownsfx0x20 4, 242, 0, 7 - unknownsfx0x10 34 - unknownsfx0x20 15, 226, 0, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_56.asm b/audio/sfx/sfx_1f_56.asm deleted file mode 100755 index 30de8cd2..00000000 --- a/audio/sfx/sfx_1f_56.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_56_Ch1: ; 7c3ca (1f:43ca) - unknownnoise0x20 2, 247, 36 - unknownnoise0x20 2, 247, 52 - unknownnoise0x20 4, 247, 68 - unknownnoise0x20 8, 244, 85 - unknownnoise0x20 8, 241, 68 - endchannel diff --git a/audio/sfx/sfx_1f_57.asm b/audio/sfx/sfx_1f_57.asm deleted file mode 100755 index b73bb687..00000000 --- a/audio/sfx/sfx_1f_57.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_1f_57_Ch1: ; 7c3da (1f:43da) - unknownnoise0x20 9, 241, 68 - unknownnoise0x20 8, 209, 67 - endchannel diff --git a/audio/sfx/sfx_1f_58.asm b/audio/sfx/sfx_1f_58.asm deleted file mode 100755 index f5844495..00000000 --- a/audio/sfx/sfx_1f_58.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_1f_58_Ch1: ; 7c3e1 (1f:43e1) - duty 2 - unknownsfx0x20 8, 225, 64, 7 - endchannel - - -SFX_1f_58_Ch2: ; 7c3e8 (1f:43e8) - duty 2 - unknownsfx0x20 2, 8, 0, 0 - unknownsfx0x20 8, 177, 65, 7 - endchannel diff --git a/audio/sfx/sfx_1f_59.asm b/audio/sfx/sfx_1f_59.asm deleted file mode 100755 index 9c17156f..00000000 --- a/audio/sfx/sfx_1f_59.asm +++ /dev/null @@ -1,11 +0,0 @@ -SFX_1f_59_Ch1: ; 7c404 (1f:4404) - duty 2 - unknownsfx0x20 4, 241, 128, 7 - endchannel - - -SFX_1f_59_Ch2: ; 7c40b (1f:440b) - duty 2 - unknownsfx0x20 1, 8, 0, 0 - unknownsfx0x20 4, 161, 97, 7 - endchannel diff --git a/audio/sfx/sfx_1f_5a.asm b/audio/sfx/sfx_1f_5a.asm deleted file mode 100755 index 29b947b7..00000000 --- a/audio/sfx/sfx_1f_5a.asm +++ /dev/null @@ -1,13 +0,0 @@ -SFX_1f_5a_Ch1: ; 7c416 (1f:4416) - duty 2 - unknownsfx0x20 4, 225, 0, 7 - unknownsfx0x20 8, 242, 224, 7 - endchannel - - -SFX_1f_5a_Ch2: ; 7c421 (1f:4421) - duty 2 - unknownsfx0x20 1, 8, 0, 0 - unknownsfx0x20 4, 145, 193, 6 - unknownsfx0x20 8, 162, 161, 7 - endchannel diff --git a/audio/sfx/sfx_1f_5b.asm b/audio/sfx/sfx_1f_5b.asm deleted file mode 100755 index bc2e6fef..00000000 --- a/audio/sfx/sfx_1f_5b.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_5b_Ch1: ; 7c430 (1f:4430) - duty 2 - unknownsfx0x10 90 - unknownsfx0x20 15, 241, 0, 3 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_5c.asm b/audio/sfx/sfx_1f_5c.asm deleted file mode 100755 index 8671002c..00000000 --- a/audio/sfx/sfx_1f_5c.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_5c_Ch1: ; 7c43b (1f:443b) - unknownnoise0x20 2, 241, 84 - unknownnoise0x20 12, 113, 35 - unknownnoise0x20 2, 177, 84 - unknownnoise0x20 12, 97, 35 - unknownnoise0x20 6, 65, 84 - endchannel diff --git a/audio/sfx/sfx_1f_5d.asm b/audio/sfx/sfx_1f_5d.asm deleted file mode 100755 index 3a325f27..00000000 --- a/audio/sfx/sfx_1f_5d.asm +++ /dev/null @@ -1,36 +0,0 @@ -SFX_1f_5d_Ch1: ; 7c45e (1f:445e) - duty 2 -IF DEF(_RED) - unknownsfx0x20 4, 244, 0, 7 - unknownsfx0x20 3, 228, 128, 6 - unknownsfx0x20 3, 228, 192, 6 - unknownsfx0x20 3, 228, 0, 7 - unknownsfx0x20 2, 228, 160, 7 -ELSE - unknownsfx0x20 3, 228, 0, 6 - unknownsfx0x20 3, 228, 128, 6 - unknownsfx0x20 3, 228, 192, 6 - unknownsfx0x20 3, 228, 0, 7 - unknownsfx0x20 15, 242, 224, 7 -ENDC - endchannel - - -SFX_1f_5d_Ch2: ; 7c475 (1f:4475) - duty 2 -IF DEF(_RED) - unknownsfx0x20 4, 8, 0, 0 - unknownsfx0x20 3, 212, 1, 7 - unknownsfx0x20 3, 196, 129, 6 - unknownsfx0x20 3, 196, 193, 6 - unknownsfx0x20 3, 196, 1, 7 - unknownsfx0x20 2, 196, 161, 7 -ELSE - unknownsfx0x20 3, 8, 0, 0 - unknownsfx0x20 3, 196, 1, 6 - unknownsfx0x20 3, 196, 129, 6 - unknownsfx0x20 3, 196, 193, 6 - unknownsfx0x20 3, 196, 1, 7 - unknownsfx0x20 15, 210, 225, 7 -ENDC - endchannel diff --git a/audio/sfx/sfx_1f_5e.asm b/audio/sfx/sfx_1f_5e.asm deleted file mode 100755 index 6adbb979..00000000 --- a/audio/sfx/sfx_1f_5e.asm +++ /dev/null @@ -1,10 +0,0 @@ -SFX_1f_5e_Ch1: ; 7c6a5 (1f:46a5) - unknownnoise0x20 6, 32, 16 - unknownnoise0x20 6, 47, 64 - unknownnoise0x20 6, 79, 65 - unknownnoise0x20 6, 143, 65 - unknownnoise0x20 6, 207, 66 - unknownnoise0x20 8, 215, 66 - unknownnoise0x20 15, 231, 67 - unknownnoise0x20 15, 242, 67 - endchannel diff --git a/audio/sfx/sfx_1f_5f.asm b/audio/sfx/sfx_1f_5f.asm deleted file mode 100755 index efc1a5e3..00000000 --- a/audio/sfx/sfx_1f_5f.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_5f_Ch1: ; 7c6be (1f:46be) - duty 2 - unknownsfx0x10 38 - unknownsfx0x20 12, 194, 64, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_60.asm b/audio/sfx/sfx_1f_60.asm deleted file mode 100755 index 907aa79f..00000000 --- a/audio/sfx/sfx_1f_60.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_60_Ch1: ; 7c6c9 (1f:46c9) - duty 2 - unknownsfx0x10 38 - unknownsfx0x20 12, 194, 128, 6 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/sfx_1f_61.asm b/audio/sfx/sfx_1f_61.asm deleted file mode 100755 index 0afe5055..00000000 --- a/audio/sfx/sfx_1f_61.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_1f_61_Ch1: ; 7c6d4 (1f:46d4) - unknownnoise0x20 2, 111, 33 - unknownnoise0x20 2, 175, 49 - unknownnoise0x20 15, 242, 65 - endchannel diff --git a/audio/sfx/sfx_1f_62.asm b/audio/sfx/sfx_1f_62.asm deleted file mode 100755 index 8029ff02..00000000 --- a/audio/sfx/sfx_1f_62.asm +++ /dev/null @@ -1,4 +0,0 @@ -SFX_1f_62_Ch1: ; 7c6de (1f:46de) - unknownnoise0x20 2, 210, 50 - unknownnoise0x20 15, 242, 67 - endchannel diff --git a/audio/sfx/sfx_1f_63.asm b/audio/sfx/sfx_1f_63.asm deleted file mode 100755 index 2114130a..00000000 --- a/audio/sfx/sfx_1f_63.asm +++ /dev/null @@ -1,7 +0,0 @@ -SFX_1f_63_Ch1: ; 7c6e5 (1f:46e5) - unknownnoise0x20 4, 44, 32 - unknownnoise0x20 3, 160, 32 - unknownnoise0x20 3, 176, 33 - unknownnoise0x20 3, 192, 34 - unknownnoise0x20 15, 210, 36 - endchannel diff --git a/audio/sfx/sfx_1f_64.asm b/audio/sfx/sfx_1f_64.asm deleted file mode 100755 index ab5a4c04..00000000 --- a/audio/sfx/sfx_1f_64.asm +++ /dev/null @@ -1,6 +0,0 @@ -SFX_1f_64_Ch1: ; 7c6f5 (1f:46f5) - duty 2 - unknownsfx0x20 1, 242, 160, 6 - unknownsfx0x20 1, 242, 224, 6 - unknownsfx0x20 8, 241, 0, 7 - endchannel diff --git a/audio/sfx/sfx_1f_65.asm b/audio/sfx/sfx_1f_65.asm deleted file mode 100755 index dc564910..00000000 --- a/audio/sfx/sfx_1f_65.asm +++ /dev/null @@ -1,5 +0,0 @@ -SFX_1f_65_Ch1: ; 7c704 (1f:4704) - duty 2 - unknownsfx0x20 2, 241, 0, 7 - unknownsfx0x20 8, 129, 224, 7 - endchannel diff --git a/audio/sfx/sfx_1f_66.asm b/audio/sfx/sfx_1f_66.asm deleted file mode 100755 index 068917bb..00000000 --- a/audio/sfx/sfx_1f_66.asm +++ /dev/null @@ -1,14 +0,0 @@ -SFX_1f_66_Ch1: ; 7c70f (1f:470f) - duty 3 - unknownsfx0x20 5, 225, 0, 7 - unknownsfx0x20 2, 225, 128, 7 - unknownsfx0x20 15, 241, 192, 7 - endchannel - - -SFX_1f_66_Ch2: ; 7c71e (1f:471e) - duty 2 - unknownsfx0x20 4, 193, 193, 6 - unknownsfx0x20 2, 193, 65, 7 - unknownsfx0x20 15, 209, 129, 7 - endchannel diff --git a/audio/sfx/sfx_1f_67.asm b/audio/sfx/sfx_1f_67.asm deleted file mode 100755 index a81d47bf..00000000 --- a/audio/sfx/sfx_1f_67.asm +++ /dev/null @@ -1,14 +0,0 @@ -SFX_1f_67_Ch1: ; 7c72d (1f:472d) - dutycycle 228 - unknownsfx0x10 47 - unknownsfx0x20 4, 64, 224, 7 - unknownsfx0x20 4, 96, 224, 7 - unknownsfx0x20 4, 128, 224, 7 - unknownsfx0x20 8, 160, 224, 7 - unknownsfx0x20 8, 160, 224, 7 - unknownsfx0x20 8, 128, 224, 7 - unknownsfx0x20 8, 96, 224, 7 - unknownsfx0x20 8, 48, 224, 7 - unknownsfx0x20 15, 18, 224, 7 - unknownsfx0x10 8 - endchannel diff --git a/audio/sfx/shooting_star.asm b/audio/sfx/shooting_star.asm new file mode 100644 index 00000000..2cb831c8 --- /dev/null +++ b/audio/sfx/shooting_star.asm @@ -0,0 +1,14 @@ +SFX_Shooting_Star_Ch1: ; 7c72d (1f:472d) + dutycycle 228 + unknownsfx0x10 47 + unknownsfx0x20 4, 64, 224, 7 + unknownsfx0x20 4, 96, 224, 7 + unknownsfx0x20 4, 128, 224, 7 + unknownsfx0x20 8, 160, 224, 7 + unknownsfx0x20 8, 160, 224, 7 + unknownsfx0x20 8, 128, 224, 7 + unknownsfx0x20 8, 96, 224, 7 + unknownsfx0x20 8, 48, 224, 7 + unknownsfx0x20 15, 18, 224, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/shrink_1.asm b/audio/sfx/shrink_1.asm new file mode 100644 index 00000000..61ca1933 --- /dev/null +++ b/audio/sfx/shrink_1.asm @@ -0,0 +1,10 @@ +SFX_Shrink_1_Ch1: ; 854e (2:454e) + duty 1 + unknownsfx0x10 23 + unknownsfx0x20 15, 215, 0, 6 + unknownsfx0x20 15, 183, 128, 5 + unknownsfx0x20 15, 135, 0, 5 + unknownsfx0x20 15, 71, 128, 4 + unknownsfx0x20 15, 23, 0, 4 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/shrink_3.asm b/audio/sfx/shrink_3.asm new file mode 100644 index 00000000..59fe1556 --- /dev/null +++ b/audio/sfx/shrink_3.asm @@ -0,0 +1,10 @@ +SFX_Shrink_3_Ch1: ; 7c52b (1f:452b) + duty 1 + unknownsfx0x10 23 + unknownsfx0x20 15, 215, 0, 6 + unknownsfx0x20 15, 183, 128, 5 + unknownsfx0x20 15, 135, 0, 5 + unknownsfx0x20 15, 71, 128, 4 + unknownsfx0x20 15, 23, 0, 4 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/silph_scope.asm b/audio/sfx/silph_scope.asm new file mode 100644 index 00000000..66e4fe95 --- /dev/null +++ b/audio/sfx/silph_scope.asm @@ -0,0 +1,9 @@ +SFX_Silph_Scope_Ch1: ; 20412 (8:4412) + duty 0 + unknownsfx0x20 0, 210, 0, 7 + unknownsfx0x20 0, 210, 64, 7 + unknownsfx0x20 0, 210, 128, 7 + unknownsfx0x20 0, 210, 192, 7 + unknownsfx0x20 10, 225, 224, 7 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/slots_new_spin.asm b/audio/sfx/slots_new_spin.asm new file mode 100644 index 00000000..d122517d --- /dev/null +++ b/audio/sfx/slots_new_spin.asm @@ -0,0 +1,14 @@ +SFX_Slots_New_Spin_Ch1: ; 7c70f (1f:470f) + duty 3 + unknownsfx0x20 5, 225, 0, 7 + unknownsfx0x20 2, 225, 128, 7 + unknownsfx0x20 15, 241, 192, 7 + endchannel + + +SFX_Slots_New_Spin_Ch2: ; 7c71e (1f:471e) + duty 2 + unknownsfx0x20 4, 193, 193, 6 + unknownsfx0x20 2, 193, 65, 7 + unknownsfx0x20 15, 209, 129, 7 + endchannel diff --git a/audio/sfx/slots_reward.asm b/audio/sfx/slots_reward.asm new file mode 100644 index 00000000..2400c0df --- /dev/null +++ b/audio/sfx/slots_reward.asm @@ -0,0 +1,5 @@ +SFX_Slots_Reward_Ch1: ; 7c704 (1f:4704) + duty 2 + unknownsfx0x20 2, 241, 0, 7 + unknownsfx0x20 8, 129, 224, 7 + endchannel diff --git a/audio/sfx/slots_stop_wheel.asm b/audio/sfx/slots_stop_wheel.asm new file mode 100644 index 00000000..e67af4c4 --- /dev/null +++ b/audio/sfx/slots_stop_wheel.asm @@ -0,0 +1,6 @@ +SFX_Slots_Stop_Wheel_Ch1: ; 7c6f5 (1f:46f5) + duty 2 + unknownsfx0x20 1, 242, 160, 6 + unknownsfx0x20 1, 242, 224, 6 + unknownsfx0x20 8, 241, 0, 7 + endchannel diff --git a/audio/sfx/snare1_1.asm b/audio/sfx/snare1_1.asm new file mode 100644 index 00000000..3aa0f74e --- /dev/null +++ b/audio/sfx/snare1_1.asm @@ -0,0 +1,3 @@ +SFX_Snare1_1_Ch1: ; 82fd (2:42fd) + unknownnoise0x20 0, 193, 51 + endchannel diff --git a/audio/sfx/snare1_2.asm b/audio/sfx/snare1_2.asm new file mode 100644 index 00000000..7d0c3413 --- /dev/null +++ b/audio/sfx/snare1_2.asm @@ -0,0 +1,3 @@ +SFX_Snare1_2_Ch1: ; 202fd (8:42fd) + unknownnoise0x20 0, 193, 51 + endchannel diff --git a/audio/sfx/snare1_3.asm b/audio/sfx/snare1_3.asm new file mode 100644 index 00000000..8d92bff6 --- /dev/null +++ b/audio/sfx/snare1_3.asm @@ -0,0 +1,3 @@ +SFX_Snare1_3_Ch1: ; 7c2fd (1f:42fd) + unknownnoise0x20 0, 193, 51 + endchannel diff --git a/audio/sfx/snare2_1.asm b/audio/sfx/snare2_1.asm new file mode 100644 index 00000000..7636a4f3 --- /dev/null +++ b/audio/sfx/snare2_1.asm @@ -0,0 +1,3 @@ +SFX_Snare2_1_Ch1: ; 8301 (2:4301) + unknownnoise0x20 0, 177, 51 + endchannel diff --git a/audio/sfx/snare2_2.asm b/audio/sfx/snare2_2.asm new file mode 100644 index 00000000..4c34e91a --- /dev/null +++ b/audio/sfx/snare2_2.asm @@ -0,0 +1,3 @@ +SFX_Snare2_2_Ch1: ; 20301 (8:4301) + unknownnoise0x20 0, 177, 51 + endchannel diff --git a/audio/sfx/snare2_3.asm b/audio/sfx/snare2_3.asm new file mode 100644 index 00000000..eb816f54 --- /dev/null +++ b/audio/sfx/snare2_3.asm @@ -0,0 +1,3 @@ +SFX_Snare2_3_Ch1: ; 7c301 (1f:4301) + unknownnoise0x20 0, 177, 51 + endchannel diff --git a/audio/sfx/snare3_1.asm b/audio/sfx/snare3_1.asm new file mode 100644 index 00000000..b7e319b2 --- /dev/null +++ b/audio/sfx/snare3_1.asm @@ -0,0 +1,3 @@ +SFX_Snare3_1_Ch1: ; 8305 (2:4305) + unknownnoise0x20 0, 161, 51 + endchannel diff --git a/audio/sfx/snare3_2.asm b/audio/sfx/snare3_2.asm new file mode 100644 index 00000000..ce889e55 --- /dev/null +++ b/audio/sfx/snare3_2.asm @@ -0,0 +1,3 @@ +SFX_Snare3_2_Ch1: ; 20305 (8:4305) + unknownnoise0x20 0, 161, 51 + endchannel diff --git a/audio/sfx/snare3_3.asm b/audio/sfx/snare3_3.asm new file mode 100644 index 00000000..c94f436f --- /dev/null +++ b/audio/sfx/snare3_3.asm @@ -0,0 +1,3 @@ +SFX_Snare3_3_Ch1: ; 7c305 (1f:4305) + unknownnoise0x20 0, 161, 51 + endchannel diff --git a/audio/sfx/snare4_1.asm b/audio/sfx/snare4_1.asm new file mode 100644 index 00000000..20c62731 --- /dev/null +++ b/audio/sfx/snare4_1.asm @@ -0,0 +1,3 @@ +SFX_Snare4_1_Ch1: ; 8309 (2:4309) + unknownnoise0x20 0, 129, 51 + endchannel diff --git a/audio/sfx/snare4_2.asm b/audio/sfx/snare4_2.asm new file mode 100644 index 00000000..da38dd62 --- /dev/null +++ b/audio/sfx/snare4_2.asm @@ -0,0 +1,3 @@ +SFX_Snare4_2_Ch1: ; 20309 (8:4309) + unknownnoise0x20 0, 129, 51 + endchannel diff --git a/audio/sfx/snare4_3.asm b/audio/sfx/snare4_3.asm new file mode 100644 index 00000000..4496260b --- /dev/null +++ b/audio/sfx/snare4_3.asm @@ -0,0 +1,3 @@ +SFX_Snare4_3_Ch1: ; 7c309 (1f:4309) + unknownnoise0x20 0, 129, 51 + endchannel diff --git a/audio/sfx/snare5_1.asm b/audio/sfx/snare5_1.asm new file mode 100644 index 00000000..e0ae8b4c --- /dev/null +++ b/audio/sfx/snare5_1.asm @@ -0,0 +1,8 @@ +SFX_Snare5_1_Ch1: ; 830d (2:430d) + unknownnoise0x20 7, 132, 55 + unknownnoise0x20 6, 132, 54 + unknownnoise0x20 5, 131, 53 + unknownnoise0x20 4, 131, 52 + unknownnoise0x20 3, 130, 51 + unknownnoise0x20 2, 129, 50 + endchannel diff --git a/audio/sfx/snare5_2.asm b/audio/sfx/snare5_2.asm new file mode 100644 index 00000000..649463cc --- /dev/null +++ b/audio/sfx/snare5_2.asm @@ -0,0 +1,8 @@ +SFX_Snare5_2_Ch1: ; 2030d (8:430d) + unknownnoise0x20 7, 132, 55 + unknownnoise0x20 6, 132, 54 + unknownnoise0x20 5, 131, 53 + unknownnoise0x20 4, 131, 52 + unknownnoise0x20 3, 130, 51 + unknownnoise0x20 2, 129, 50 + endchannel diff --git a/audio/sfx/snare5_3.asm b/audio/sfx/snare5_3.asm new file mode 100644 index 00000000..33a169b9 --- /dev/null +++ b/audio/sfx/snare5_3.asm @@ -0,0 +1,8 @@ +SFX_Snare5_3_Ch1: ; 7c30d (1f:430d) + unknownnoise0x20 7, 132, 55 + unknownnoise0x20 6, 132, 54 + unknownnoise0x20 5, 131, 53 + unknownnoise0x20 4, 131, 52 + unknownnoise0x20 3, 130, 51 + unknownnoise0x20 2, 129, 50 + endchannel diff --git a/audio/sfx/snare6_1.asm b/audio/sfx/snare6_1.asm new file mode 100644 index 00000000..4779226f --- /dev/null +++ b/audio/sfx/snare6_1.asm @@ -0,0 +1,3 @@ +SFX_Snare6_1_Ch1: ; 832b (2:432b) + unknownnoise0x20 0, 129, 16 + endchannel diff --git a/audio/sfx/snare6_2.asm b/audio/sfx/snare6_2.asm new file mode 100644 index 00000000..36359d02 --- /dev/null +++ b/audio/sfx/snare6_2.asm @@ -0,0 +1,3 @@ +SFX_Snare6_2_Ch1: ; 2032b (8:432b) + unknownnoise0x20 0, 129, 16 + endchannel diff --git a/audio/sfx/snare6_3.asm b/audio/sfx/snare6_3.asm new file mode 100644 index 00000000..d4807ff6 --- /dev/null +++ b/audio/sfx/snare6_3.asm @@ -0,0 +1,3 @@ +SFX_Snare6_3_Ch1: ; 7c32b (1f:432b) + unknownnoise0x20 0, 129, 16 + endchannel diff --git a/audio/sfx/snare7_1.asm b/audio/sfx/snare7_1.asm new file mode 100644 index 00000000..c53642ed --- /dev/null +++ b/audio/sfx/snare7_1.asm @@ -0,0 +1,3 @@ +SFX_Snare7_1_Ch1: ; 832f (2:432f) + unknownnoise0x20 0, 130, 35 + endchannel diff --git a/audio/sfx/snare7_2.asm b/audio/sfx/snare7_2.asm new file mode 100644 index 00000000..066aaa53 --- /dev/null +++ b/audio/sfx/snare7_2.asm @@ -0,0 +1,3 @@ +SFX_Snare7_2_Ch1: ; 2032f (8:432f) + unknownnoise0x20 0, 130, 35 + endchannel diff --git a/audio/sfx/snare7_3.asm b/audio/sfx/snare7_3.asm new file mode 100644 index 00000000..1b058a9b --- /dev/null +++ b/audio/sfx/snare7_3.asm @@ -0,0 +1,3 @@ +SFX_Snare7_3_Ch1: ; 7c32f (1f:432f) + unknownnoise0x20 0, 130, 35 + endchannel diff --git a/audio/sfx/snare8_1.asm b/audio/sfx/snare8_1.asm new file mode 100644 index 00000000..6269c7dc --- /dev/null +++ b/audio/sfx/snare8_1.asm @@ -0,0 +1,3 @@ +SFX_Snare8_1_Ch1: ; 8333 (2:4333) + unknownnoise0x20 0, 130, 37 + endchannel diff --git a/audio/sfx/snare8_2.asm b/audio/sfx/snare8_2.asm new file mode 100644 index 00000000..4c5bb18e --- /dev/null +++ b/audio/sfx/snare8_2.asm @@ -0,0 +1,3 @@ +SFX_Snare8_2_Ch1: ; 20333 (8:4333) + unknownnoise0x20 0, 130, 37 + endchannel diff --git a/audio/sfx/snare8_3.asm b/audio/sfx/snare8_3.asm new file mode 100644 index 00000000..d1f0edc0 --- /dev/null +++ b/audio/sfx/snare8_3.asm @@ -0,0 +1,3 @@ +SFX_Snare8_3_Ch1: ; 7c333 (1f:4333) + unknownnoise0x20 0, 130, 37 + endchannel diff --git a/audio/sfx/snare9_1.asm b/audio/sfx/snare9_1.asm new file mode 100644 index 00000000..44b2e8c7 --- /dev/null +++ b/audio/sfx/snare9_1.asm @@ -0,0 +1,3 @@ +SFX_Snare9_1_Ch1: ; 8337 (2:4337) + unknownnoise0x20 0, 130, 38 + endchannel diff --git a/audio/sfx/snare9_2.asm b/audio/sfx/snare9_2.asm new file mode 100644 index 00000000..1d20de2d --- /dev/null +++ b/audio/sfx/snare9_2.asm @@ -0,0 +1,3 @@ +SFX_Snare9_2_Ch1: ; 20337 (8:4337) + unknownnoise0x20 0, 130, 38 + endchannel diff --git a/audio/sfx/snare9_3.asm b/audio/sfx/snare9_3.asm new file mode 100644 index 00000000..849f4404 --- /dev/null +++ b/audio/sfx/snare9_3.asm @@ -0,0 +1,3 @@ +SFX_Snare9_3_Ch1: ; 7c337 (1f:4337) + unknownnoise0x20 0, 130, 38 + endchannel diff --git a/audio/sfx/ss_anne_horn_1.asm b/audio/sfx/ss_anne_horn_1.asm new file mode 100644 index 00000000..3989c148 --- /dev/null +++ b/audio/sfx/ss_anne_horn_1.asm @@ -0,0 +1,22 @@ +SFX_SS_Anne_Horn_1_Ch1: ; 866d (2:466d) + duty 2 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 242, 0, 5 + endchannel + + +SFX_SS_Anne_Horn_1_Ch2: ; 868c (2:468c) + duty 3 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 242, 130, 4 + endchannel diff --git a/audio/sfx/ss_anne_horn_3.asm b/audio/sfx/ss_anne_horn_3.asm new file mode 100644 index 00000000..c671b6cb --- /dev/null +++ b/audio/sfx/ss_anne_horn_3.asm @@ -0,0 +1,22 @@ +SFX_SS_Anne_Horn_3_Ch1: ; 7c64a (1f:464a) + duty 2 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 240, 0, 5 + unknownsfx0x20 15, 242, 0, 5 + endchannel + + +SFX_SS_Anne_Horn_3_Ch2: ; 7c669 (1f:4669) + duty 3 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 240, 130, 4 + unknownsfx0x20 15, 242, 130, 4 + endchannel diff --git a/audio/sfx/start_menu_1.asm b/audio/sfx/start_menu_1.asm new file mode 100644 index 00000000..350b08ce --- /dev/null +++ b/audio/sfx/start_menu_1.asm @@ -0,0 +1,4 @@ +SFX_Start_Menu_1_Ch1: ; 83c3 (2:43c3) + unknownnoise0x20 1, 226, 51 + unknownnoise0x20 8, 225, 34 + endchannel diff --git a/audio/sfx/start_menu_2.asm b/audio/sfx/start_menu_2.asm new file mode 100644 index 00000000..aabd41ce --- /dev/null +++ b/audio/sfx/start_menu_2.asm @@ -0,0 +1,4 @@ +SFX_Start_Menu_2_Ch1: ; 203d6 (8:43d6) + unknownnoise0x20 1, 226, 51 + unknownnoise0x20 8, 225, 34 + endchannel diff --git a/audio/sfx/start_menu_3.asm b/audio/sfx/start_menu_3.asm new file mode 100644 index 00000000..566f11f4 --- /dev/null +++ b/audio/sfx/start_menu_3.asm @@ -0,0 +1,4 @@ +SFX_Start_Menu_3_Ch1: ; 7c3c3 (1f:43c3) + unknownnoise0x20 1, 226, 51 + unknownnoise0x20 8, 225, 34 + endchannel diff --git a/audio/sfx/super_effective.asm b/audio/sfx/super_effective.asm new file mode 100644 index 00000000..6759ef6a --- /dev/null +++ b/audio/sfx/super_effective.asm @@ -0,0 +1,4 @@ +SFX_Super_Effective_Ch1: ; 20574 (8:4574) + unknownnoise0x20 4, 241, 52 + unknownnoise0x20 15, 242, 100 + endchannel diff --git a/audio/sfx/swap_1.asm b/audio/sfx/swap_1.asm new file mode 100644 index 00000000..c96d8522 --- /dev/null +++ b/audio/sfx/swap_1.asm @@ -0,0 +1,11 @@ +SFX_Swap_1_Ch1: ; 83f8 (2:43f8) + duty 2 + unknownsfx0x20 8, 225, 64, 7 + endchannel + + +SFX_Swap_1_Ch2: ; 83ff (2:43ff) + duty 2 + unknownsfx0x20 2, 8, 0, 0 + unknownsfx0x20 8, 177, 65, 7 + endchannel diff --git a/audio/sfx/swap_3.asm b/audio/sfx/swap_3.asm new file mode 100644 index 00000000..95aa3f19 --- /dev/null +++ b/audio/sfx/swap_3.asm @@ -0,0 +1,11 @@ +SFX_Swap_3_Ch1: ; 7c3e1 (1f:43e1) + duty 2 + unknownsfx0x20 8, 225, 64, 7 + endchannel + + +SFX_Swap_3_Ch2: ; 7c3e8 (1f:43e8) + duty 2 + unknownsfx0x20 2, 8, 0, 0 + unknownsfx0x20 8, 177, 65, 7 + endchannel diff --git a/audio/sfx/switch_1.asm b/audio/sfx/switch_1.asm new file mode 100644 index 00000000..040e95aa --- /dev/null +++ b/audio/sfx/switch_1.asm @@ -0,0 +1,8 @@ +SFX_Switch_1_Ch1: ; 8569 (2:4569) + duty 2 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 2, 241, 128, 6 + unknownsfx0x20 1, 0, 0, 0 + unknownsfx0x20 4, 241, 128, 7 + unknownsfx0x20 4, 0, 0, 0 + endchannel diff --git a/audio/sfx/switch_3.asm b/audio/sfx/switch_3.asm new file mode 100644 index 00000000..cbe6c8b2 --- /dev/null +++ b/audio/sfx/switch_3.asm @@ -0,0 +1,8 @@ +SFX_Switch_3_Ch1: ; 7c546 (1f:4546) + duty 2 + unknownsfx0x20 4, 0, 0, 0 + unknownsfx0x20 2, 241, 128, 6 + unknownsfx0x20 1, 0, 0, 0 + unknownsfx0x20 4, 241, 128, 7 + unknownsfx0x20 4, 0, 0, 0 + endchannel diff --git a/audio/sfx/teleport_enter1_1.asm b/audio/sfx/teleport_enter1_1.asm new file mode 100644 index 00000000..f9fc5ee2 --- /dev/null +++ b/audio/sfx/teleport_enter1_1.asm @@ -0,0 +1,10 @@ +SFX_Teleport_Enter1_1_Ch1: ; 85b0 (2:45b0) + duty 1 + unknownsfx0x10 23 + unknownsfx0x20 15, 215, 0, 7 + unknownsfx0x20 15, 183, 128, 6 + unknownsfx0x20 15, 135, 0, 6 + unknownsfx0x20 15, 71, 128, 5 + unknownsfx0x20 15, 23, 0, 5 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/teleport_enter1_3.asm b/audio/sfx/teleport_enter1_3.asm new file mode 100644 index 00000000..24220173 --- /dev/null +++ b/audio/sfx/teleport_enter1_3.asm @@ -0,0 +1,10 @@ +SFX_Teleport_Enter1_3_Ch1: ; 7c58d (1f:458d) + duty 1 + unknownsfx0x10 23 + unknownsfx0x20 15, 215, 0, 7 + unknownsfx0x20 15, 183, 128, 6 + unknownsfx0x20 15, 135, 0, 6 + unknownsfx0x20 15, 71, 128, 5 + unknownsfx0x20 15, 23, 0, 5 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/teleport_enter2_1.asm b/audio/sfx/teleport_enter2_1.asm new file mode 100644 index 00000000..c3c593b2 --- /dev/null +++ b/audio/sfx/teleport_enter2_1.asm @@ -0,0 +1,6 @@ +SFX_Teleport_Enter2_1_Ch1: ; 85e1 (2:45e1) + unknownnoise0x20 2, 241, 50 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 241, 34 + unknownnoise0x20 1, 0, 0 + endchannel diff --git a/audio/sfx/teleport_enter2_3.asm b/audio/sfx/teleport_enter2_3.asm new file mode 100644 index 00000000..628bb9fa --- /dev/null +++ b/audio/sfx/teleport_enter2_3.asm @@ -0,0 +1,6 @@ +SFX_Teleport_Enter2_3_Ch1: ; 7c5be (1f:45be) + unknownnoise0x20 2, 241, 50 + unknownnoise0x20 2, 0, 0 + unknownnoise0x20 2, 241, 34 + unknownnoise0x20 1, 0, 0 + endchannel diff --git a/audio/sfx/teleport_exit1_1.asm b/audio/sfx/teleport_exit1_1.asm new file mode 100644 index 00000000..46ba29cf --- /dev/null +++ b/audio/sfx/teleport_exit1_1.asm @@ -0,0 +1,10 @@ +SFX_Teleport_Exit1_1_Ch1: ; 8595 (2:4595) + duty 1 + unknownsfx0x10 23 + unknownsfx0x20 15, 215, 0, 5 + unknownsfx0x20 15, 183, 128, 5 + unknownsfx0x20 15, 135, 0, 6 + unknownsfx0x20 15, 71, 128, 6 + unknownsfx0x20 15, 23, 0, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/teleport_exit1_3.asm b/audio/sfx/teleport_exit1_3.asm new file mode 100644 index 00000000..8d203212 --- /dev/null +++ b/audio/sfx/teleport_exit1_3.asm @@ -0,0 +1,10 @@ +SFX_Teleport_Exit1_3_Ch1: ; 7c572 (1f:4572) + duty 1 + unknownsfx0x10 23 + unknownsfx0x20 15, 215, 0, 5 + unknownsfx0x20 15, 183, 128, 5 + unknownsfx0x20 15, 135, 0, 6 + unknownsfx0x20 15, 71, 128, 6 + unknownsfx0x20 15, 23, 0, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/teleport_exit2_1.asm b/audio/sfx/teleport_exit2_1.asm new file mode 100644 index 00000000..37159083 --- /dev/null +++ b/audio/sfx/teleport_exit2_1.asm @@ -0,0 +1,6 @@ +SFX_Teleport_Exit2_1_Ch1: ; 85cb (2:45cb) + duty 1 + unknownsfx0x10 22 + unknownsfx0x20 15, 210, 0, 5 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/teleport_exit2_3.asm b/audio/sfx/teleport_exit2_3.asm new file mode 100644 index 00000000..c7ad054b --- /dev/null +++ b/audio/sfx/teleport_exit2_3.asm @@ -0,0 +1,6 @@ +SFX_Teleport_Exit2_3_Ch1: ; 7c5a8 (1f:45a8) + duty 1 + unknownsfx0x10 22 + unknownsfx0x20 15, 210, 0, 5 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/tink_1.asm b/audio/sfx/tink_1.asm new file mode 100644 index 00000000..a8099ae1 --- /dev/null +++ b/audio/sfx/tink_1.asm @@ -0,0 +1,8 @@ +SFX_Tink_1_Ch1: ; 840a (2:440a) + duty 2 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 2 + unknownsfx0x10 34 + unknownsfx0x20 8, 226, 0, 2 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/tink_2.asm b/audio/sfx/tink_2.asm new file mode 100644 index 00000000..cca37381 --- /dev/null +++ b/audio/sfx/tink_2.asm @@ -0,0 +1,8 @@ +SFX_Tink_2_Ch1: ; 203dd (8:43dd) + duty 2 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 2 + unknownsfx0x10 34 + unknownsfx0x20 8, 226, 0, 2 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/tink_3.asm b/audio/sfx/tink_3.asm new file mode 100644 index 00000000..7299b7ae --- /dev/null +++ b/audio/sfx/tink_3.asm @@ -0,0 +1,8 @@ +SFX_Tink_3_Ch1: ; 7c3f3 (1f:43f3) + duty 2 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 2 + unknownsfx0x10 34 + unknownsfx0x20 8, 226, 0, 2 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/trade_machine_1.asm b/audio/sfx/trade_machine_1.asm new file mode 100644 index 00000000..ce2bbc0a --- /dev/null +++ b/audio/sfx/trade_machine_1.asm @@ -0,0 +1,7 @@ +SFX_Trade_Machine_1_Ch1: ; 84ee (2:44ee) + duty 2 + unknownsfx0x10 21 + unknownsfx0x20 15, 240, 240, 4 + unknownsfx0x20 15, 242, 80, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/trade_machine_3.asm b/audio/sfx/trade_machine_3.asm new file mode 100644 index 00000000..f7515ffb --- /dev/null +++ b/audio/sfx/trade_machine_3.asm @@ -0,0 +1,7 @@ +SFX_Trade_Machine_3_Ch1: ; 7c4c7 (1f:44c7) + duty 2 + unknownsfx0x10 21 + unknownsfx0x20 15, 240, 240, 4 + unknownsfx0x20 15, 242, 80, 6 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/triangle1_1.asm b/audio/sfx/triangle1_1.asm new file mode 100644 index 00000000..fded5b94 --- /dev/null +++ b/audio/sfx/triangle1_1.asm @@ -0,0 +1,3 @@ +SFX_Triangle1_1_Ch1: ; 8320 (2:4320) + unknownnoise0x20 0, 81, 42 + endchannel diff --git a/audio/sfx/triangle1_2.asm b/audio/sfx/triangle1_2.asm new file mode 100644 index 00000000..4f4474ee --- /dev/null +++ b/audio/sfx/triangle1_2.asm @@ -0,0 +1,3 @@ +SFX_Triangle1_2_Ch1: ; 20320 (8:4320) + unknownnoise0x20 0, 81, 42 + endchannel diff --git a/audio/sfx/triangle1_3.asm b/audio/sfx/triangle1_3.asm new file mode 100644 index 00000000..d1ad9390 --- /dev/null +++ b/audio/sfx/triangle1_3.asm @@ -0,0 +1,3 @@ +SFX_Triangle1_3_Ch1: ; 7c320 (1f:4320) + unknownnoise0x20 0, 81, 42 + endchannel diff --git a/audio/sfx/triangle2_1.asm b/audio/sfx/triangle2_1.asm new file mode 100644 index 00000000..f9c4bc6a --- /dev/null +++ b/audio/sfx/triangle2_1.asm @@ -0,0 +1,4 @@ +SFX_Triangle2_1_Ch1: ; 8324 (2:4324) + unknownnoise0x20 1, 65, 43 + unknownnoise0x20 0, 97, 42 + endchannel diff --git a/audio/sfx/triangle2_2.asm b/audio/sfx/triangle2_2.asm new file mode 100644 index 00000000..feddf1af --- /dev/null +++ b/audio/sfx/triangle2_2.asm @@ -0,0 +1,4 @@ +SFX_Triangle2_2_Ch1: ; 20324 (8:4324) + unknownnoise0x20 1, 65, 43 + unknownnoise0x20 0, 97, 42 + endchannel diff --git a/audio/sfx/triangle2_3.asm b/audio/sfx/triangle2_3.asm new file mode 100644 index 00000000..a4acff1b --- /dev/null +++ b/audio/sfx/triangle2_3.asm @@ -0,0 +1,4 @@ +SFX_Triangle2_3_Ch1: ; 7c324 (1f:4324) + unknownnoise0x20 1, 65, 43 + unknownnoise0x20 0, 97, 42 + endchannel diff --git a/audio/sfx/triangle3_1.asm b/audio/sfx/triangle3_1.asm new file mode 100644 index 00000000..e4c3c919 --- /dev/null +++ b/audio/sfx/triangle3_1.asm @@ -0,0 +1,4 @@ +SFX_Triangle3_1_Ch1: ; 834e (2:434e) + unknownnoise0x20 2, 145, 40 + unknownnoise0x20 0, 113, 24 + endchannel diff --git a/audio/sfx/triangle3_2.asm b/audio/sfx/triangle3_2.asm new file mode 100644 index 00000000..7a642878 --- /dev/null +++ b/audio/sfx/triangle3_2.asm @@ -0,0 +1,4 @@ +SFX_Triangle3_2_Ch1: ; 2034e (8:434e) + unknownnoise0x20 2, 145, 40 + unknownnoise0x20 0, 113, 24 + endchannel diff --git a/audio/sfx/triangle3_3.asm b/audio/sfx/triangle3_3.asm new file mode 100644 index 00000000..73ad42ce --- /dev/null +++ b/audio/sfx/triangle3_3.asm @@ -0,0 +1,4 @@ +SFX_Triangle3_3_Ch1: ; 7c34e (1f:434e) + unknownnoise0x20 2, 145, 40 + unknownnoise0x20 0, 113, 24 + endchannel diff --git a/audio/sfx/turn_off_pc_1.asm b/audio/sfx/turn_off_pc_1.asm new file mode 100644 index 00000000..7b4e999d --- /dev/null +++ b/audio/sfx/turn_off_pc_1.asm @@ -0,0 +1,7 @@ +SFX_Turn_Off_PC_1_Ch1: ; 8528 (2:4528) + duty 2 + unknownsfx0x20 4, 240, 0, 6 + unknownsfx0x20 4, 240, 0, 4 + unknownsfx0x20 4, 240, 0, 2 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/turn_off_pc_3.asm b/audio/sfx/turn_off_pc_3.asm new file mode 100644 index 00000000..057ab9a4 --- /dev/null +++ b/audio/sfx/turn_off_pc_3.asm @@ -0,0 +1,7 @@ +SFX_Turn_Off_PC_3_Ch1: ; 7c505 (1f:4505) + duty 2 + unknownsfx0x20 4, 240, 0, 6 + unknownsfx0x20 4, 240, 0, 4 + unknownsfx0x20 4, 240, 0, 2 + unknownsfx0x20 1, 0, 0, 0 + endchannel diff --git a/audio/sfx/turn_on_pc_1.asm b/audio/sfx/turn_on_pc_1.asm new file mode 100644 index 00000000..b537791c --- /dev/null +++ b/audio/sfx/turn_on_pc_1.asm @@ -0,0 +1,13 @@ +SFX_Turn_On_PC_1_Ch1: ; 84fd (2:44fd) + duty 2 + unknownsfx0x20 15, 242, 192, 7 + unknownsfx0x20 15, 0, 0, 0 + unknownsfx0x20 3, 161, 128, 7 + unknownsfx0x20 3, 161, 0, 7 + unknownsfx0x20 3, 161, 64, 7 + unknownsfx0x20 3, 161, 0, 7 + unknownsfx0x20 3, 161, 128, 7 + unknownsfx0x20 3, 161, 0, 7 + unknownsfx0x20 3, 161, 192, 7 + unknownsfx0x20 8, 161, 0, 7 + endchannel diff --git a/audio/sfx/turn_on_pc_3.asm b/audio/sfx/turn_on_pc_3.asm new file mode 100644 index 00000000..df654cfa --- /dev/null +++ b/audio/sfx/turn_on_pc_3.asm @@ -0,0 +1,14 @@ +SFX_Turn_On_PC_3_Ch1: ; 7c4d6 (1f:44d6) + duty 2 + unknownsfx0x20 15, 242, 192, 7 + unknownsfx0x20 15, 0, 0, 0 + unknownsfx0x20 15, 0, 0, 0 + unknownsfx0x20 3, 129, 128, 7 + unknownsfx0x20 3, 129, 0, 7 + unknownsfx0x20 3, 129, 64, 7 + unknownsfx0x20 3, 129, 0, 7 + unknownsfx0x20 3, 129, 128, 7 + unknownsfx0x20 3, 129, 0, 7 + unknownsfx0x20 3, 129, 192, 7 + unknownsfx0x20 3, 129, 0, 7 + endchannel diff --git a/audio/sfx/vine_whip.asm b/audio/sfx/vine_whip.asm new file mode 100644 index 00000000..c1e610b6 --- /dev/null +++ b/audio/sfx/vine_whip.asm @@ -0,0 +1,10 @@ +SFX_Vine_Whip_Ch1: ; 20533 (8:4533) + unknownnoise0x20 1, 194, 51 + unknownnoise0x20 2, 242, 33 + unknownnoise0x20 1, 226, 51 + unknownnoise0x20 1, 194, 50 + unknownnoise0x20 1, 146, 18 + unknownnoise0x20 1, 178, 49 + unknownnoise0x20 12, 145, 16 + unknownnoise0x20 8, 242, 65 + endchannel diff --git a/audio/sfx/withdraw_deposit_1.asm b/audio/sfx/withdraw_deposit_1.asm new file mode 100644 index 00000000..bb7a8d6e --- /dev/null +++ b/audio/sfx/withdraw_deposit_1.asm @@ -0,0 +1,12 @@ +SFX_Withdraw_Deposit_1_Ch1: ; 86ab (2:46ab) + duty 1 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 5 + unknownsfx0x10 34 + unknownsfx0x20 4, 226, 0, 5 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 7 + unknownsfx0x10 34 + unknownsfx0x20 15, 226, 0, 7 + unknownsfx0x10 8 + endchannel diff --git a/audio/sfx/withdraw_deposit_3.asm b/audio/sfx/withdraw_deposit_3.asm new file mode 100644 index 00000000..99e47fee --- /dev/null +++ b/audio/sfx/withdraw_deposit_3.asm @@ -0,0 +1,12 @@ +SFX_Withdraw_Deposit_3_Ch1: ; 7c688 (1f:4688) + duty 1 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 5 + unknownsfx0x10 34 + unknownsfx0x20 4, 226, 0, 5 + unknownsfx0x10 58 + unknownsfx0x20 4, 242, 0, 7 + unknownsfx0x10 34 + unknownsfx0x20 15, 226, 0, 7 + unknownsfx0x10 8 + endchannel diff --git a/constants/music_constants.asm b/constants/music_constants.asm index 6812e312..d8c62dda 100644 --- a/constants/music_constants.asm +++ b/constants/music_constants.asm @@ -56,175 +56,175 @@ ENDM music_const MUSIC_MEET_MALE_TRAINER, Music_MeetMaleTrainer ; AUDIO_1 AUDIO_2 AUDIO_3 - music_const SFX_SNARE_1, SFX_02_01 - music_const SFX_SNARE_2, SFX_02_02 - music_const SFX_SNARE_3, SFX_02_03 - music_const SFX_SNARE_4, SFX_02_04 - music_const SFX_SNARE_5, SFX_02_05 - music_const SFX_TRIANGLE_1, SFX_02_06 - music_const SFX_TRIANGLE_2, SFX_02_07 - music_const SFX_SNARE_6, SFX_02_08 - music_const SFX_SNARE_7, SFX_02_09 - music_const SFX_SNARE_8, SFX_02_0a - music_const SFX_SNARE_9, SFX_02_0b - music_const SFX_CYMBAL_1, SFX_02_0c - music_const SFX_CYMBAL_2, SFX_02_0d - music_const SFX_CYMBAL_3, SFX_02_0e - music_const SFX_MUTED_SNARE_1, SFX_02_0f - music_const SFX_TRIANGLE_3, SFX_02_10 - music_const SFX_MUTED_SNARE_2, SFX_02_11 - music_const SFX_MUTED_SNARE_3, SFX_02_12 - music_const SFX_MUTED_SNARE_4, SFX_02_13 - music_const SFX_CRY_00, SFX_02_14 - music_const SFX_CRY_01, SFX_02_15 - music_const SFX_CRY_02, SFX_02_16 - music_const SFX_CRY_03, SFX_02_17 - music_const SFX_CRY_04, SFX_02_18 - music_const SFX_CRY_05, SFX_02_19 - music_const SFX_CRY_06, SFX_02_1a - music_const SFX_CRY_07, SFX_02_1b - music_const SFX_CRY_08, SFX_02_1c - music_const SFX_CRY_09, SFX_02_1d - music_const SFX_CRY_0A, SFX_02_1e - music_const SFX_CRY_0B, SFX_02_1f - music_const SFX_CRY_0C, SFX_02_20 - music_const SFX_CRY_0D, SFX_02_21 - music_const SFX_CRY_0E, SFX_02_22 - music_const SFX_CRY_0F, SFX_02_23 - music_const SFX_CRY_10, SFX_02_24 - music_const SFX_CRY_11, SFX_02_25 - music_const SFX_CRY_12, SFX_02_26 - music_const SFX_CRY_13, SFX_02_27 - music_const SFX_CRY_14, SFX_02_28 - music_const SFX_CRY_15, SFX_02_29 - music_const SFX_CRY_16, SFX_02_2a - music_const SFX_CRY_17, SFX_02_2b - music_const SFX_CRY_18, SFX_02_2c - music_const SFX_CRY_19, SFX_02_2d - music_const SFX_CRY_1A, SFX_02_2e - music_const SFX_CRY_1B, SFX_02_2f - music_const SFX_CRY_1C, SFX_02_30 - music_const SFX_CRY_1D, SFX_02_31 - music_const SFX_CRY_1E, SFX_02_32 - music_const SFX_CRY_1F, SFX_02_33 - music_const SFX_CRY_20, SFX_02_34 - music_const SFX_CRY_21, SFX_02_35 - music_const SFX_CRY_22, SFX_02_36 - music_const SFX_CRY_23, SFX_02_37 - music_const SFX_CRY_24, SFX_02_38 - music_const SFX_CRY_25, SFX_02_39 + music_const SFX_SNARE_1, SFX_Snare1_1 + music_const SFX_SNARE_2, SFX_Snare2_1 + music_const SFX_SNARE_3, SFX_Snare3_1 + music_const SFX_SNARE_4, SFX_Snare4_1 + music_const SFX_SNARE_5, SFX_Snare5_1 + music_const SFX_TRIANGLE_1, SFX_Triangle1_1 + music_const SFX_TRIANGLE_2, SFX_Triangle2_1 + music_const SFX_SNARE_6, SFX_Snare6_1 + music_const SFX_SNARE_7, SFX_Snare7_1 + music_const SFX_SNARE_8, SFX_Snare8_1 + music_const SFX_SNARE_9, SFX_Snare9_1 + music_const SFX_CYMBAL_1, SFX_Cymbal1_1 + music_const SFX_CYMBAL_2, SFX_Cymbal2_1 + music_const SFX_CYMBAL_3, SFX_Cymbal3_1 + music_const SFX_MUTED_SNARE_1, SFX_Muted_Snare1_1 + music_const SFX_TRIANGLE_3, SFX_Triangle3_1 + music_const SFX_MUTED_SNARE_2, SFX_Muted_Snare2_1 + music_const SFX_MUTED_SNARE_3, SFX_Muted_Snare3_1 + music_const SFX_MUTED_SNARE_4, SFX_Muted_Snare4_1 + music_const SFX_CRY_00, SFX_Cry00_1 + music_const SFX_CRY_01, SFX_Cry01_1 + music_const SFX_CRY_02, SFX_Cry02_1 + music_const SFX_CRY_03, SFX_Cry03_1 + music_const SFX_CRY_04, SFX_Cry04_1 + music_const SFX_CRY_05, SFX_Cry05_1 + music_const SFX_CRY_06, SFX_Cry06_1 + music_const SFX_CRY_07, SFX_Cry07_1 + music_const SFX_CRY_08, SFX_Cry08_1 + music_const SFX_CRY_09, SFX_Cry09_1 + music_const SFX_CRY_0A, SFX_Cry0A_1 + music_const SFX_CRY_0B, SFX_Cry0B_1 + music_const SFX_CRY_0C, SFX_Cry0C_1 + music_const SFX_CRY_0D, SFX_Cry0D_1 + music_const SFX_CRY_0E, SFX_Cry0E_1 + music_const SFX_CRY_0F, SFX_Cry0F_1 + music_const SFX_CRY_10, SFX_Cry10_1 + music_const SFX_CRY_11, SFX_Cry11_1 + music_const SFX_CRY_12, SFX_Cry12_1 + music_const SFX_CRY_13, SFX_Cry13_1 + music_const SFX_CRY_14, SFX_Cry14_1 + music_const SFX_CRY_15, SFX_Cry15_1 + music_const SFX_CRY_16, SFX_Cry16_1 + music_const SFX_CRY_17, SFX_Cry17_1 + music_const SFX_CRY_18, SFX_Cry18_1 + music_const SFX_CRY_19, SFX_Cry19_1 + music_const SFX_CRY_1A, SFX_Cry1A_1 + music_const SFX_CRY_1B, SFX_Cry1B_1 + music_const SFX_CRY_1C, SFX_Cry1C_1 + music_const SFX_CRY_1D, SFX_Cry1D_1 + music_const SFX_CRY_1E, SFX_Cry1E_1 + music_const SFX_CRY_1F, SFX_Cry1F_1 + music_const SFX_CRY_20, SFX_Cry20_1 + music_const SFX_CRY_21, SFX_Cry21_1 + music_const SFX_CRY_22, SFX_Cry22_1 + music_const SFX_CRY_23, SFX_Cry23_1 + music_const SFX_CRY_24, SFX_Cry24_1 + music_const SFX_CRY_25, SFX_Cry25_1 - music_const SFX_GET_ITEM_2, SFX_02_3b - music_const SFX_TINK, SFX_02_3c - music_const SFX_HEAL_HP, SFX_02_3d - music_const SFX_HEAL_AILMENT, SFX_02_3e - music_const SFX_START_MENU, SFX_02_3f - music_const SFX_PRESS_AB, SFX_02_40 + music_const SFX_GET_ITEM_2, SFX_Get_Item2_1 + music_const SFX_TINK, SFX_Tink_1 + music_const SFX_HEAL_HP, SFX_Heal_HP_1 + music_const SFX_HEAL_AILMENT, SFX_Heal_Ailment_1 + music_const SFX_START_MENU, SFX_Start_Menu_1 + music_const SFX_PRESS_AB, SFX_Press_AB_1 ; AUDIO_1 AUDIO_3 - music_const SFX_GET_ITEM_1, SFX_02_3a + music_const SFX_GET_ITEM_1, SFX_Get_Item1_1 - music_const SFX_POKEDEX_RATING, SFX_02_41 - music_const SFX_GET_KEY_ITEM, SFX_02_42 - music_const SFX_POISONED, SFX_02_43 - music_const SFX_TRADE_MACHINE, SFX_02_44 - music_const SFX_TURN_ON_PC, SFX_02_45 - music_const SFX_TURN_OFF_PC, SFX_02_46 - music_const SFX_ENTER_PC, SFX_02_47 - music_const SFX_SHRINK, SFX_02_48 - music_const SFX_SWITCH, SFX_02_49 - music_const SFX_HEALING_MACHINE, SFX_02_4a - music_const SFX_TELEPORT_1, SFX_02_4b - music_const SFX_TELEPORT_2, SFX_02_4c - music_const SFX_TELEPORT_3, SFX_02_4d - music_const SFX_LEDGE, SFX_02_4e - music_const SFX_FLY_1, SFX_02_4f - music_const SFX_FLY_2, SFX_02_50 - music_const SFX_DENIED, SFX_02_51 - music_const SFX_ARROW_TILES, SFX_02_52 - music_const SFX_PUSH_BOULDER, SFX_02_53 - music_const SFX_SS_ANNE_HORN, SFX_02_54 - music_const SFX_WITHDRAW_DEPOSIT, SFX_02_55 - music_const SFX_CUT, SFX_02_56 - music_const SFX_GO_INSIDE, SFX_02_57 - music_const SFX_SWAP, SFX_02_58 - music_const SFX_59, SFX_02_59 ; unused, sounds similar to SFX_SLOTS_STOP_WHEEL - music_const SFX_PURCHASE, SFX_02_5a - music_const SFX_COLLISION, SFX_02_5b - music_const SFX_GO_OUTSIDE, SFX_02_5c - music_const SFX_SAVE, SFX_02_5d + music_const SFX_POKEDEX_RATING, SFX_Pokedex_Rating_1 + music_const SFX_GET_KEY_ITEM, SFX_Get_Key_Item_1 + music_const SFX_POISONED, SFX_Poisoned_1 + music_const SFX_TRADE_MACHINE, SFX_Trade_Machine_1 + music_const SFX_TURN_ON_PC, SFX_Turn_On_PC_1 + music_const SFX_TURN_OFF_PC, SFX_Turn_Off_PC_1 + music_const SFX_ENTER_PC, SFX_Enter_PC_1 + music_const SFX_SHRINK, SFX_Shrink_1 + music_const SFX_SWITCH, SFX_Switch_1 + music_const SFX_HEALING_MACHINE, SFX_Healing_Machine_1 + music_const SFX_TELEPORT_EXIT_1, SFX_Teleport_Exit1_1 + music_const SFX_TELEPORT_ENTER_1, SFX_Teleport_Enter1_1 + music_const SFX_TELEPORT_EXIT_2, SFX_Teleport_Exit2_1 + music_const SFX_LEDGE, SFX_Ledge_1 + music_const SFX_TELEPORT_ENTER_2, SFX_Teleport_Enter2_1 + music_const SFX_FLY, SFX_Fly_1 + music_const SFX_DENIED, SFX_Denied_1 + music_const SFX_ARROW_TILES, SFX_Arrow_Tiles_1 + music_const SFX_PUSH_BOULDER, SFX_Push_Boulder_1 + music_const SFX_SS_ANNE_HORN, SFX_SS_Anne_Horn_1 + music_const SFX_WITHDRAW_DEPOSIT, SFX_Withdraw_Deposit_1 + music_const SFX_CUT, SFX_Cut_1 + music_const SFX_GO_INSIDE, SFX_Go_Inside_1 + music_const SFX_SWAP, SFX_Swap_1 + music_const SFX_59, SFX_59_1 ; unused, sounds similar to SFX_SLOTS_STOP_WHEEL + music_const SFX_PURCHASE, SFX_Purchase_1 + music_const SFX_COLLISION, SFX_Collision_1 + music_const SFX_GO_OUTSIDE, SFX_Go_Outside_1 + music_const SFX_SAVE, SFX_Save_1 ; AUDIO_1 - music_const SFX_POKEFLUE, SFX_02_5e - music_const SFX_SAFARI_ZONE_PA, SFX_02_5f + music_const SFX_POKEFLUE, SFX_Pokeflute + music_const SFX_SAFARI_ZONE_PA, SFX_Safari_Zone_PA ; AUDIO_2 - music_const SFX_LEVEL_UP, SFX_08_3a + music_const SFX_LEVEL_UP, SFX_Level_Up - music_const SFX_BALL_TOSS, SFX_08_41 - music_const SFX_BALL_POOF, SFX_08_42 - music_const SFX_FAINT_THUD, SFX_08_43 - music_const SFX_RUN, SFX_08_44 - music_const SFX_DEX_PAGE_ADDED, SFX_08_45 - music_const SFX_CAUGHT_MON, SFX_08_46 - music_const SFX_PECK, SFX_08_47 - music_const SFX_FAINT_FALL, SFX_08_48 - music_const SFX_BATTLE_09, SFX_08_49 - music_const SFX_POUND, SFX_08_4a - music_const SFX_BATTLE_0B, SFX_08_4b - music_const SFX_BATTLE_0C, SFX_08_4c - music_const SFX_BATTLE_0D, SFX_08_4d - music_const SFX_BATTLE_0E, SFX_08_4e - music_const SFX_BATTLE_0F, SFX_08_4f - music_const SFX_DAMAGE, SFX_08_50 - music_const SFX_NOT_VERY_EFFECTIVE, SFX_08_51 - music_const SFX_BATTLE_12, SFX_08_52 - music_const SFX_BATTLE_13, SFX_08_53 - music_const SFX_BATTLE_14, SFX_08_54 - music_const SFX_VINE_WHIP, SFX_08_55 - music_const SFX_BATTLE_16, SFX_08_56 ; unused? - music_const SFX_BATTLE_17, SFX_08_57 - music_const SFX_BATTLE_18, SFX_08_58 - music_const SFX_BATTLE_19, SFX_08_59 - music_const SFX_SUPER_EFFECTIVE, SFX_08_5a - music_const SFX_BATTLE_1B, SFX_08_5b - music_const SFX_BATTLE_1C, SFX_08_5c - music_const SFX_DOUBLESLAP, SFX_08_5d - music_const SFX_BATTLE_1E, SFX_08_5e - music_const SFX_HORN_DRILL, SFX_08_5f - music_const SFX_BATTLE_20, SFX_08_60 - music_const SFX_BATTLE_21, SFX_08_61 - music_const SFX_BATTLE_22, SFX_08_62 - music_const SFX_BATTLE_23, SFX_08_63 - music_const SFX_BATTLE_24, SFX_08_64 - music_const SFX_BATTLE_25, SFX_08_65 - music_const SFX_BATTLE_26, SFX_08_66 - music_const SFX_BATTLE_27, SFX_08_67 - music_const SFX_BATTLE_28, SFX_08_68 - music_const SFX_BATTLE_29, SFX_08_69 - music_const SFX_BATTLE_2A, SFX_08_6a - music_const SFX_BATTLE_2B, SFX_08_6b - music_const SFX_BATTLE_2C, SFX_08_6c - music_const SFX_PSYBEAM, SFX_08_6d - music_const SFX_BATTLE_2E, SFX_08_6e - music_const SFX_BATTLE_2F, SFX_08_6f - music_const SFX_PSYCHIC_M, SFX_08_70 - music_const SFX_BATTLE_31, SFX_08_71 - music_const SFX_BATTLE_32, SFX_08_72 - music_const SFX_BATTLE_33, SFX_08_73 - music_const SFX_BATTLE_34, SFX_08_74 - music_const SFX_BATTLE_35, SFX_08_75 - music_const SFX_BATTLE_36, SFX_08_76 - music_const SFX_SILPH_SCOPE, SFX_08_77 + music_const SFX_BALL_TOSS, SFX_Ball_Toss + music_const SFX_BALL_POOF, SFX_Ball_Poof + music_const SFX_FAINT_THUD, SFX_Faint_Thud + music_const SFX_RUN, SFX_Run + music_const SFX_DEX_PAGE_ADDED, SFX_Dex_Page_Added + music_const SFX_CAUGHT_MON, SFX_Caught_Mon + music_const SFX_PECK, SFX_Peck + music_const SFX_FAINT_FALL, SFX_Faint_Fall + music_const SFX_BATTLE_09, SFX_Battle_09 + music_const SFX_POUND, SFX_Pound + music_const SFX_BATTLE_0B, SFX_Battle_0B + music_const SFX_BATTLE_0C, SFX_Battle_0C + music_const SFX_BATTLE_0D, SFX_Battle_0D + music_const SFX_BATTLE_0E, SFX_Battle_0E + music_const SFX_BATTLE_0F, SFX_Battle_0F + music_const SFX_DAMAGE, SFX_Damage + music_const SFX_NOT_VERY_EFFECTIVE, SFX_Not_Very_Effective + music_const SFX_BATTLE_12, SFX_Battle_12 + music_const SFX_BATTLE_13, SFX_Battle_13 + music_const SFX_BATTLE_14, SFX_Battle_14 + music_const SFX_VINE_WHIP, SFX_Vine_Whip + music_const SFX_BATTLE_16, SFX_Battle_16 ; unused? + music_const SFX_BATTLE_17, SFX_Battle_17 + music_const SFX_BATTLE_18, SFX_Battle_18 + music_const SFX_BATTLE_19, SFX_Battle_19 + music_const SFX_SUPER_EFFECTIVE, SFX_Super_Effective + music_const SFX_BATTLE_1B, SFX_Battle_1B + music_const SFX_BATTLE_1C, SFX_Battle_1C + music_const SFX_DOUBLESLAP, SFX_Doubleslap + music_const SFX_BATTLE_1E, SFX_Battle_1E + music_const SFX_HORN_DRILL, SFX_Horn_Drill + music_const SFX_BATTLE_20, SFX_Battle_20 + music_const SFX_BATTLE_21, SFX_Battle_21 + music_const SFX_BATTLE_22, SFX_Battle_22 + music_const SFX_BATTLE_23, SFX_Battle_23 + music_const SFX_BATTLE_24, SFX_Battle_24 + music_const SFX_BATTLE_25, SFX_Battle_25 + music_const SFX_BATTLE_26, SFX_Battle_26 + music_const SFX_BATTLE_27, SFX_Battle_27 + music_const SFX_BATTLE_28, SFX_Battle_28 + music_const SFX_BATTLE_29, SFX_Battle_29 + music_const SFX_BATTLE_2A, SFX_Battle_2A + music_const SFX_BATTLE_2B, SFX_Battle_2B + music_const SFX_BATTLE_2C, SFX_Battle_2C + music_const SFX_PSYBEAM, SFX_Psybeam + music_const SFX_BATTLE_2E, SFX_Battle_2E + music_const SFX_BATTLE_2F, SFX_Battle_2F + music_const SFX_PSYCHIC_M, SFX_Psychic_M + music_const SFX_BATTLE_31, SFX_Battle_31 + music_const SFX_BATTLE_32, SFX_Battle_32 + music_const SFX_BATTLE_33, SFX_Battle_33 + music_const SFX_BATTLE_34, SFX_Battle_34 + music_const SFX_BATTLE_35, SFX_Battle_35 + music_const SFX_BATTLE_36, SFX_Battle_36 + music_const SFX_SILPH_SCOPE, SFX_Silph_Scope ; AUDIO_3 - music_const SFX_INTRO_LUNGE, SFX_1f_5e - music_const SFX_INTRO_HIP, SFX_1f_5f - music_const SFX_INTRO_HOP, SFX_1f_60 - music_const SFX_INTRO_RAISE, SFX_1f_61 - music_const SFX_INTRO_CRASH, SFX_1f_62 - music_const SFX_INTRO_WHOOSH, SFX_1f_63 - music_const SFX_SLOTS_STOP_WHEEL, SFX_1f_64 - music_const SFX_SLOTS_REWARD, SFX_1f_65 - music_const SFX_SLOTS_NEW_SPIN, SFX_1f_66 - music_const SFX_SHOOTING_STAR, SFX_1f_67 + music_const SFX_INTRO_LUNGE, SFX_Intro_Lunge + music_const SFX_INTRO_HIP, SFX_Intro_Hip + music_const SFX_INTRO_HOP, SFX_Intro_Hop + music_const SFX_INTRO_RAISE, SFX_Intro_Raise + music_const SFX_INTRO_CRASH, SFX_Intro_Crash + music_const SFX_INTRO_WHOOSH, SFX_Intro_Whoosh + music_const SFX_SLOTS_STOP_WHEEL, SFX_Slots_Stop_Wheel + music_const SFX_SLOTS_REWARD, SFX_Slots_Reward + music_const SFX_SLOTS_NEW_SPIN, SFX_Slots_New_Spin + music_const SFX_SHOOTING_STAR, SFX_Shooting_Star diff --git a/engine/hidden_object_functions7.asm b/engine/hidden_object_functions7.asm index 8893e496..34d7f64d 100755 --- a/engine/hidden_object_functions7.asm +++ b/engine/hidden_object_functions7.asm @@ -67,7 +67,7 @@ SafariZoneGameOver: ; 1e9b0 (7:69b0) ld [wMusicHeaderPointer], a dec a call PlaySound - ld c, BANK(SFX_02_5f) + ld c, BANK(SFX_Safari_Zone_PA) ld a, SFX_SAFARI_ZONE_PA call PlayMusic .asm_1e9c2 diff --git a/engine/items/items.asm b/engine/items/items.asm index f2c41ef6..a62f75d2 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -1719,7 +1719,7 @@ PlayedFluteHadEffectText: ; e215 (3:6215) ld a,$ff call PlaySound ; turn off music ld a, SFX_POKEFLUE - ld c, BANK(SFX_02_5e) + ld c, BANK(SFX_Pokeflute) call PlayMusic .musicWaitLoop ; wait for music to finish playing ld a,[wc028] diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm index 2f22f78e..76eb7450 100755 --- a/engine/menu/pokedex.asm +++ b/engine/menu/pokedex.asm @@ -139,7 +139,7 @@ HandlePokedexSideMenu: ; 4006d (10:406d) ; play pokemon cry .choseCry ld a,[wd11e] - call GetCryData ; get cry data + call GetCryData call PlaySound jr .handleMenuInput .choseArea diff --git a/engine/overworld/elevator.asm b/engine/overworld/elevator.asm index 09a38012..eb62fee7 100755 --- a/engine/overworld/elevator.asm +++ b/engine/overworld/elevator.asm @@ -17,7 +17,7 @@ ShakeElevator: ; 7bf15 (1e:7f15) add d ld [hSCY], a push bc - ld c, BANK(SFX_02_5b) + ld c, BANK(SFX_Collision_1) ld a, SFX_COLLISION call PlayMusic pop bc @@ -29,7 +29,7 @@ ShakeElevator: ; 7bf15 (1e:7f15) ld [hSCY], a ld a, $ff call PlaySound - ld c, BANK(SFX_02_5f) + ld c, BANK(SFX_Safari_Zone_PA) ld a, SFX_SAFARI_ZONE_PA call PlayMusic .musicLoop diff --git a/engine/overworld/player_animations.asm b/engine/overworld/player_animations.asm index 5ce2b2a6..a9aa2cf2 100755 --- a/engine/overworld/player_animations.asm +++ b/engine/overworld/player_animations.asm @@ -9,7 +9,7 @@ EnterMapAnim: ; 70510 (1c:4510) bit 7, [hl] ; used fly out of battle? res 7, [hl] jr nz, .flyAnimation - ld a, SFX_TELEPORT_2 + ld a, SFX_TELEPORT_ENTER_1 call PlaySound ld hl, wd732 bit 4, [hl] ; used dungeon warp? @@ -17,7 +17,7 @@ EnterMapAnim: ; 70510 (1c:4510) pop hl jr nz, .dungeonWarpAnimation call PlayerSpinWhileMovingDown - ld a, SFX_FLY_1 + ld a, SFX_TELEPORT_ENTER_2 call PlaySound call IsPlayerStandingOnWarpPadOrHole ld a, b @@ -50,7 +50,7 @@ EnterMapAnim: ; 70510 (1c:4510) ld bc, (BANK(BirdSprite) << 8) + $0c call CopyVideoData call LoadBirdSpriteGraphics - ld a, SFX_FLY_2 + ld a, SFX_FLY call PlaySound ld hl, wFlyAnimUsingCoordList xor a ; is using coord list @@ -99,7 +99,7 @@ _LeaveMapAnim: ; 705ba (1c:45ba) dec a jp nz, LeaveMapThroughHoleAnim .spinWhileMovingUp - ld a, SFX_TELEPORT_1 + ld a, SFX_TELEPORT_EXIT_1 call PlaySound ld hl, wPlayerSpinWhileMovingUpOrDownAnimDeltaY ld a, -$10 @@ -133,7 +133,7 @@ _LeaveMapAnim: ; 705ba (1c:45ba) ld [hli], a ; wPlayerSpinInPlaceAnimFrameDelayDelta xor a ld [hli], a ; wPlayerSpinInPlaceAnimFrameDelayEndValue - ld [hl], SFX_TELEPORT_3 ; wPlayerSpinInPlaceAnimSoundID + ld [hl], SFX_TELEPORT_EXIT_2 ; wPlayerSpinInPlaceAnimSoundID ld hl, wFacingDirectionList call PlayerSpinInPlace jr .spinWhileMovingUp @@ -146,7 +146,7 @@ _LeaveMapAnim: ; 705ba (1c:45ba) ld [hli], a ; wFlyAnimCounter ld [hl], $c ; wFlyAnimBirdSpriteImageIndex call DoFlyAnimation - ld a, SFX_FLY_2 + ld a, SFX_FLY call PlaySound ld hl, wFlyAnimUsingCoordList xor a ; is using coord list diff --git a/home/init.asm b/home/init.asm index 3e8d1d2b..848a81a3 100644 --- a/home/init.asm +++ b/home/init.asm @@ -97,7 +97,7 @@ rLCDC_DEFAULT EQU %11100011 predef LoadSGB - ld a, BANK(SFX_1f_67) + ld a, BANK(SFX_Shooting_Star) ld [wc0ef], a ld [wc0f0], a ld a, $9c -- cgit v1.3.1-sl0p From a6f04b434980f2176cb275a7c3ba50d5cbcd6ace Mon Sep 17 00:00:00 2001 From: dannye Date: Wed, 22 Jul 2015 10:22:46 -0500 Subject: Unify audio bank references 2→1 8→2 1f→3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audio.asm | 48 +-- audio/engine_1.asm | 372 +++++++++--------- audio/engine_2.asm | 380 +++++++++---------- audio/engine_3.asm | 372 +++++++++--------- audio/headers/musicheaders02.asm | 184 --------- audio/headers/musicheaders08.asm | 57 --- audio/headers/musicheaders1.asm | 184 +++++++++ audio/headers/musicheaders1f.asm | 158 -------- audio/headers/musicheaders2.asm | 57 +++ audio/headers/musicheaders3.asm | 158 ++++++++ audio/headers/sfxheaders02.asm | 562 ---------------------------- audio/headers/sfxheaders08.asm | 706 ----------------------------------- audio/headers/sfxheaders1.asm | 562 ++++++++++++++++++++++++++++ audio/headers/sfxheaders1f.asm | 596 ----------------------------- audio/headers/sfxheaders2.asm | 706 +++++++++++++++++++++++++++++++++++ audio/headers/sfxheaders3.asm | 596 +++++++++++++++++++++++++++++ audio/sfx/pokeflute_ch1_ch2.asm | 14 + audio/sfx/pokeflute_ch3.asm | 13 + audio/sfx/sfx_02_unused.asm | 31 -- audio/sfx/sfx_08_pokeflute.asm | 14 - audio/sfx/sfx_08_pokeflute_ch3.asm | 13 - audio/sfx/sfx_08_unused.asm | 31 -- audio/sfx/sfx_08_unused2.asm | 56 --- audio/sfx/sfx_1f_unused.asm | 31 -- audio/sfx/unused2_2.asm | 56 +++ audio/sfx/unused_1.asm | 31 ++ audio/sfx/unused_2.asm | 31 ++ audio/sfx/unused_3.asm | 31 ++ constants/music_constants.asm | 2 +- engine/overworld/healing_machine.asm | 2 +- home/audio.asm | 44 +-- home/init.asm | 2 +- home/vblank.asm | 22 +- scripts/ssanne7.asm | 2 +- 34 files changed, 3062 insertions(+), 3062 deletions(-) delete mode 100755 audio/headers/musicheaders02.asm delete mode 100755 audio/headers/musicheaders08.asm create mode 100755 audio/headers/musicheaders1.asm delete mode 100755 audio/headers/musicheaders1f.asm create mode 100755 audio/headers/musicheaders2.asm create mode 100755 audio/headers/musicheaders3.asm delete mode 100644 audio/headers/sfxheaders02.asm delete mode 100644 audio/headers/sfxheaders08.asm create mode 100644 audio/headers/sfxheaders1.asm delete mode 100644 audio/headers/sfxheaders1f.asm create mode 100644 audio/headers/sfxheaders2.asm create mode 100644 audio/headers/sfxheaders3.asm create mode 100755 audio/sfx/pokeflute_ch1_ch2.asm create mode 100755 audio/sfx/pokeflute_ch3.asm delete mode 100755 audio/sfx/sfx_02_unused.asm delete mode 100755 audio/sfx/sfx_08_pokeflute.asm delete mode 100755 audio/sfx/sfx_08_pokeflute_ch3.asm delete mode 100755 audio/sfx/sfx_08_unused.asm delete mode 100755 audio/sfx/sfx_08_unused2.asm delete mode 100755 audio/sfx/sfx_1f_unused.asm create mode 100755 audio/sfx/unused2_2.asm create mode 100755 audio/sfx/unused_1.asm create mode 100755 audio/sfx/unused_2.asm create mode 100755 audio/sfx/unused_3.asm (limited to 'home/init.asm') diff --git a/audio.asm b/audio.asm index 8b83fcaf..286dc7ed 100644 --- a/audio.asm +++ b/audio.asm @@ -7,24 +7,24 @@ INCLUDE "constants.asm" SECTION "Sound Effect Headers 1", ROMX, BANK[AUDIO_1] -INCLUDE "audio/headers/sfxheaders02.asm" +INCLUDE "audio/headers/sfxheaders1.asm" SECTION "Sound Effect Headers 2", ROMX, BANK[AUDIO_2] -INCLUDE "audio/headers/sfxheaders08.asm" +INCLUDE "audio/headers/sfxheaders2.asm" SECTION "Sound Effect Headers 3", ROMX, BANK[AUDIO_3] -INCLUDE "audio/headers/sfxheaders1f.asm" +INCLUDE "audio/headers/sfxheaders3.asm" SECTION "Music Headers 1", ROMX, BANK[AUDIO_1] -INCLUDE "audio/headers/musicheaders02.asm" +INCLUDE "audio/headers/musicheaders1.asm" SECTION "Music Headers 2", ROMX, BANK[AUDIO_2] -INCLUDE "audio/headers/musicheaders08.asm" +INCLUDE "audio/headers/musicheaders2.asm" SECTION "Music Headers 3", ROMX, BANK[AUDIO_3] -INCLUDE "audio/headers/musicheaders1f.asm" +INCLUDE "audio/headers/musicheaders3.asm" @@ -50,7 +50,7 @@ INCLUDE "audio/sfx/muted_snare2_1.asm" INCLUDE "audio/sfx/muted_snare3_1.asm" INCLUDE "audio/sfx/muted_snare4_1.asm" -Music2_WavePointers: INCLUDE "audio/wave_instruments.asm" +Audio1_WavePointers: INCLUDE "audio/wave_instruments.asm" INCLUDE "audio/sfx/start_menu_1.asm" INCLUDE "audio/sfx/pokeflute.asm" @@ -86,7 +86,7 @@ INCLUDE "audio/sfx/push_boulder_1.asm" INCLUDE "audio/sfx/ss_anne_horn_1.asm" INCLUDE "audio/sfx/withdraw_deposit_1.asm" INCLUDE "audio/sfx/safari_zone_pa.asm" -INCLUDE "audio/sfx/sfx_02_unused.asm" +INCLUDE "audio/sfx/unused_1.asm" INCLUDE "audio/sfx/cry09_1.asm" INCLUDE "audio/sfx/cry23_1.asm" INCLUDE "audio/sfx/cry24_1.asm" @@ -149,7 +149,7 @@ INCLUDE "audio/sfx/muted_snare2_2.asm" INCLUDE "audio/sfx/muted_snare3_2.asm" INCLUDE "audio/sfx/muted_snare4_2.asm" -Music8_WavePointers: INCLUDE "audio/wave_instruments.asm" +Audio2_WavePointers: INCLUDE "audio/wave_instruments.asm" INCLUDE "audio/sfx/press_ab_2.asm" INCLUDE "audio/sfx/start_menu_2.asm" @@ -162,7 +162,7 @@ INCLUDE "audio/sfx/ball_poof.asm" INCLUDE "audio/sfx/faint_thud.asm" INCLUDE "audio/sfx/run.asm" INCLUDE "audio/sfx/dex_page_added.asm" -INCLUDE "audio/sfx/sfx_08_pokeflute_ch3.asm" +INCLUDE "audio/sfx/pokeflute_ch3.asm" INCLUDE "audio/sfx/peck.asm" INCLUDE "audio/sfx/faint_fall.asm" INCLUDE "audio/sfx/battle_09.asm" @@ -211,7 +211,7 @@ INCLUDE "audio/sfx/battle_33.asm" INCLUDE "audio/sfx/battle_34.asm" INCLUDE "audio/sfx/battle_35.asm" INCLUDE "audio/sfx/battle_36.asm" -INCLUDE "audio/sfx/sfx_08_unused.asm" +INCLUDE "audio/sfx/unused_2.asm" INCLUDE "audio/sfx/cry09_2.asm" INCLUDE "audio/sfx/cry23_2.asm" INCLUDE "audio/sfx/cry24_2.asm" @@ -274,7 +274,7 @@ INCLUDE "audio/sfx/muted_snare2_3.asm" INCLUDE "audio/sfx/muted_snare3_3.asm" INCLUDE "audio/sfx/muted_snare4_3.asm" -Music1f_WavePointers: INCLUDE "audio/wave_instruments.asm" +Audio3_WavePointers: INCLUDE "audio/wave_instruments.asm" INCLUDE "audio/sfx/start_menu_3.asm" INCLUDE "audio/sfx/cut_3.asm" @@ -318,7 +318,7 @@ INCLUDE "audio/sfx/slots_stop_wheel.asm" INCLUDE "audio/sfx/slots_reward.asm" INCLUDE "audio/sfx/slots_new_spin.asm" INCLUDE "audio/sfx/shooting_star.asm" -INCLUDE "audio/sfx/sfx_1f_unused.asm" +INCLUDE "audio/sfx/unused_3.asm" INCLUDE "audio/sfx/cry09_3.asm" INCLUDE "audio/sfx/cry23_3.asm" INCLUDE "audio/sfx/cry24_3.asm" @@ -408,12 +408,12 @@ Music_RivalAlternateStart:: ; 0x9b47 call PlayMusic ld hl, wc006 ld de, Music_MeetRival_branch_b1a2 - call Music2_OverwriteChannelPointer + call Audio1_OverwriteChannelPointer ld de, Music_MeetRival_branch_b21d - call Music2_OverwriteChannelPointer + call Audio1_OverwriteChannelPointer ld de, Music_MeetRival_branch_b2b5 -Music2_OverwriteChannelPointer: ; 0x9b60 +Audio1_OverwriteChannelPointer: ; 0x9b60 ld a, e ld [hli], a ld a, d @@ -427,14 +427,14 @@ Music_RivalAlternateTempo:: ; 0x9b65 call PlayMusic ld hl, wc006 ld de, Music_MeetRival_branch_b119 - jp Music2_OverwriteChannelPointer + jp Audio1_OverwriteChannelPointer ; applies both the alternate start and alternate tempo Music_RivalAlternateStartAndTempo:: ; 0x9b75 call Music_RivalAlternateStart ld hl, wc006 ld de, Music_MeetRival_branch_b19b - jp Music2_OverwriteChannelPointer + jp Audio1_OverwriteChannelPointer ; an alternate tempo for Cities1 which is used for the Hall of Fame room Music_Cities1AlternateTempo:: ; 0x9b81 @@ -450,7 +450,7 @@ Music_Cities1AlternateTempo:: ; 0x9b81 call PlayMusic ld hl, wc006 ld de, Music_Cities1_branch_aa6f - jp Music2_OverwriteChannelPointer + jp Audio1_OverwriteChannelPointer SECTION "Audio Engine 2", ROMX, BANK[AUDIO_2] @@ -544,12 +544,12 @@ Music_PokeFluteInBattle:: ; 22306 (8:6306) ; then immediately overwrtie the channel pointers ld hl, wc00e ld de, SFX_08_PokeFlute_Ch1 - call Music8_OverwriteChannelPointer + call Audio2_OverwriteChannelPointer ld de, SFX_08_PokeFlute_Ch2 - call Music8_OverwriteChannelPointer + call Audio2_OverwriteChannelPointer ld de, SFX_08_PokeFlute_Ch3 -Music8_OverwriteChannelPointer: ; 2231d (8:631d) +Audio2_OverwriteChannelPointer: ; 2231d (8:631d) ld a, e ld [hli], a ld a, d @@ -632,8 +632,8 @@ INCLUDE "audio/music/pokecenter.asm" SECTION "Music 2", ROMX, BANK[AUDIO_2] -INCLUDE "audio/sfx/sfx_08_pokeflute.asm" -INCLUDE "audio/sfx/sfx_08_unused2.asm" +INCLUDE "audio/sfx/pokeflute_ch1_ch2.asm" +INCLUDE "audio/sfx/unused2_2.asm" INCLUDE "audio/music/gymleaderbattle.asm" INCLUDE "audio/music/trainerbattle.asm" INCLUDE "audio/music/wildbattle.asm" diff --git a/audio/engine_1.asm b/audio/engine_1.asm index fd74b16d..9a302ef3 100644 --- a/audio/engine_1.asm +++ b/audio/engine_1.asm @@ -1,6 +1,6 @@ ; The first of three duplicated sound engines. -Music2_UpdateMusic:: ; 0x9103 +Audio1_UpdateMusic:: ; 0x9103 ld c, CH0 .loop ld b, $0 @@ -26,7 +26,7 @@ Music2_UpdateMusic:: ; 0x9103 ld [$ff1a], a jr .nextChannel .asm_912e - call Music2_ApplyMusicAffects + call Audio1_ApplyMusicAffects .nextChannel ld a, c inc c ; inc channel number @@ -42,13 +42,13 @@ Music2_UpdateMusic:: ; 0x9103 ; 3: a toggle used only by this routine for vibrato ; 4: pitchbend flag ; 6: dutycycle flag -Music2_ApplyMusicAffects: ; 0x9138 +Audio1_ApplyMusicAffects: ; 0x9138 ld b, $0 ld hl, wc0b6 ; delay until next note add hl, bc ld a, [hl] cp $1 ; if the delay is 1, play next note - jp z, Music2_PlayNextNote + jp z, Audio1_PlayNextNote dec a ; otherwise, decrease the delay timer ld [hl], a ld a, c @@ -65,7 +65,7 @@ Music2_ApplyMusicAffects: ; 0x9138 add hl, bc bit 6, [hl] ; dutycycle jr z, .checkForExecuteMusic - call Music2_ApplyDutyCycle + call Audio1_ApplyDutyCycle .checkForExecuteMusic ld b, $0 ld hl, wc036 @@ -81,7 +81,7 @@ Music2_ApplyMusicAffects: ; 0x9138 add hl, bc bit 4, [hl] ; pitchbend jr z, .checkVibratoDelay - jp Music2_ApplyPitchBend + jp Audio1_ApplyPitchBend .checkVibratoDelay ld hl, wc04e ; vibrato delay add hl, bc @@ -141,14 +141,14 @@ Music2_ApplyMusicAffects: ; 0x9138 .done ld d, a ld b, $3 - call Music2_9838 + call Audio1_9838 ld [hl], d ret ; this routine executes all music commands that take up no time, ; like tempo changes, duty changes etc. and doesn't return ; until the first note is reached -Music2_PlayNextNote: ; 0x91d0 +Audio1_PlayNextNote: ; 0x91d0 ld hl, wc06e add hl, bc ld a, [hl] @@ -159,14 +159,14 @@ Music2_PlayNextNote: ; 0x91d0 add hl, bc res 4, [hl] res 5, [hl] - call Music2_endchannel + call Audio1_endchannel ret -Music2_endchannel: ; 0x91e6 - call Music2_GetNextMusicByte +Audio1_endchannel: ; 0x91e6 + call Audio1_GetNextMusicByte ld d, a cp $ff ; is this command an endchannel? - jp nz, Music2_callchannel ; no + jp nz, Audio1_callchannel ; no ld b, $0 ; yes ld hl, wc02e add hl, bc @@ -216,7 +216,7 @@ Music2_endchannel: ; 0x91e6 inc de ld a, [de] ld [hl], a ; loads channel address to return to - jp Music2_endchannel + jp Audio1_endchannel .asm_923f ld hl, Unknown_9b1f add hl, bc @@ -238,7 +238,7 @@ Music2_endchannel: ; 0x91e6 ld a, c cp CH4 jr z, .asm_9265 - call Music2_96c7 + call Audio1_96c7 ret c .asm_9265 ld a, [wc005] @@ -251,12 +251,12 @@ Music2_endchannel: ; 0x91e6 ld [hl], b ret -Music2_callchannel: ; 0x9274 +Audio1_callchannel: ; 0x9274 cp $fd ; is this command a callchannel? - jp nz, Music2_loopchannel ; no - call Music2_GetNextMusicByte ; yes + jp nz, Audio1_loopchannel ; no + call Audio1_GetNextMusicByte ; yes push af - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld d, a pop af ld e, a @@ -286,12 +286,12 @@ Music2_callchannel: ; 0x9274 ld hl, wc02e add hl, bc set 1, [hl] ; set the call flag - jp Music2_endchannel + jp Audio1_endchannel -Music2_loopchannel: ; 0x92a9 +Audio1_loopchannel: ; 0x92a9 cp $fe ; is this command a loopchannel? - jp nz, Music2_notetype ; no - call Music2_GetNextMusicByte ; yes + jp nz, Audio1_notetype ; no + call Audio1_GetNextMusicByte ; yes ld e, a and a jr z, .infiniteLoop @@ -303,17 +303,17 @@ Music2_loopchannel: ; 0x92a9 jr nz, .loopAgain ld a, $1 ; if no more loops to make, ld [hl], a - call Music2_GetNextMusicByte ; skip pointer - call Music2_GetNextMusicByte - jp Music2_endchannel + call Audio1_GetNextMusicByte ; skip pointer + call Audio1_GetNextMusicByte + jp Audio1_endchannel .loopAgain ; inc loop count inc a ld [hl], a ; fall through .infiniteLoop ; overwrite current address with pointer - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte push af - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld b, a ld d, $0 ld a, c @@ -324,12 +324,12 @@ Music2_loopchannel: ; 0x92a9 pop af ld [hli], a ld [hl], b - jp Music2_endchannel + jp Audio1_endchannel -Music2_notetype: ; 0x92e4 +Audio1_notetype: ; 0x92e4 and $f0 cp $d0 ; is this command a notetype? - jp nz, Music2_toggleperfectpitch ; no + jp nz, Audio1_toggleperfectpitch ; no ld a, d ; yes and $f ld b, $0 @@ -339,7 +339,7 @@ Music2_notetype: ; 0x92e4 ld a, c cp CH3 jr z, .noiseChannel ; noise channel has 0 params - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld d, a ld a, c cp CH2 @@ -368,24 +368,24 @@ Music2_notetype: ; 0x92e4 add hl, bc ld [hl], d .noiseChannel - jp Music2_endchannel + jp Audio1_endchannel -Music2_toggleperfectpitch: ; 0x9323 +Audio1_toggleperfectpitch: ; 0x9323 ld a, d cp $e8 ; is this command a toggleperfectpitch? - jr nz, Music2_vibrato ; no + jr nz, Audio1_vibrato ; no ld b, $0 ; yes ld hl, wc02e add hl, bc ld a, [hl] xor $1 ld [hl], a ; flip bit 0 of wc02e - jp Music2_endchannel + jp Audio1_endchannel -Music2_vibrato: ; 0x9335 +Audio1_vibrato: ; 0x9335 cp $ea ; is this command a vibrato? - jr nz, Music2_pitchbend ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_pitchbend ; no + call Audio1_GetNextMusicByte ; yes ld b, $0 ld hl, wc04e add hl, bc @@ -393,7 +393,7 @@ Music2_vibrato: ; 0x9335 ld hl, wc06e add hl, bc ld [hl], a ; store delay - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld d, a and $f0 swap a @@ -414,24 +414,24 @@ Music2_vibrato: ; 0x9335 swap a or d ld [hl], a ; store depth as both high and low nibbles - jp Music2_endchannel + jp Audio1_endchannel -Music2_pitchbend: ; 0x936d +Audio1_pitchbend: ; 0x936d cp $eb ; is this command a pitchbend? - jr nz, Music2_duty ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_duty ; no + call Audio1_GetNextMusicByte ; yes ld b, $0 ld hl, wc076 add hl, bc ld [hl], a ; store first param - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld d, a and $f0 swap a ld b, a ld a, d and $f - call Music2_9858 + call Audio1_9858 ld b, $0 ld hl, wc0a6 add hl, bc @@ -443,14 +443,14 @@ Music2_pitchbend: ; 0x936d ld hl, wc02e add hl, bc set 4, [hl] ; set pitchbend flag - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld d, a - jp Music2_notelength + jp Audio1_notelength -Music2_duty: ; 0x93a5 +Audio1_duty: ; 0x93a5 cp $ec ; is this command a duty? - jr nz, Music2_tempo ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_tempo ; no + call Audio1_GetNextMusicByte ; yes rrca rrca and $c0 @@ -458,17 +458,17 @@ Music2_duty: ; 0x93a5 ld hl, wc03e add hl, bc ld [hl], a ; store duty - jp Music2_endchannel + jp Audio1_endchannel -Music2_tempo: ; 0x93ba +Audio1_tempo: ; 0x93ba cp $ed ; is this command a tempo? - jr nz, Music2_stereopanning ; no + jr nz, Audio1_stereopanning ; no ld a, c ; yes cp CH4 jr nc, .sfxChannel - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld [wc0e8], a ; store first param - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld [wc0e9], a ; store second param xor a ld [wc0ce], a ; clear RAM @@ -477,9 +477,9 @@ Music2_tempo: ; 0x93ba ld [wc0d1], a jr .musicChannelDone .sfxChannel - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld [wc0ea], a ; store first param - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld [wc0eb], a ; store second param xor a ld [wc0d2], a ; clear RAM @@ -487,22 +487,22 @@ Music2_tempo: ; 0x93ba ld [wc0d4], a ld [wc0d5], a .musicChannelDone - jp Music2_endchannel + jp Audio1_endchannel -Music2_stereopanning: ; 0x93fa +Audio1_stereopanning: ; 0x93fa cp $ee ; is this command a stereopanning? - jr nz, Music2_unknownmusic0xef ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_unknownmusic0xef ; no + call Audio1_GetNextMusicByte ; yes ld [wc004], a ; store panning - jp Music2_endchannel + jp Audio1_endchannel ; this appears to never be used -Music2_unknownmusic0xef: ; 0x9407 +Audio1_unknownmusic0xef: ; 0x9407 cp $ef ; is this command an unknownmusic0xef? - jr nz, Music2_dutycycle ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_dutycycle ; no + call Audio1_GetNextMusicByte ; yes push bc - call Music2_9876 + call Audio1_9876 pop bc ld a, [wc003] and a @@ -512,12 +512,12 @@ Music2_unknownmusic0xef: ; 0x9407 xor a ld [wc02d], a .skip - jp Music2_endchannel + jp Audio1_endchannel -Music2_dutycycle: ; 0x9426 +Audio1_dutycycle: ; 0x9426 cp $fc ; is this command a dutycycle? - jr nz, Music2_volume ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_volume ; no + call Audio1_GetNextMusicByte ; yes ld b, $0 ld hl, wc046 add hl, bc @@ -529,48 +529,48 @@ Music2_dutycycle: ; 0x9426 ld hl, wc02e add hl, bc set 6, [hl] ; set dutycycle flag - jp Music2_endchannel + jp Audio1_endchannel -Music2_volume: ; 0x9444 +Audio1_volume: ; 0x9444 cp $f0 ; is this command a volume? - jr nz, Music2_executemusic ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_executemusic ; no + call Audio1_GetNextMusicByte ; yes ld [$ff24], a ; store volume - jp Music2_endchannel + jp Audio1_endchannel -Music2_executemusic: ; 0x9450 +Audio1_executemusic: ; 0x9450 cp $f8 ; is this command an executemusic? - jr nz, Music2_octave ; no + jr nz, Audio1_octave ; no ld b, $0 ; yes ld hl, wc036 add hl, bc set 0, [hl] - jp Music2_endchannel + jp Audio1_endchannel -Music2_octave: ; 0x945f +Audio1_octave: ; 0x945f and $f0 cp $e0 ; is this command an octave? - jr nz, Music2_unknownsfx0x20 ; no + jr nz, Audio1_unknownsfx0x20 ; no ld hl, wc0d6 ; yes ld b, $0 add hl, bc ld a, d and $f ld [hl], a ; store low nibble as octave - jp Music2_endchannel + jp Audio1_endchannel -Music2_unknownsfx0x20: ; 0x9472 +Audio1_unknownsfx0x20: ; 0x9472 cp $20 ; is this command an unknownsfx0x20? - jr nz, Music2_unknownsfx0x10 ; no + jr nz, Audio1_unknownsfx0x10 ; no ld a, c cp CH3 ; is this a noise or sfx channel? - jr c, Music2_unknownsfx0x10 ; no + jr c, Audio1_unknownsfx0x10 ; no ld b, $0 ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music2_unknownsfx0x10 ; no - call Music2_notelength ; yes + jr nz, Audio1_unknownsfx0x10 ; no + call Audio1_notelength ; yes ld d, a ld b, $0 ld hl, wc03e @@ -579,56 +579,56 @@ Music2_unknownsfx0x20: ; 0x9472 or d ld d, a ld b, $1 - call Music2_9838 + call Audio1_9838 ld [hl], d - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld d, a ld b, $2 - call Music2_9838 + call Audio1_9838 ld [hl], d - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte ld e, a ld a, c cp CH7 ld a, $0 jr z, .sfxNoiseChannel ; only two params for noise channel push de - call Music2_GetNextMusicByte + call Audio1_GetNextMusicByte pop de .sfxNoiseChannel ld d, a push de - call Music2_9629 - call Music2_95f8 + call Audio1_9629 + call Audio1_95f8 pop de - call Music2_964b + call Audio1_964b ret -Music2_unknownsfx0x10: +Audio1_unknownsfx0x10: ld a, c cp CH4 - jr c, Music2_note ; if not a sfx + jr c, Audio1_note ; if not a sfx ld a, d cp $10 ; is this command a unknownsfx0x10? - jr nz, Music2_note ; no + jr nz, Audio1_note ; no ld b, $0 ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music2_note ; no - call Music2_GetNextMusicByte ; yes + jr nz, Audio1_note ; no + call Audio1_GetNextMusicByte ; yes ld [$ff10], a - jp Music2_endchannel + jp Audio1_endchannel -Music2_note: +Audio1_note: ld a, c cp CH3 - jr nz, Music2_notelength ; if not noise channel + jr nz, Audio1_notelength ; if not noise channel ld a, d and $f0 cp $b0 ; is this command a dnote? - jr z, Music2_dnote ; yes - jr nc, Music2_notelength ; no + jr z, Audio1_dnote ; yes + jr nc, Audio1_notelength ; no swap a ld b, a ld a, d @@ -639,24 +639,24 @@ Music2_note: push bc jr asm_94fd -Music2_dnote: +Audio1_dnote: ld a, d and $f push af push bc - call Music2_GetNextMusicByte ; get dnote instrument + call Audio1_GetNextMusicByte ; get dnote instrument asm_94fd ld d, a ld a, [wc003] and a jr nz, .asm_9508 ld a, d - call Music2_9876 + call Audio1_9876 .asm_9508 pop bc pop de -Music2_notelength: ; 0x950a +Audio1_notelength: ; 0x950a ld a, d push af and $f @@ -668,7 +668,7 @@ Music2_notelength: ; 0x950a add hl, bc ld a, [hl] ld l, b - call Music2_9847 + call Audio1_9847 ld a, c cp CH4 jr nc, .sfxChannel @@ -682,7 +682,7 @@ Music2_notelength: ; 0x950a ld e, $0 cp CH7 jr z, .skip ; if noise channel - call Music2_9693 + call Audio1_9693 ld a, [wc0ea] ld d, a ld a, [wc0eb] @@ -693,7 +693,7 @@ Music2_notelength: ; 0x950a ld hl, wc0ce add hl, bc ld l, [hl] - call Music2_9847 + call Audio1_9847 ld e, l ld d, h ld hl, wc0ce @@ -706,15 +706,15 @@ Music2_notelength: ; 0x950a ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music2_notepitch + jr nz, Audio1_notepitch ld hl, wc02e add hl, bc bit 2, [hl] - jr z, Music2_notepitch + jr z, Audio1_notepitch pop hl ret -Music2_notepitch: ; 0x9568 +Audio1_notepitch: ; 0x9568 pop af and $f0 cp $c0 ; compare to rest @@ -744,7 +744,7 @@ Music2_notepitch: ; 0x9568 jr .done .notSfxChannel3 ld b, $2 - call Music2_9838 + call Audio1_9838 ld a, $8 ld [hli], a inc hl @@ -758,13 +758,13 @@ Music2_notepitch: ; 0x9568 ld hl, wc0d6 add hl, bc ld b, [hl] - call Music2_9858 + call Audio1_9858 ld b, $0 ld hl, wc02e add hl, bc bit 4, [hl] jr z, .asm_95b8 - call Music2_978f + call Audio1_978f .asm_95b8 push de ld a, c @@ -787,10 +787,10 @@ Music2_notepitch: ; 0x9568 add hl, bc ld d, [hl] ld b, $2 - call Music2_9838 + call Audio1_9838 ld [hl], d - call Music2_9629 - call Music2_95f8 + call Audio1_9629 + call Audio1_95f8 pop de ld b, $0 ld hl, wc02e @@ -804,10 +804,10 @@ Music2_notepitch: ; 0x9568 ld hl, wc066 add hl, bc ld [hl], e - call Music2_964b + call Audio1_964b ret -Music2_95f8: ; 0x95f8 +Audio1_95f8: ; 0x95f8 ld b, $0 ld hl, Unknown_9b27 add hl, bc @@ -841,7 +841,7 @@ Music2_95f8: ; 0x95f8 ld [$ff25], a ret -Music2_9629: ; 0x9629 +Audio1_9629: ; 0x9629 ld b, $0 ld hl, wc0b6 add hl, bc @@ -861,11 +861,11 @@ Music2_9629: ; 0x9629 ld d, a .channel3 ld b, $1 - call Music2_9838 + call Audio1_9838 ld [hl], d ret -Music2_964b: ; 0x964b +Audio1_964b: ; 0x964b ld a, c cp CH2 jr z, .channel3 @@ -883,7 +883,7 @@ Music2_964b: ; 0x964b add a ld d, $0 ld e, a - ld hl, Music2_WavePointers + ld hl, Audio1_WavePointers add hl, de ld e, [hl] inc hl @@ -909,15 +909,15 @@ Music2_964b: ; 0x964b and $c7 ld d, a ld b, $3 - call Music2_9838 + call Audio1_9838 ld [hl], e inc hl ld [hl], d - call Music2_96b5 + call Audio1_96b5 ret -Music2_9693: ; 0x9693 - call Music2_96e5 +Audio1_9693: ; 0x9693 + call Audio1_96e5 jr nc, .asm_96ab ld d, $0 ld a, [wc0f2] @@ -937,8 +937,8 @@ Music2_9693: ; 0x9693 .asm_96b4 ret -Music2_96b5: ; 0x96b5 - call Music2_96e5 +Audio1_96b5: ; 0x96b5 + call Audio1_96e5 jr nc, .asm_96c6 ld a, [wc0f1] add e @@ -953,8 +953,8 @@ Music2_96b5: ; 0x96b5 .asm_96c6 ret -Music2_96c7: ; 0x96c7 - call Music2_96e5 +Audio1_96c7: ; 0x96c7 + call Audio1_96e5 jr nc, .asm_96e2 ld hl, wc006 ld e, c @@ -976,7 +976,7 @@ Music2_96c7: ; 0x96c7 ccf ret -Music2_96e5: ; 0x96e5 +Audio1_96e5: ; 0x96e5 ld a, [wc02a] cp $14 jr nc, .asm_96ee @@ -993,7 +993,7 @@ Music2_96e5: ; 0x96e5 scf ret -Music2_ApplyPitchBend: ; 0x96f9 +Audio1_ApplyPitchBend: ; 0x96f9 ld hl, wc02e add hl, bc bit 5, [hl] @@ -1083,7 +1083,7 @@ Music2_ApplyPitchBend: ; 0x96f9 add hl, bc ld [hl], d ld b, $3 - call Music2_9838 + call Audio1_9838 ld a, e ld [hli], a ld [hl], d @@ -1095,7 +1095,7 @@ Music2_ApplyPitchBend: ; 0x96f9 res 5, [hl] ret -Music2_978f: ; 0x978f +Audio1_978f: ; 0x978f ld hl, wc096 add hl, bc ld [hl], d @@ -1184,7 +1184,7 @@ Music2_978f: ; 0x978f ld [hl], a ret -Music2_ApplyDutyCycle: ; 0x980d +Audio1_ApplyDutyCycle: ; 0x980d ld b, $0 ld hl, wc046 add hl, bc @@ -1195,14 +1195,14 @@ Music2_ApplyDutyCycle: ; 0x980d and $c0 ld d, a ld b, $1 - call Music2_9838 + call Audio1_9838 ld a, [hl] and $3f or d ld [hl], a ret -Music2_GetNextMusicByte: ; 0x9825 +Audio1_GetNextMusicByte: ; 0x9825 ld d, $0 ld a, c add a @@ -1220,7 +1220,7 @@ Music2_GetNextMusicByte: ; 0x9825 ld [hl], d ret -Music2_9838: ; 0x9838 +Audio1_9838: ; 0x9838 ld a, c ld hl, Unknown_9b17 add l @@ -1234,7 +1234,7 @@ Music2_9838: ; 0x9838 ld h, $ff ret -Music2_9847: ; 0x9847 +Audio1_9847: ; 0x9847 ld h, $0 .loop srl a @@ -1249,13 +1249,13 @@ Music2_9847: ; 0x9847 .done ret -Music2_9858: ; 0x9858 +Audio1_9858: ; 0x9858 ld h, $0 ld l, a add hl, hl ld d, h ld e, l - ld hl, Music2_Pitches + ld hl, Audio1_Pitches add hl, de ld e, [hl] inc hl @@ -1274,16 +1274,16 @@ Music2_9858: ; 0x9858 ld d, a ret -Music2_9876:: ; 0x9876 +Audio1_9876:: ; 0x9876 ld [wc001], a cp $ff - jp z, Music2_9a34 + jp z, Audio1_9a34 cp $b9 - jp z, Music2_994e - jp c, Music2_994e + jp z, Audio1_994e + jp c, Audio1_994e cp $fe jr z, .asm_988d - jp nc, Music2_994e + jp nc, Audio1_994e .asm_988d xor a ld [wc000], a @@ -1293,53 +1293,53 @@ Music2_9876:: ; 0x9876 ld [wc0e7], a ld d, $8 ld hl, wc016 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc006 - call FillMusicRAM2 + call FillAudioRAM1 ld d, $4 ld hl, wc026 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc02e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc03e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc046 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc04e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc056 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc05e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc066 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc06e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc036 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc076 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc07e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc086 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc08e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc096 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc09e - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc0a6 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc0ae - call FillMusicRAM2 + call FillAudioRAM1 ld a, $1 ld hl, wc0be - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc0b6 - call FillMusicRAM2 + call FillAudioRAM1 ld hl, wc0c6 - call FillMusicRAM2 + call FillAudioRAM1 ld [wc0e8], a ld a, $ff ld [wc004], a @@ -1355,16 +1355,16 @@ Music2_9876:: ; 0x9876 ld [$ff1a], a ld a, $77 ld [$ff24], a - jp Music2_9a8f + jp Audio1_9a8f -Music2_994e: ; 0x994e +Audio1_994e: ; 0x994e ld l, a ld e, a ld h, $0 ld d, h add hl, hl add hl, de - ld de, SFX_Headers_02 + ld de, SFX_Headers_1 add hl, de ld a, h ld [wc0ec], a @@ -1504,11 +1504,11 @@ Music2_994e: ; 0x994e .asm_9a2b ld a, c and a - jp z, Music2_9a8f + jp z, Audio1_9a8f dec c jp .asm_9967 -Music2_9a34: ; 0x9a34 +Audio1_9a34: ; 0x9a34 ld a, $80 ld [$ff26], a ld [$ff1a], a @@ -1536,11 +1536,11 @@ Music2_9a34: ; 0x9a34 ld [wc0e7], a ld d, $a0 ld hl, wc006 - call FillMusicRAM2 + call FillAudioRAM1 ld a, $1 ld d, $18 ld hl, wc0b6 - call FillMusicRAM2 + call FillAudioRAM1 ld [wc0e8], a ld [wc0ea], a ld a, $ff @@ -1548,7 +1548,7 @@ Music2_9a34: ; 0x9a34 ret ; fills d bytes at hl with a -FillMusicRAM2: ; 0x9a89 +FillAudioRAM1: ; 0x9a89 ld b, d .loop ld [hli], a @@ -1556,7 +1556,7 @@ FillMusicRAM2: ; 0x9a89 jr nz, .loop ret -Music2_9a8f: ; 0x9a8f +Audio1_9a8f: ; 0x9a8f ld a, [wc001] ld l, a ld e, a @@ -1564,7 +1564,7 @@ Music2_9a8f: ; 0x9a8f ld d, h add hl, hl add hl, de - ld de, SFX_Headers_02 + ld de, SFX_Headers_1 add hl, de ld e, l ld d, h @@ -1637,7 +1637,7 @@ Music2_9a8f: ; 0x9a8f ld [hli], a ld [hl], a ld hl, wc012 ; sfx noise channel pointer - ld de, Noise2_endchannel + ld de, Noise1_endchannel ld [hl], e inc hl ld [hl], d ; overwrite pointer to point to endchannel @@ -1651,7 +1651,7 @@ Music2_9a8f: ; 0x9a8f .asm_9b15 ret -Noise2_endchannel: ; 0x9b16 +Noise1_endchannel: ; 0x9b16 endchannel Unknown_9b17: ; 0x9b17 @@ -1666,7 +1666,7 @@ Unknown_9b27: ; 0x9b27 db $11, $22, $44, $88 ; channels 0-3 db $11, $22, $44, $88 ; channels 4-7 -Music2_Pitches: ; 0x9b2f +Audio1_Pitches: ; 0x9b2f dw $F82C ; C_ dw $F89D ; C# dw $F907 ; D_ diff --git a/audio/engine_2.asm b/audio/engine_2.asm index 5940b55a..62b82cec 100644 --- a/audio/engine_2.asm +++ b/audio/engine_2.asm @@ -1,6 +1,6 @@ ; The second of three duplicated sound engines. -Music8_UpdateMusic:: ; 21879 (8:5879) +Audio2_UpdateMusic:: ; 21879 (8:5879) ld c, CH0 .loop ld b, $0 @@ -26,7 +26,7 @@ Music8_UpdateMusic:: ; 21879 (8:5879) ld [$ff1a], a jr .nextChannel .applyAffects - call Music8_ApplyMusicAffects + call Audio2_ApplyMusicAffects .nextChannel ld a, c inc c @@ -42,13 +42,13 @@ Music8_UpdateMusic:: ; 21879 (8:5879) ; 3: a toggle used only by this routine for vibrato ; 4: pitchbend flag ; 6: dutycycle flag -Music8_ApplyMusicAffects: ; 218ae (8:58ae) +Audio2_ApplyMusicAffects: ; 218ae (8:58ae) ld b, $0 ld hl, wc0b6 ; delay until next note add hl, bc ld a, [hl] cp $1 ; if the delay is 1, play next note - jp z, Music8_PlayNextNote + jp z, Audio2_PlayNextNote dec a ; otherwise, decrease the delay timer ld [hl], a ld a, c @@ -65,7 +65,7 @@ Music8_ApplyMusicAffects: ; 218ae (8:58ae) add hl, bc bit 6, [hl] ; dutycycle jr z, .checkForExecuteMusic - call Music8_ApplyDutyCycle + call Audio2_ApplyDutyCycle .checkForExecuteMusic ld b, $0 ld hl, wc036 @@ -81,7 +81,7 @@ Music8_ApplyMusicAffects: ; 218ae (8:58ae) add hl, bc bit 4, [hl] ; pitchbend jr z, .checkVibratoDelay - jp Music8_ApplyPitchBend + jp Audio2_ApplyPitchBend .checkVibratoDelay ld hl, wc04e ; vibrato delay add hl, bc @@ -141,14 +141,14 @@ Music8_ApplyMusicAffects: ; 218ae (8:58ae) .done ld d, a ld b, $3 - call Music8_21ff7 + call Audio2_21ff7 ld [hl], d ret ; this routine executes all music commands that take up no time, ; like tempo changes, duty changes etc. and doesn't return ; until the first note is reached -Music8_PlayNextNote: ; 21946 (8:5946) +Audio2_PlayNextNote: ; 21946 (8:5946) ld hl, wc06e add hl, bc ld a, [hl] @@ -166,14 +166,14 @@ Music8_PlayNextNote: ; 21946 (8:5946) bit 7, a ret nz .beginChecks - call Music8_endchannel + call Audio2_endchannel ret -Music8_endchannel: ; 21967 (8:5967) - call Music8_GetNextMusicByte +Audio2_endchannel: ; 21967 (8:5967) + call Audio2_GetNextMusicByte ld d, a cp $ff ; is this command an endchannel? - jp nz, Music8_callchannel ; no + jp nz, Audio2_callchannel ; no ld b, $0 ; yes ld hl, wc02e add hl, bc @@ -223,7 +223,7 @@ Music8_endchannel: ; 21967 (8:5967) inc de ld a, [de] ld [hl], a ; loads channel address to return to - jp Music8_endchannel + jp Audio2_endchannel .asm_219c0 ld hl, Unknown_222de add hl, bc @@ -245,7 +245,7 @@ Music8_endchannel: ; 21967 (8:5967) ld a, c cp CH4 jr z, .asm_219e6 - call Music8_21e6d + call Audio2_21e6d ret c .asm_219e6 ld a, [wc005] @@ -258,12 +258,12 @@ Music8_endchannel: ; 21967 (8:5967) ld [hl], b ret -Music8_callchannel: ; 219f5 (8:59f5) +Audio2_callchannel: ; 219f5 (8:59f5) cp $fd ; is this command a callchannel? - jp nz, Music8_loopchannel ; no - call Music8_GetNextMusicByte ; yes + jp nz, Audio2_loopchannel ; no + call Audio2_GetNextMusicByte ; yes push af - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld d, a pop af ld e, a @@ -293,12 +293,12 @@ Music8_callchannel: ; 219f5 (8:59f5) ld hl, wc02e add hl, bc set 1, [hl] ; set the call flag - jp Music8_endchannel + jp Audio2_endchannel -Music8_loopchannel: ; 21a2a (8:5a2a) +Audio2_loopchannel: ; 21a2a (8:5a2a) cp $fe ; is this command a loopchannel? - jp nz, Music8_notetype ; no - call Music8_GetNextMusicByte ; yes + jp nz, Audio2_notetype ; no + call Audio2_GetNextMusicByte ; yes ld e, a and a jr z, .infiniteLoop @@ -310,17 +310,17 @@ Music8_loopchannel: ; 21a2a (8:5a2a) jr nz, .loopAgain ld a, $1 ; if no more loops to make, ld [hl], a - call Music8_GetNextMusicByte ; skip pointer - call Music8_GetNextMusicByte - jp Music8_endchannel + call Audio2_GetNextMusicByte ; skip pointer + call Audio2_GetNextMusicByte + jp Audio2_endchannel .loopAgain ; inc loop count inc a ld [hl], a ; fall through .infiniteLoop ; overwrite current address with pointer - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte push af - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld b, a ld d, $0 ld a, c @@ -331,12 +331,12 @@ Music8_loopchannel: ; 21a2a (8:5a2a) pop af ld [hli], a ld [hl], b - jp Music8_endchannel + jp Audio2_endchannel -Music8_notetype: ; 21a65 (8:5a65) +Audio2_notetype: ; 21a65 (8:5a65) and $f0 cp $d0 ; is this command a notetype? - jp nz, Music8_toggleperfectpitch ; no + jp nz, Audio2_toggleperfectpitch ; no ld a, d ; yes and $f ld b, $0 @@ -346,7 +346,7 @@ Music8_notetype: ; 21a65 (8:5a65) ld a, c cp CH3 jr z, .noiseChannel ; noise channel has 0 params - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld d, a ld a, c cp CH2 @@ -375,24 +375,24 @@ Music8_notetype: ; 21a65 (8:5a65) add hl, bc ld [hl], d .noiseChannel - jp Music8_endchannel + jp Audio2_endchannel -Music8_toggleperfectpitch: ; 21aa4 (8:5aa4) +Audio2_toggleperfectpitch: ; 21aa4 (8:5aa4) ld a, d cp $e8 ; is this command a toggleperfectpitch? - jr nz, Music8_vibrato ; no + jr nz, Audio2_vibrato ; no ld b, $0 ; yes ld hl, wc02e add hl, bc ld a, [hl] xor $1 ld [hl], a ; flip bit 0 of wc02e - jp Music8_endchannel + jp Audio2_endchannel -Music8_vibrato: ; 21ab6 (8:5ab6) +Audio2_vibrato: ; 21ab6 (8:5ab6) cp $ea ; is this command a vibrato? - jr nz, Music8_pitchbend ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_pitchbend ; no + call Audio2_GetNextMusicByte ; yes ld b, $0 ld hl, wc04e add hl, bc @@ -400,7 +400,7 @@ Music8_vibrato: ; 21ab6 (8:5ab6) ld hl, wc06e add hl, bc ld [hl], a ; store delay - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld d, a and $f0 swap a @@ -421,24 +421,24 @@ Music8_vibrato: ; 21ab6 (8:5ab6) swap a or d ld [hl], a ; store depth as both high and low nibbles - jp Music8_endchannel + jp Audio2_endchannel -Music8_pitchbend: ; 21aee (8:5aee) +Audio2_pitchbend: ; 21aee (8:5aee) cp $eb ; is this command a pitchbend? - jr nz, Music8_duty ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_duty ; no + call Audio2_GetNextMusicByte ; yes ld b, $0 ld hl, wc076 add hl, bc ld [hl], a ; store first param - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld d, a and $f0 swap a ld b, a ld a, d and $f - call Music8_22017 + call Audio2_22017 ld b, $0 ld hl, wc0a6 add hl, bc @@ -450,14 +450,14 @@ Music8_pitchbend: ; 21aee (8:5aee) ld hl, wc02e add hl, bc set 4, [hl] ; set pitchbend flag - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld d, a - jp Music8_notelength + jp Audio2_notelength -Music8_duty: ; 21b26 (8:5b26) +Audio2_duty: ; 21b26 (8:5b26) cp $ec ; is this command a duty? - jr nz, Music8_tempo ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_tempo ; no + call Audio2_GetNextMusicByte ; yes rrca rrca and $c0 @@ -465,17 +465,17 @@ Music8_duty: ; 21b26 (8:5b26) ld hl, wc03e add hl, bc ld [hl], a ; store duty - jp Music8_endchannel + jp Audio2_endchannel -Music8_tempo: ; 21b3b (8:5b3b) +Audio2_tempo: ; 21b3b (8:5b3b) cp $ed ; is this command a tempo? - jr nz, Music8_stereopanning ; no + jr nz, Audio2_stereopanning ; no ld a, c ; yes cp CH4 jr nc, .sfxChannel - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld [wc0e8], a ; store first param - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld [wc0e9], a ; store second param xor a ld [wc0ce], a ; clear RAM @@ -484,9 +484,9 @@ Music8_tempo: ; 21b3b (8:5b3b) ld [wc0d1], a jr .musicChannelDone .sfxChannel - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld [wc0ea], a ; store first param - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld [wc0eb], a ; store second param xor a ld [wc0d2], a ; clear RAM @@ -494,22 +494,22 @@ Music8_tempo: ; 21b3b (8:5b3b) ld [wc0d4], a ld [wc0d5], a .musicChannelDone - jp Music8_endchannel + jp Audio2_endchannel -Music8_stereopanning: ; 21b7b (8:5b7b) +Audio2_stereopanning: ; 21b7b (8:5b7b) cp $ee ; is this command a stereopanning? - jr nz, Music8_unknownmusic0xef ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_unknownmusic0xef ; no + call Audio2_GetNextMusicByte ; yes ld [wc004], a ; store panning - jp Music8_endchannel + jp Audio2_endchannel ; this appears to never be used -Music8_unknownmusic0xef: ; 21b88 (8:5b88) +Audio2_unknownmusic0xef: ; 21b88 (8:5b88) cp $ef ; is this command an unknownmusic0xef? - jr nz, Music8_dutycycle ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_dutycycle ; no + call Audio2_GetNextMusicByte ; yes push bc - call Music8_22035 + call Audio2_22035 pop bc ld a, [wc003] and a @@ -519,12 +519,12 @@ Music8_unknownmusic0xef: ; 21b88 (8:5b88) xor a ld [wc02d], a .skip - jp Music8_endchannel + jp Audio2_endchannel -Music8_dutycycle: ; 21ba7 (8:5ba7) +Audio2_dutycycle: ; 21ba7 (8:5ba7) cp $fc ; is this command a dutycycle? - jr nz, Music8_volume ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_volume ; no + call Audio2_GetNextMusicByte ; yes ld b, $0 ld hl, wc046 add hl, bc @@ -536,48 +536,48 @@ Music8_dutycycle: ; 21ba7 (8:5ba7) ld hl, wc02e add hl, bc set 6, [hl] ; set dutycycle flag - jp Music8_endchannel + jp Audio2_endchannel -Music8_volume: ; 21bc5 (8:5bc5) +Audio2_volume: ; 21bc5 (8:5bc5) cp $f0 ; is this command a volume? - jr nz, Music8_executemusic ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_executemusic ; no + call Audio2_GetNextMusicByte ; yes ld [$ff24], a ; store volume - jp Music8_endchannel + jp Audio2_endchannel -Music8_executemusic: ; 21bd1 (8:5bd1) +Audio2_executemusic: ; 21bd1 (8:5bd1) cp $f8 ; is this command an executemusic? - jr nz, Music8_octave ; no + jr nz, Audio2_octave ; no ld b, $0 ; yes ld hl, wc036 add hl, bc set 0, [hl] - jp Music8_endchannel + jp Audio2_endchannel -Music8_octave: ; 21be0 (8:5be0) +Audio2_octave: ; 21be0 (8:5be0) and $f0 cp $e0 ; is this command an octave? - jr nz, Music8_unknownsfx0x20 ; no + jr nz, Audio2_unknownsfx0x20 ; no ld hl, wc0d6 ; yes ld b, $0 add hl, bc ld a, d and $f ld [hl], a ; store low nibble as octave - jp Music8_endchannel + jp Audio2_endchannel -Music8_unknownsfx0x20: ; 21bf3 +Audio2_unknownsfx0x20: ; 21bf3 cp $20 ; is this command an unknownsfx0x20? - jr nz, Music8_unknownsfx0x10 ; no + jr nz, Audio2_unknownsfx0x10 ; no ld a, c cp CH3 ; is this a noise or sfx channel? - jr c, Music8_unknownsfx0x10 ; no + jr c, Audio2_unknownsfx0x10 ; no ld b, $0 ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music8_unknownsfx0x10 ; no - call Music8_notelength + jr nz, Audio2_unknownsfx0x10 ; no + call Audio2_notelength ld d, a ld b, $0 ld hl, wc03e @@ -586,56 +586,56 @@ Music8_unknownsfx0x20: ; 21bf3 or d ld d, a ld b, $1 - call Music8_21ff7 + call Audio2_21ff7 ld [hl], d - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld d, a ld b, $2 - call Music8_21ff7 + call Audio2_21ff7 ld [hl], d - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte ld e, a ld a, c cp CH7 ld a, $0 jr z, .sfxNoiseChannel ; only two params for noise channel push de - call Music8_GetNextMusicByte + call Audio2_GetNextMusicByte pop de .sfxNoiseChannel ld d, a push de - call Music8_21daa - call Music8_21d79 + call Audio2_21daa + call Audio2_21d79 pop de - call Music8_21dcc + call Audio2_21dcc ret -Music8_unknownsfx0x10: ; 21c40 (8:5c40) +Audio2_unknownsfx0x10: ; 21c40 (8:5c40) ld a, c cp CH4 - jr c, Music8_note ; if not a sfx + jr c, Audio2_note ; if not a sfx ld a, d cp $10 ; is this command a unknownsfx0x10? - jr nz, Music8_note ; no + jr nz, Audio2_note ; no ld b, $0 ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music8_note ; no - call Music8_GetNextMusicByte ; yes + jr nz, Audio2_note ; no + call Audio2_GetNextMusicByte ; yes ld [$ff10], a - jp Music8_endchannel + jp Audio2_endchannel -Music8_note: ; 21c5c (8:5c5c) +Audio2_note: ; 21c5c (8:5c5c) ld a, c cp CH3 - jr nz, Music8_notelength ; if not noise channel + jr nz, Audio2_notelength ; if not noise channel ld a, d and $f0 cp $b0 ; is this command a dnote? - jr z, Music8_dnote ; yes - jr nc, Music8_notelength ; no + jr z, Audio2_dnote ; yes + jr nc, Audio2_notelength ; no swap a ld b, a ld a, d @@ -646,24 +646,24 @@ Music8_note: ; 21c5c (8:5c5c) push bc jr asm_21c7e -Music8_dnote: ; 21c76 (8:5c76) +Audio2_dnote: ; 21c76 (8:5c76) ld a, d and $f push af push bc - call Music8_GetNextMusicByte ; get dnote instrument + call Audio2_GetNextMusicByte ; get dnote instrument asm_21c7e ld d, a ld a, [wc003] and a jr nz, .asm_21c89 ld a, d - call Music8_22035 + call Audio2_22035 .asm_21c89 pop bc pop de -Music8_notelength: ; 21c8b (8:5c8b) +Audio2_notelength: ; 21c8b (8:5c8b) ld a, d push af and $f @@ -675,7 +675,7 @@ Music8_notelength: ; 21c8b (8:5c8b) add hl, bc ld a, [hl] ld l, b - call Music8_22006 + call Audio2_22006 ld a, c cp CH4 jr nc, .sfxChannel @@ -689,7 +689,7 @@ Music8_notelength: ; 21c8b (8:5c8b) ld e, $0 cp CH7 jr z, .skip ; if noise channel - call Music8_21e2f + call Audio2_21e2f ld a, [wc0ea] ld d, a ld a, [wc0eb] @@ -700,7 +700,7 @@ Music8_notelength: ; 21c8b (8:5c8b) ld hl, wc0ce add hl, bc ld l, [hl] - call Music8_22006 + call Audio2_22006 ld e, l ld d, h ld hl, wc0ce @@ -713,15 +713,15 @@ Music8_notelength: ; 21c8b (8:5c8b) ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music8_notepitch + jr nz, Audio2_notepitch ld hl, wc02e add hl, bc bit 2, [hl] - jr z, Music8_notepitch + jr z, Audio2_notepitch pop hl ret -Music8_notepitch: ; 21ce9 (8:5ce9) +Audio2_notepitch: ; 21ce9 (8:5ce9) pop af and $f0 cp $c0 ; compare to rest @@ -751,7 +751,7 @@ Music8_notepitch: ; 21ce9 (8:5ce9) jr .done .notSfxChannel3 ld b, $2 - call Music8_21ff7 + call Audio2_21ff7 ld a, $8 ld [hli], a inc hl @@ -765,13 +765,13 @@ Music8_notepitch: ; 21ce9 (8:5ce9) ld hl, wc0d6 add hl, bc ld b, [hl] - call Music8_22017 + call Audio2_22017 ld b, $0 ld hl, wc02e add hl, bc bit 4, [hl] jr z, .asm_21d39 - call Music8_21f4e + call Audio2_21f4e .asm_21d39 push de ld a, c @@ -794,10 +794,10 @@ Music8_notepitch: ; 21ce9 (8:5ce9) add hl, bc ld d, [hl] ld b, $2 - call Music8_21ff7 + call Audio2_21ff7 ld [hl], d - call Music8_21daa - call Music8_21d79 + call Audio2_21daa + call Audio2_21d79 pop de ld b, $0 ld hl, wc02e @@ -811,10 +811,10 @@ Music8_notepitch: ; 21ce9 (8:5ce9) ld hl, wc066 add hl, bc ld [hl], e - call Music8_21dcc + call Audio2_21dcc ret -Music8_21d79: ; 21d79 (8:5d79) +Audio2_21d79: ; 21d79 (8:5d79) ld b, $0 ld hl, Unknown_222e6 add hl, bc @@ -848,7 +848,7 @@ Music8_21d79: ; 21d79 (8:5d79) ld [$ff25], a ret -Music8_21daa: ; 21daa (8:5daa) +Audio2_21daa: ; 21daa (8:5daa) ld b, $0 ld hl, wc0b6 add hl, bc @@ -868,11 +868,11 @@ Music8_21daa: ; 21daa (8:5daa) ld d, a .channel3 ld b, $1 - call Music8_21ff7 + call Audio2_21ff7 ld [hl], d ret -Music8_21dcc: ; 21dcc (8:5dcc) +Audio2_21dcc: ; 21dcc (8:5dcc) ld a, c cp CH2 jr z, .channel3 @@ -890,7 +890,7 @@ Music8_21dcc: ; 21dcc (8:5dcc) add a ld d, $0 ld e, a - ld hl, Music8_WavePointers + ld hl, Audio2_WavePointers add hl, de ld e, [hl] inc hl @@ -916,18 +916,18 @@ Music8_21dcc: ; 21dcc (8:5dcc) and $c7 ld d, a ld b, $3 - call Music8_21ff7 + call Audio2_21ff7 ld [hl], e inc hl ld [hl], d ld a, c cp CH4 jr c, .musicChannel - call Music8_21e56 + call Audio2_21e56 .musicChannel ret -Music8_21e19: ; 21e19 (8:5e19) +Audio2_21e19: ; 21e19 (8:5e19) ld a, c cp CH4 jr nz, .asm_21e2e @@ -941,10 +941,10 @@ Music8_21e19: ; 21e19 (8:5e19) .asm_21e2e ret -Music8_21e2f: ; 21e2f (8:5e2f) - call Music8_21e8b +Audio2_21e2f: ; 21e2f (8:5e2f) + call Audio2_21e8b jr c, .asm_21e39 - call Music8_21e9f + call Audio2_21e9f jr nc, .asm_21e4c .asm_21e39 ld d, $0 @@ -965,10 +965,10 @@ Music8_21e2f: ; 21e2f (8:5e2f) .asm_21e55 ret -Music8_21e56: ; 21e56 (8:5e56) - call Music8_21e8b +Audio2_21e56: ; 21e56 (8:5e56) + call Audio2_21e8b jr c, .asm_21e60 - call Music8_21e9f + call Audio2_21e9f jr nc, .asm_21e6c .asm_21e60 ld a, [wc0f1] @@ -984,8 +984,8 @@ Music8_21e56: ; 21e56 (8:5e56) .asm_21e6c ret -Music8_21e6d: ; 21e6d (8:5e6d) - call Music8_21e8b +Audio2_21e6d: ; 21e6d (8:5e6d) + call Audio2_21e8b jr nc, .asm_21e88 ld hl, wc006 ld e, c @@ -1007,7 +1007,7 @@ Music8_21e6d: ; 21e6d (8:5e6d) ccf ret -Music8_21e8b: ; 21e8b (8:5e8b) +Audio2_21e8b: ; 21e8b (8:5e8b) ld a, [wc02a] cp $14 jr nc, .asm_21e94 @@ -1024,7 +1024,7 @@ Music8_21e8b: ; 21e8b (8:5e8b) scf ret -Music8_21e9f: ; 21e9f (8:5e9f) +Audio2_21e9f: ; 21e9f (8:5e9f) ld a, [wc02d] ld b, a ld a, [wc02a] @@ -1044,7 +1044,7 @@ Music8_21e9f: ; 21e9f (8:5e9f) scf ret -Music8_ApplyPitchBend: ; 21eb8 (8:5eb8) +Audio2_ApplyPitchBend: ; 21eb8 (8:5eb8) ld hl, wc02e add hl, bc bit 5, [hl] @@ -1134,7 +1134,7 @@ Music8_ApplyPitchBend: ; 21eb8 (8:5eb8) add hl, bc ld [hl], d ld b, $3 - call Music8_21ff7 + call Audio2_21ff7 ld a, e ld [hli], a ld [hl], d @@ -1146,7 +1146,7 @@ Music8_ApplyPitchBend: ; 21eb8 (8:5eb8) res 5, [hl] ret -Music8_21f4e: ; 21f4e (8:5f4e) +Audio2_21f4e: ; 21f4e (8:5f4e) ld hl, wc096 add hl, bc ld [hl], d @@ -1235,7 +1235,7 @@ Music8_21f4e: ; 21f4e (8:5f4e) ld [hl], a ret -Music8_ApplyDutyCycle: ; 21fcc (8:5fcc) +Audio2_ApplyDutyCycle: ; 21fcc (8:5fcc) ld b, $0 ld hl, wc046 add hl, bc @@ -1246,14 +1246,14 @@ Music8_ApplyDutyCycle: ; 21fcc (8:5fcc) and $c0 ld d, a ld b, $1 - call Music8_21ff7 + call Audio2_21ff7 ld a, [hl] and $3f or d ld [hl], a ret -Music8_GetNextMusicByte: ; 21fe4 (8:5fe4) +Audio2_GetNextMusicByte: ; 21fe4 (8:5fe4) ld d, $0 ld a, c add a @@ -1271,7 +1271,7 @@ Music8_GetNextMusicByte: ; 21fe4 (8:5fe4) ld [hl], d ret -Music8_21ff7: ; 21ff7 (8:5ff7) +Audio2_21ff7: ; 21ff7 (8:5ff7) ld a, c ld hl, Unknown_222d6 add l @@ -1285,7 +1285,7 @@ Music8_21ff7: ; 21ff7 (8:5ff7) ld h, $ff ret -Music8_22006: ; 22006 (8:6006) +Audio2_22006: ; 22006 (8:6006) ld h, $0 .loop srl a @@ -1300,13 +1300,13 @@ Music8_22006: ; 22006 (8:6006) .done ret -Music8_22017: ; 22017 (8:6017) +Audio2_22017: ; 22017 (8:6017) ld h, $0 ld l, a add hl, hl ld d, h ld e, l - ld hl, Music8_Pitches + ld hl, Audio2_Pitches add hl, de ld e, [hl] inc hl @@ -1325,16 +1325,16 @@ Music8_22017: ; 22017 (8:6017) ld d, a ret -Music8_22035:: ; 22035 (8:6035) +Audio2_22035:: ; 22035 (8:6035) ld [wc001], a cp $ff - jp z, Music8_221f3 + jp z, Audio2_221f3 cp $e9 - jp z, Music8_2210d - jp c, Music8_2210d + jp z, Audio2_2210d + jp c, Audio2_2210d cp $fe jr z, .asm_2204c - jp nc, Music8_2210d + jp nc, Audio2_2210d .asm_2204c xor a ld [wc000], a @@ -1344,53 +1344,53 @@ Music8_22035:: ; 22035 (8:6035) ld [wc0e7], a ld d, $8 ld hl, wc016 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc006 - call FillMusicRAM8 + call FillAudioRAM2 ld d, $4 ld hl, wc026 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc02e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc03e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc046 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc04e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc056 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc05e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc066 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc06e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc036 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc076 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc07e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc086 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc08e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc096 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc09e - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc0a6 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc0ae - call FillMusicRAM8 + call FillAudioRAM2 ld a, $1 ld hl, wc0be - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc0b6 - call FillMusicRAM8 + call FillAudioRAM2 ld hl, wc0c6 - call FillMusicRAM8 + call FillAudioRAM2 ld [wc0e8], a ld a, $ff ld [wc004], a @@ -1406,16 +1406,16 @@ Music8_22035:: ; 22035 (8:6035) ld [$ff1a], a ld a, $77 ld [$ff24], a - jp Music8_2224e + jp Audio2_2224e -Music8_2210d: ; 2210d (8:610d) +Audio2_2210d: ; 2210d (8:610d) ld l, a ld e, a ld h, $0 ld d, h add hl, hl add hl, de - ld de, SFX_Headers_08 + ld de, SFX_Headers_2 add hl, de ld a, h ld [wc0ec], a @@ -1555,11 +1555,11 @@ Music8_2210d: ; 2210d (8:610d) .asm_221ea ld a, c and a - jp z, Music8_2224e + jp z, Audio2_2224e dec c jp .asm_22126 -Music8_221f3: ; 221f3 (8:61f3) +Audio2_221f3: ; 221f3 (8:61f3) ld a, $80 ld [$ff26], a ld [$ff1a], a @@ -1587,11 +1587,11 @@ Music8_221f3: ; 221f3 (8:61f3) ld [wc0e7], a ld d, $a0 ld hl, wc006 - call FillMusicRAM8 + call FillAudioRAM2 ld a, $1 ld d, $18 ld hl, wc0b6 - call FillMusicRAM8 + call FillAudioRAM2 ld [wc0e8], a ld [wc0ea], a ld a, $ff @@ -1599,7 +1599,7 @@ Music8_221f3: ; 221f3 (8:61f3) ret ; fills d bytes at hl with a -FillMusicRAM8: ; 22248 (8:6248) +FillAudioRAM2: ; 22248 (8:6248) ld b, d .loop ld [hli], a @@ -1607,7 +1607,7 @@ FillMusicRAM8: ; 22248 (8:6248) jr nz, .loop ret -Music8_2224e: ; 2224e (8:624e) +Audio2_2224e: ; 2224e (8:624e) ld a, [wc001] ld l, a ld e, a @@ -1615,7 +1615,7 @@ Music8_2224e: ; 2224e (8:624e) ld d, h add hl, hl add hl, de - ld de, SFX_Headers_08 + ld de, SFX_Headers_2 add hl, de ld e, l ld d, h @@ -1688,7 +1688,7 @@ Music8_2224e: ; 2224e (8:624e) ld [hli], a ld [hl], a ld hl, wc012 ; sfx noise channel pointer - ld de, Noise8_endchannel + ld de, Noise2_endchannel ld [hl], e inc hl ld [hl], d ; overwrite pointer to point to endchannel @@ -1702,7 +1702,7 @@ Music8_2224e: ; 2224e (8:624e) .asm_222d4 ret -Noise8_endchannel: ; 222d5 (8:62d5) +Noise2_endchannel: ; 222d5 (8:62d5) endchannel Unknown_222d6: ; 222d6 (8:62d6) @@ -1717,7 +1717,7 @@ Unknown_222e6: ; 222e6 (8:62e6) db $11, $22, $44, $88 ; channels 0-3 db $11, $22, $44, $88 ; channels 4-7 -Music8_Pitches: ; 222ee (8:62ee) +Audio2_Pitches: ; 222ee (8:62ee) dw $F82C ; C_ dw $F89D ; C# dw $F907 ; D_ diff --git a/audio/engine_3.asm b/audio/engine_3.asm index 718b6016..93fa62aa 100644 --- a/audio/engine_3.asm +++ b/audio/engine_3.asm @@ -1,6 +1,6 @@ ; The third of three duplicated sound engines. -Music1f_UpdateMusic:: ; 7d177 (1f:5177) +Audio3_UpdateMusic:: ; 7d177 (1f:5177) ld c, CH0 .loop ld b, $0 @@ -26,7 +26,7 @@ Music1f_UpdateMusic:: ; 7d177 (1f:5177) ld [$ff1a], a jr .nextChannel .applyAffects - call Music1f_ApplyMusicAffects + call Audio3_ApplyMusicAffects .nextChannel ld a, c inc c ; inc channel number @@ -42,13 +42,13 @@ Music1f_UpdateMusic:: ; 7d177 (1f:5177) ; 3: a toggle used only by this routine for vibrato ; 4: pitchbend flag ; 6: dutycycle flag -Music1f_ApplyMusicAffects: ; 7d1ac (1f:51ac) +Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) ld b, $0 ld hl, wc0b6 ; delay until next note add hl, bc ld a, [hl] cp $1 ; if delay is 1, play next note - jp z, Music1f_PlayNextNote + jp z, Audio3_PlayNextNote dec a ; otherwise, decrease the delay timer ld [hl], a ld a, c @@ -65,7 +65,7 @@ Music1f_ApplyMusicAffects: ; 7d1ac (1f:51ac) add hl, bc bit 6, [hl] ; dutycycle jr z, .checkForExecuteMusic - call Music1f_ApplyDutyCycle + call Audio3_ApplyDutyCycle .checkForExecuteMusic ld b, $0 ld hl, wc036 @@ -81,7 +81,7 @@ Music1f_ApplyMusicAffects: ; 7d1ac (1f:51ac) add hl, bc bit 4, [hl] ; pitchbend jr z, .checkVibratoDelay - jp Music1f_ApplyPitchBend + jp Audio3_ApplyPitchBend .checkVibratoDelay ld hl, wc04e ; vibrato delay add hl, bc @@ -141,14 +141,14 @@ Music1f_ApplyMusicAffects: ; 7d1ac (1f:51ac) .done ld d, a ld b, $3 - call Music1f_7d8ac + call Audio3_7d8ac ld [hl], d ret ; this routine executes all music commands that take up no time, ; like tempo changes, duty changes etc. and doesn't return ; until the first note is reached -Music1f_PlayNextNote: ; 7d244 (1f:5244) +Audio3_PlayNextNote: ; 7d244 (1f:5244) ld hl, wc06e add hl, bc ld a, [hl] @@ -159,14 +159,14 @@ Music1f_PlayNextNote: ; 7d244 (1f:5244) add hl, bc res 4, [hl] res 5, [hl] - call Music1f_endchannel + call Audio3_endchannel ret -Music1f_endchannel: ; 7d25a (1f:525a) - call Music1f_GetNextMusicByte +Audio3_endchannel: ; 7d25a (1f:525a) + call Audio3_GetNextMusicByte ld d, a cp $ff ; is this command an endchannel? - jp nz, Music1f_callchannel ; no + jp nz, Audio3_callchannel ; no ld b, $0 ; yes ld hl, wc02e add hl, bc @@ -216,7 +216,7 @@ Music1f_endchannel: ; 7d25a (1f:525a) inc de ld a, [de] ld [hl], a ; loads channel address to return to - jp Music1f_endchannel + jp Audio3_endchannel .asm_7d2b3 ld hl, Unknown_7db93 add hl, bc @@ -238,7 +238,7 @@ Music1f_endchannel: ; 7d25a (1f:525a) ld a, c cp CH4 jr z, .asm_7d2d9 - call Music1f_7d73b + call Audio3_7d73b ret c .asm_7d2d9 ld a, [wc005] @@ -251,12 +251,12 @@ Music1f_endchannel: ; 7d25a (1f:525a) ld [hl], b ret -Music1f_callchannel: ; 7d2e8 (1f:52e8) +Audio3_callchannel: ; 7d2e8 (1f:52e8) cp $fd ; is this command a callchannel? - jp nz, Music1f_loopchannel ; no - call Music1f_GetNextMusicByte ; yes + jp nz, Audio3_loopchannel ; no + call Audio3_GetNextMusicByte ; yes push af - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld d, a pop af ld e, a @@ -286,12 +286,12 @@ Music1f_callchannel: ; 7d2e8 (1f:52e8) ld hl, wc02e add hl, bc set 1, [hl] ; set the call flag - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_loopchannel: ; 7d31d (1f:531d) +Audio3_loopchannel: ; 7d31d (1f:531d) cp $fe ; is this command a loopchannel? - jp nz, Music1f_notetype ; no - call Music1f_GetNextMusicByte ; yes + jp nz, Audio3_notetype ; no + call Audio3_GetNextMusicByte ; yes ld e, a and a jr z, .infiniteLoop @@ -303,17 +303,17 @@ Music1f_loopchannel: ; 7d31d (1f:531d) jr nz, .loopAgain ld a, $1 ; if no more loops to make ld [hl], a - call Music1f_GetNextMusicByte ; skip pointer - call Music1f_GetNextMusicByte - jp Music1f_endchannel + call Audio3_GetNextMusicByte ; skip pointer + call Audio3_GetNextMusicByte + jp Audio3_endchannel .loopAgain ; inc loop count inc a ld [hl], a ; fall through .infiniteLoop ; overwrite current address with pointer - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte push af - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld b, a ld d, $0 ld a, c @@ -324,12 +324,12 @@ Music1f_loopchannel: ; 7d31d (1f:531d) pop af ld [hli], a ld [hl], b - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_notetype: ; 7d358 (1f:5358) +Audio3_notetype: ; 7d358 (1f:5358) and $f0 cp $d0 ; is this command a notetype? - jp nz, Music1f_toggleperfectpitch ; no + jp nz, Audio3_toggleperfectpitch ; no ld a, d ; yes and $f ld b, $0 @@ -339,7 +339,7 @@ Music1f_notetype: ; 7d358 (1f:5358) ld a, c cp CH3 jr z, .noiseChannel ; noise channel has 0 params - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld d, a ld a, c cp CH2 @@ -368,24 +368,24 @@ Music1f_notetype: ; 7d358 (1f:5358) add hl, bc ld [hl], d .noiseChannel - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_toggleperfectpitch: ; 7d397 (1f:5397) +Audio3_toggleperfectpitch: ; 7d397 (1f:5397) ld a, d cp $e8 ; is this command a toggleperfectpitch? - jr nz, Music1f_vibrato ; no + jr nz, Audio3_vibrato ; no ld b, $0 ; yes ld hl, wc02e add hl, bc ld a, [hl] xor $1 ld [hl], a ; flip bit 0 of wc02e - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_vibrato: ; 7d3a9 (1f:53a9) +Audio3_vibrato: ; 7d3a9 (1f:53a9) cp $ea ; is this command a vibrato? - jr nz, Music1f_pitchbend ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_pitchbend ; no + call Audio3_GetNextMusicByte ; yes ld b, $0 ld hl, wc04e add hl, bc @@ -393,7 +393,7 @@ Music1f_vibrato: ; 7d3a9 (1f:53a9) ld hl, wc06e add hl, bc ld [hl], a ; store delay - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld d, a and $f0 swap a @@ -414,24 +414,24 @@ Music1f_vibrato: ; 7d3a9 (1f:53a9) swap a or d ld [hl], a ; store depth as both high and low nibbles - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_pitchbend: ; 7d3e1 (1f:53e1) +Audio3_pitchbend: ; 7d3e1 (1f:53e1) cp $eb ; is this command a pitchbend? - jr nz, Music1f_duty ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_duty ; no + call Audio3_GetNextMusicByte ; yes ld b, $0 ld hl, wc076 add hl, bc ld [hl], a ; store first param - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld d, a and $f0 swap a ld b, a ld a, d and $f - call Music1f_7d8cc + call Audio3_7d8cc ld b, $0 ld hl, wc0a6 add hl, bc @@ -443,14 +443,14 @@ Music1f_pitchbend: ; 7d3e1 (1f:53e1) ld hl, wc02e add hl, bc set 4, [hl] ; set pitchbend flag - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld d, a - jp Music1f_notelength + jp Audio3_notelength -Music1f_duty: ; 7d419 (1f:5419) +Audio3_duty: ; 7d419 (1f:5419) cp $ec ; is this command a duty? - jr nz, Music1f_tempo ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_tempo ; no + call Audio3_GetNextMusicByte ; yes rrca rrca and $c0 @@ -458,17 +458,17 @@ Music1f_duty: ; 7d419 (1f:5419) ld hl, wc03e add hl, bc ld [hl], a ; store duty - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_tempo: ; 7d42e (1f:542e) +Audio3_tempo: ; 7d42e (1f:542e) cp $ed ; is this command a tempo? - jr nz, Music1f_stereopanning ; no + jr nz, Audio3_stereopanning ; no ld a, c ; yes cp CH4 jr nc, .sfxChannel - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld [wc0e8], a ; store first param - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld [wc0e9], a ; store second param xor a ld [wc0ce], a ; clear RAM @@ -477,9 +477,9 @@ Music1f_tempo: ; 7d42e (1f:542e) ld [wc0d1], a jr .musicChannelDone .sfxChannel - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld [wc0ea], a ; store first param - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld [wc0eb], a ; store second param xor a ld [wc0d2], a ; clear RAM @@ -487,22 +487,22 @@ Music1f_tempo: ; 7d42e (1f:542e) ld [wc0d4], a ld [wc0d5], a .musicChannelDone - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_stereopanning: ; 7d46e (1f:546e) +Audio3_stereopanning: ; 7d46e (1f:546e) cp $ee ; is this command a stereopanning? - jr nz, Music1f_unknownmusic0xef ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_unknownmusic0xef ; no + call Audio3_GetNextMusicByte ; yes ld [wc004], a ; store panning - jp Music1f_endchannel + jp Audio3_endchannel ; this appears to never be used -Music1f_unknownmusic0xef: ; 7d47b (1f:547b) +Audio3_unknownmusic0xef: ; 7d47b (1f:547b) cp $ef ; is this command an unknownmusic0xef? - jr nz, Music1f_dutycycle ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_dutycycle ; no + call Audio3_GetNextMusicByte ; yes push bc - call Music1f_7d8ea + call Audio3_7d8ea pop bc ld a, [wc003] and a @@ -512,12 +512,12 @@ Music1f_unknownmusic0xef: ; 7d47b (1f:547b) xor a ld [wc02d], a .skip - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_dutycycle: ; 7d49a (1f:549a) +Audio3_dutycycle: ; 7d49a (1f:549a) cp $fc ; is this command a dutycycle? - jr nz, Music1f_volume ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_volume ; no + call Audio3_GetNextMusicByte ; yes ld b, $0 ld hl, wc046 add hl, bc @@ -529,48 +529,48 @@ Music1f_dutycycle: ; 7d49a (1f:549a) ld hl, wc02e add hl, bc set 6, [hl] ; set duty flag - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_volume: ; 7d4b8 (1f:54b8) +Audio3_volume: ; 7d4b8 (1f:54b8) cp $f0 ; is this command a volume? - jr nz, Music1f_executemusic ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_executemusic ; no + call Audio3_GetNextMusicByte ; yes ld [$ff24], a ; store volume - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_executemusic: ; 7d4c4 (1f:54c4) +Audio3_executemusic: ; 7d4c4 (1f:54c4) cp $f8 ; is this command an executemusic? - jr nz, Music1f_octave ; no + jr nz, Audio3_octave ; no ld b, $0 ; yes ld hl, wc036 add hl, bc set 0, [hl] - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_octave: ; 7d4d3 (1f:54d3) +Audio3_octave: ; 7d4d3 (1f:54d3) and $f0 cp $e0 ; is this command an octave? - jr nz, Music1f_unknownsfx0x20 ; no + jr nz, Audio3_unknownsfx0x20 ; no ld hl, wc0d6 ; yes ld b, $0 add hl, bc ld a, d and $f ld [hl], a ; store low nibble as octave - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_unknownsfx0x20: ; 7d4e6 (1f:54e6) +Audio3_unknownsfx0x20: ; 7d4e6 (1f:54e6) cp $20 ; is this command an unknownsfx0x20? - jr nz, Music1f_unknownsfx0x10 ; no + jr nz, Audio3_unknownsfx0x10 ; no ld a, c cp CH3 ; is this a noise or sfx channel? - jr c, Music1f_unknownsfx0x10 ; no + jr c, Audio3_unknownsfx0x10 ; no ld b, $0 ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music1f_unknownsfx0x10 ; no - call Music1f_notelength ; yes + jr nz, Audio3_unknownsfx0x10 ; no + call Audio3_notelength ; yes ld d, a ld b, $0 ld hl, wc03e @@ -579,56 +579,56 @@ Music1f_unknownsfx0x20: ; 7d4e6 (1f:54e6) or d ld d, a ld b, $1 - call Music1f_7d8ac + call Audio3_7d8ac ld [hl], d - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld d, a ld b, $2 - call Music1f_7d8ac + call Audio3_7d8ac ld [hl], d - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte ld e, a ld a, c cp CH7 ld a, $0 jr z, .sfxNoiseChannel ; only two params for noise channel push de - call Music1f_GetNextMusicByte + call Audio3_GetNextMusicByte pop de .sfxNoiseChannel ld d, a push de - call Music1f_7d69d - call Music1f_7d66c + call Audio3_7d69d + call Audio3_7d66c pop de - call Music1f_7d6bf + call Audio3_7d6bf ret -Music1f_unknownsfx0x10: ; 7d533 (1f:5533) +Audio3_unknownsfx0x10: ; 7d533 (1f:5533) ld a, c cp CH4 - jr c, Music1f_note ; if not a sfx + jr c, Audio3_note ; if not a sfx ld a, d cp $10 ; is this command an unknownsfx0x10? - jr nz, Music1f_note ; no + jr nz, Audio3_note ; no ld b, $0 ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music1f_note ; no - call Music1f_GetNextMusicByte ; yes + jr nz, Audio3_note ; no + call Audio3_GetNextMusicByte ; yes ld [$ff10], a - jp Music1f_endchannel + jp Audio3_endchannel -Music1f_note: ; 7d54f (1f:554f) +Audio3_note: ; 7d54f (1f:554f) ld a, c cp CH3 - jr nz, Music1f_notelength ; if not noise channel + jr nz, Audio3_notelength ; if not noise channel ld a, d and $f0 cp $b0 ; is this command a dnote? - jr z, Music1f_dnote ; yes - jr nc, Music1f_notelength ; no + jr z, Audio3_dnote ; yes + jr nc, Audio3_notelength ; no swap a ld b, a ld a, d @@ -639,24 +639,24 @@ Music1f_note: ; 7d54f (1f:554f) push bc jr asm_7d571 -Music1f_dnote: ; 7d569 (1f:5569) +Audio3_dnote: ; 7d569 (1f:5569) ld a, d and $f push af push bc - call Music1f_GetNextMusicByte ; get dnote instrument + call Audio3_GetNextMusicByte ; get dnote instrument asm_7d571 ld d, a ld a, [wc003] and a jr nz, .asm_7d57c ld a, d - call Music1f_7d8ea + call Audio3_7d8ea .asm_7d57c pop bc pop de -Music1f_notelength: ; 7d57e (1f:557e) +Audio3_notelength: ; 7d57e (1f:557e) ld a, d push af and $f @@ -668,7 +668,7 @@ Music1f_notelength: ; 7d57e (1f:557e) add hl, bc ld a, [hl] ld l, b - call Music1f_7d8bb + call Audio3_7d8bb ld a, c cp CH4 jr nc, .sfxChannel @@ -682,7 +682,7 @@ Music1f_notelength: ; 7d57e (1f:557e) ld e, $0 cp CH7 jr z, .skip ; if noise channel - call Music1f_7d707 + call Audio3_7d707 ld a, [wc0ea] ld d, a ld a, [wc0eb] @@ -693,7 +693,7 @@ Music1f_notelength: ; 7d57e (1f:557e) ld hl, wc0ce add hl, bc ld l, [hl] - call Music1f_7d8bb + call Audio3_7d8bb ld e, l ld d, h ld hl, wc0ce @@ -706,15 +706,15 @@ Music1f_notelength: ; 7d57e (1f:557e) ld hl, wc036 add hl, bc bit 0, [hl] - jr nz, Music1f_notepitch + jr nz, Audio3_notepitch ld hl, wc02e add hl, bc bit 2, [hl] - jr z, Music1f_notepitch + jr z, Audio3_notepitch pop hl ret -Music1f_notepitch: ; 7d5dc (1f:55dc) +Audio3_notepitch: ; 7d5dc (1f:55dc) pop af and $f0 cp $c0 ; compare to rest @@ -744,7 +744,7 @@ Music1f_notepitch: ; 7d5dc (1f:55dc) jr .quit .notSfxChannel3 ld b, $2 - call Music1f_7d8ac + call Audio3_7d8ac ld a, $8 ld [hli], a inc hl @@ -758,13 +758,13 @@ Music1f_notepitch: ; 7d5dc (1f:55dc) ld hl, wc0d6 add hl, bc ld b, [hl] - call Music1f_7d8cc + call Audio3_7d8cc ld b, $0 ld hl, wc02e add hl, bc bit 4, [hl] jr z, .asm_7d62c - call Music1f_7d803 + call Audio3_7d803 .asm_7d62c push de ld a, c @@ -787,10 +787,10 @@ Music1f_notepitch: ; 7d5dc (1f:55dc) add hl, bc ld d, [hl] ld b, $2 - call Music1f_7d8ac + call Audio3_7d8ac ld [hl], d - call Music1f_7d69d - call Music1f_7d66c + call Audio3_7d69d + call Audio3_7d66c pop de ld b, $0 ld hl, wc02e @@ -804,10 +804,10 @@ Music1f_notepitch: ; 7d5dc (1f:55dc) ld hl, wc066 add hl, bc ld [hl], e - call Music1f_7d6bf + call Audio3_7d6bf ret -Music1f_7d66c: ; 7d66c (1f:566c) +Audio3_7d66c: ; 7d66c (1f:566c) ld b, $0 ld hl, Unknown_7db9b add hl, bc @@ -841,7 +841,7 @@ Music1f_7d66c: ; 7d66c (1f:566c) ld [$ff25], a ret -Music1f_7d69d: ; 7d69d (1f:569d) +Audio3_7d69d: ; 7d69d (1f:569d) ld b, $0 ld hl, wc0b6 add hl, bc @@ -861,11 +861,11 @@ Music1f_7d69d: ; 7d69d (1f:569d) ld d, a .channel3 ld b, $1 - call Music1f_7d8ac + call Audio3_7d8ac ld [hl], d ret -Music1f_7d6bf: ; 7d6bf (1f:56bf) +Audio3_7d6bf: ; 7d6bf (1f:56bf) ld a, c cp CH2 jr z, .channel3 @@ -883,7 +883,7 @@ Music1f_7d6bf: ; 7d6bf (1f:56bf) add a ld d, $0 ld e, a - ld hl, Music1f_WavePointers + ld hl, Audio3_WavePointers add hl, de ld e, [hl] inc hl @@ -909,15 +909,15 @@ Music1f_7d6bf: ; 7d6bf (1f:56bf) and $c7 ld d, a ld b, $3 - call Music1f_7d8ac + call Audio3_7d8ac ld [hl], e inc hl ld [hl], d - call Music1f_7d729 + call Audio3_7d729 ret -Music1f_7d707: ; 7d707 (1f:5707) - call Music1f_7d759 +Audio3_7d707: ; 7d707 (1f:5707) + call Audio3_7d759 jr nc, .asm_7d71f ld d, $0 ld a, [wc0f2] @@ -937,8 +937,8 @@ Music1f_7d707: ; 7d707 (1f:5707) .asm_7d728 ret -Music1f_7d729: ; 7d729 (1f:5729) - call Music1f_7d759 +Audio3_7d729: ; 7d729 (1f:5729) + call Audio3_7d759 jr nc, .asm_7d73a ld a, [wc0f1] add e @@ -953,8 +953,8 @@ Music1f_7d729: ; 7d729 (1f:5729) .asm_7d73a ret -Music1f_7d73b: ; 7d73b (1f:573b) - call Music1f_7d759 +Audio3_7d73b: ; 7d73b (1f:573b) + call Audio3_7d759 jr nc, .asm_7d756 ld hl, wc006 ld e, c @@ -976,7 +976,7 @@ Music1f_7d73b: ; 7d73b (1f:573b) ccf ret -Music1f_7d759: ; 7d759 (1f:5759) +Audio3_7d759: ; 7d759 (1f:5759) ld a, [wc02a] cp $14 jr nc, .asm_7d762 @@ -993,7 +993,7 @@ Music1f_7d759: ; 7d759 (1f:5759) scf ret -Music1f_ApplyPitchBend: ; 7d76d (1f:576d) +Audio3_ApplyPitchBend: ; 7d76d (1f:576d) ld hl, wc02e add hl, bc bit 5, [hl] @@ -1083,7 +1083,7 @@ Music1f_ApplyPitchBend: ; 7d76d (1f:576d) add hl, bc ld [hl], d ld b, $3 - call Music1f_7d8ac + call Audio3_7d8ac ld a, e ld [hli], a ld [hl], d @@ -1095,7 +1095,7 @@ Music1f_ApplyPitchBend: ; 7d76d (1f:576d) res 5, [hl] ret -Music1f_7d803: ; 7d803 (1f:5803) +Audio3_7d803: ; 7d803 (1f:5803) ld hl, wc096 add hl, bc ld [hl], d @@ -1184,7 +1184,7 @@ Music1f_7d803: ; 7d803 (1f:5803) ld [hl], a ret -Music1f_ApplyDutyCycle: ; 7d881 (1f:5881) +Audio3_ApplyDutyCycle: ; 7d881 (1f:5881) ld b, $0 ld hl, wc046 add hl, bc @@ -1195,14 +1195,14 @@ Music1f_ApplyDutyCycle: ; 7d881 (1f:5881) and $c0 ld d, a ld b, $1 - call Music1f_7d8ac + call Audio3_7d8ac ld a, [hl] and $3f or d ld [hl], a ret -Music1f_GetNextMusicByte: ; 7d899 (1f:5899) +Audio3_GetNextMusicByte: ; 7d899 (1f:5899) ld d, $0 ld a, c add a @@ -1220,7 +1220,7 @@ Music1f_GetNextMusicByte: ; 7d899 (1f:5899) ld [hl], d ret -Music1f_7d8ac: ; 7d8ac (1f:58ac) +Audio3_7d8ac: ; 7d8ac (1f:58ac) ld a, c ld hl, Unknown_7db8b add l @@ -1234,7 +1234,7 @@ Music1f_7d8ac: ; 7d8ac (1f:58ac) ld h, $ff ret -Music1f_7d8bb: ; 7d8bb (1f:58bb) +Audio3_7d8bb: ; 7d8bb (1f:58bb) ld h, $0 .loop srl a @@ -1249,13 +1249,13 @@ Music1f_7d8bb: ; 7d8bb (1f:58bb) .done ret -Music1f_7d8cc: ; 7d8cc (1f:58cc) +Audio3_7d8cc: ; 7d8cc (1f:58cc) ld h, $0 ld l, a add hl, hl ld d, h ld e, l - ld hl, Music1f_Pitches + ld hl, Audio3_Pitches add hl, de ld e, [hl] inc hl @@ -1274,16 +1274,16 @@ Music1f_7d8cc: ; 7d8cc (1f:58cc) ld d, a ret -Music1f_7d8ea:: ; 7d8ea (1f:58ea) +Audio3_7d8ea:: ; 7d8ea (1f:58ea) ld [wc001], a cp $ff - jp z, Music1f_7daa8 + jp z, Audio3_7daa8 cp $c2 - jp z, Music1f_7d9c2 - jp c, Music1f_7d9c2 + jp z, Audio3_7d9c2 + jp c, Audio3_7d9c2 cp $fe jr z, .asm_7d901 - jp nc, Music1f_7d9c2 + jp nc, Audio3_7d9c2 .asm_7d901 xor a ld [wc000], a @@ -1293,53 +1293,53 @@ Music1f_7d8ea:: ; 7d8ea (1f:58ea) ld [wc0e7], a ld d, $8 ld hl, wc016 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc006 - call FillMusicRAM1f + call FillAudioRAM3 ld d, $4 ld hl, wc026 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc02e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc03e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc046 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc04e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc056 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc05e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc066 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc06e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc036 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc076 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc07e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc086 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc08e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc096 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc09e - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc0a6 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc0ae - call FillMusicRAM1f + call FillAudioRAM3 ld a, $1 ld hl, wc0be - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc0b6 - call FillMusicRAM1f + call FillAudioRAM3 ld hl, wc0c6 - call FillMusicRAM1f + call FillAudioRAM3 ld [wc0e8], a ld a, $ff ld [wc004], a @@ -1355,16 +1355,16 @@ Music1f_7d8ea:: ; 7d8ea (1f:58ea) ld [$ff1a], a ld a, $77 ld [$ff24], a - jp Music1f_7db03 + jp Audio3_7db03 -Music1f_7d9c2: ; 7d9c2 (1f:59c2) +Audio3_7d9c2: ; 7d9c2 (1f:59c2) ld l, a ld e, a ld h, $0 ld d, h add hl, hl add hl, de - ld de, SFX_Headers_1f + ld de, SFX_Headers_3 add hl, de ld a, h ld [wc0ec], a @@ -1504,11 +1504,11 @@ Music1f_7d9c2: ; 7d9c2 (1f:59c2) .asm_7da9f ld a, c and a - jp z, Music1f_7db03 + jp z, Audio3_7db03 dec c jp .asm_7d9db -Music1f_7daa8: ; 7daa8 (1f:5aa8) +Audio3_7daa8: ; 7daa8 (1f:5aa8) ld a, $80 ld [$ff26], a ld [$ff1a], a @@ -1536,11 +1536,11 @@ Music1f_7daa8: ; 7daa8 (1f:5aa8) ld [wc0e7], a ld d, $a0 ld hl, wc006 - call FillMusicRAM1f + call FillAudioRAM3 ld a, $1 ld d, $18 ld hl, wc0b6 - call FillMusicRAM1f + call FillAudioRAM3 ld [wc0e8], a ld [wc0ea], a ld a, $ff @@ -1548,7 +1548,7 @@ Music1f_7daa8: ; 7daa8 (1f:5aa8) ret ; fills d bytes at hl with a -FillMusicRAM1f: ; 7dafd (1f:5afd) +FillAudioRAM3: ; 7dafd (1f:5afd) ld b, d .loop ld [hli], a @@ -1556,7 +1556,7 @@ FillMusicRAM1f: ; 7dafd (1f:5afd) jr nz, .loop ret -Music1f_7db03: ; 7db03 (1f:5b03) +Audio3_7db03: ; 7db03 (1f:5b03) ld a, [wc001] ld l, a ld e, a @@ -1564,7 +1564,7 @@ Music1f_7db03: ; 7db03 (1f:5b03) ld d, h add hl, hl add hl, de - ld de, SFX_Headers_1f + ld de, SFX_Headers_3 add hl, de ld e, l ld d, h @@ -1637,7 +1637,7 @@ Music1f_7db03: ; 7db03 (1f:5b03) ld [hli], a ld [hl], a ld hl, wc012 ; sfx noise channel pointer - ld de, Noise1f_endchannel + ld de, Noise3_endchannel ld [hl], e inc hl ld [hl], d ; overwrite pointer to point to endchannel @@ -1651,7 +1651,7 @@ Music1f_7db03: ; 7db03 (1f:5b03) .asm_7db89 ret -Noise1f_endchannel: ; 7db8a (1f:5b8a) +Noise3_endchannel: ; 7db8a (1f:5b8a) endchannel Unknown_7db8b: ; 7db8b (1f:5b8b) @@ -1666,7 +1666,7 @@ Unknown_7db9b: ; 7db9b (1f:5b9b) db $11, $22, $44, $88 ; channels 0-3 db $11, $22, $44, $88 ; channels 4-7 -Music1f_Pitches: ; 7dba3 (1f:5ba3) +Audio3_Pitches: ; 7dba3 (1f:5ba3) dw $F82C ; C_ dw $F89D ; C# dw $F907 ; D_ diff --git a/audio/headers/musicheaders02.asm b/audio/headers/musicheaders02.asm deleted file mode 100755 index a6449436..00000000 --- a/audio/headers/musicheaders02.asm +++ /dev/null @@ -1,184 +0,0 @@ -Music_PalletTown:: ; 822e (2:422e) - db ( $80 | CH0 ) - dw Music_PalletTown_Ch1 - db CH1 - dw Music_PalletTown_Ch2 - db CH2 - dw Music_PalletTown_Ch3 - -Music_Pokecenter:: ; 8237 (2:4237) - db ( $80 | CH0 ) - dw Music_Pokecenter_Ch1 - db CH1 - dw Music_Pokecenter_Ch2 - db CH2 - dw Music_Pokecenter_Ch3 - -Music_Gym:: ; 8240 (2:4240) - db ( $80 | CH0 ) - dw Music_Gym_Ch1 - db CH1 - dw Music_Gym_Ch2 - db CH2 - dw Music_Gym_Ch3 - -; Viridian City, Pewter City, Saffron City -Music_Cities1:: ; 8249 (2:4249) - db ( $C0 | CH0 ) - dw Music_Cities1_Ch1 - db CH1 - dw Music_Cities1_Ch2 - db CH2 - dw Music_Cities1_Ch3 - db CH3 - dw Music_Cities1_Ch4 - -; Cerulean City, Fuchsia City -Music_Cities2:: ; 8255 (2:4255) - db ( $80 | CH0 ) - dw Music_Cities2_Ch1 - db CH1 - dw Music_Cities2_Ch2 - db CH2 - dw Music_Cities2_Ch3 - -Music_Celadon:: ; 825e (2:425e) - db ( $80 | CH0 ) - dw Music_Celadon_Ch1 - db CH1 - dw Music_Celadon_Ch2 - db CH2 - dw Music_Celadon_Ch3 - -Music_Cinnabar:: ; 8267 (2:4267) - db ( $80 | CH0 ) - dw Music_Cinnabar_Ch1 - db CH1 - dw Music_Cinnabar_Ch2 - db CH2 - dw Music_Cinnabar_Ch3 - -Music_Vermilion:: ; 8270 (2:4270) - db ( $C0 | CH0 ) - dw Music_Vermilion_Ch1 - db CH1 - dw Music_Vermilion_Ch2 - db CH2 - dw Music_Vermilion_Ch3 - db CH3 - dw Music_Vermilion_Ch4 - -Music_Lavender:: ; 827c (2:427c) - db ( $C0 | CH0 ) - dw Music_Lavender_Ch1 - db CH1 - dw Music_Lavender_Ch2 - db CH2 - dw Music_Lavender_Ch3 - db CH3 - dw Music_Lavender_Ch4 - -Music_SSAnne:: ; 8288 (2:4288) - db ( $80 | CH0 ) - dw Music_SSAnne_Ch1 - db CH1 - dw Music_SSAnne_Ch2 - db CH2 - dw Music_SSAnne_Ch3 - -Music_MeetProfOak:: ; 8291 (2:4291) - db ( $80 | CH0 ) - dw Music_MeetProfOak_Ch1 - db CH1 - dw Music_MeetProfOak_Ch2 - db CH2 - dw Music_MeetProfOak_Ch3 - -Music_MeetRival:: ; 829a (2:429a) - db ( $80 | CH0 ) - dw Music_MeetRival_Ch1 - db CH1 - dw Music_MeetRival_Ch2 - db CH2 - dw Music_MeetRival_Ch3 - -Music_MuseumGuy:: ; 82a3 (2:42a3) - db ( $C0 | CH0 ) - dw Music_MuseumGuy_Ch1 - db CH1 - dw Music_MuseumGuy_Ch2 - db CH2 - dw Music_MuseumGuy_Ch3 - db CH3 - dw Music_MuseumGuy_Ch4 - -Music_SafariZone:: ; 82af (2:42af) - db ( $80 | CH0 ) - dw Music_SafariZone_Ch1 - db CH1 - dw Music_SafariZone_Ch2 - db CH2 - dw Music_SafariZone_Ch3 - -Music_PkmnHealed:: ; 82b8 (2:42b8) - db ( $80 | CH0 ) - dw Music_PkmnHealed_Ch1 - db CH1 - dw Music_PkmnHealed_Ch2 - db CH2 - dw Music_PkmnHealed_Ch3 - -; Routes 1 and 2 -Music_Routes1:: ; 82c1 (2:42c1) - db ( $C0 | CH0 ) - dw Music_Routes1_Ch1 - db CH1 - dw Music_Routes1_Ch2 - db CH2 - dw Music_Routes1_Ch3 - db CH3 - dw Music_Routes1_Ch4 - -; Routes 24 and 25 -Music_Routes2:: ; 82cd (2:42cd) - db ( $C0 | CH0 ) - dw Music_Routes2_Ch1 - db CH1 - dw Music_Routes2_Ch2 - db CH2 - dw Music_Routes2_Ch3 - db CH3 - dw Music_Routes2_Ch4 - -; Routes 3, 4, 5, 6, 7, 8, 9, 10, 16, 17, 18, 19, 20, 21, 22 -Music_Routes3:: ; 82d9 (2:42d9) - db ( $C0 | CH0 ) - dw Music_Routes3_Ch1 - db CH1 - dw Music_Routes3_Ch2 - db CH2 - dw Music_Routes3_Ch3 - db CH3 - dw Music_Routes3_Ch4 - -; Routes 11, 12, 13, 14, 15 -Music_Routes4:: ; 82d5 (2:42d5) - db ( $C0 | CH0 ) - dw Music_Routes4_Ch1 - db CH1 - dw Music_Routes4_Ch2 - db CH2 - dw Music_Routes4_Ch3 - db CH3 - dw Music_Routes4_Ch4 - -; Route 23, Indigo Plateau -Music_IndigoPlateau:: ; 82f1 (2:42f1) - db ( $C0 | CH0 ) - dw Music_IndigoPlateau_Ch1 - db CH1 - dw Music_IndigoPlateau_Ch2 - db CH2 - dw Music_IndigoPlateau_Ch3 - db CH3 - dw Music_IndigoPlateau_Ch4 diff --git a/audio/headers/musicheaders08.asm b/audio/headers/musicheaders08.asm deleted file mode 100755 index 85cf2825..00000000 --- a/audio/headers/musicheaders08.asm +++ /dev/null @@ -1,57 +0,0 @@ -Music_GymLeaderBattle:: ; 202be (8:42be) - db ( $80 | CH0 ) - dw Music_GymLeaderBattle_Ch1 - db CH1 - dw Music_GymLeaderBattle_Ch2 - db CH2 - dw Music_GymLeaderBattle_Ch3 - -Music_TrainerBattle:: ; 202c7 (8:42c7) - db ( $80 | CH0 ) - dw Music_TrainerBattle_Ch1 - db CH1 - dw Music_TrainerBattle_Ch2 - db CH2 - dw Music_TrainerBattle_Ch3 - -Music_WildBattle:: ; 202d0 (8:42d0) - db ( $80 | CH0 ) - dw Music_WildBattle_Ch1 - db CH1 - dw Music_WildBattle_Ch2 - db CH2 - dw Music_WildBattle_Ch3 - -Music_FinalBattle:: ; 202d9 (8:42d9) - db ( $80 | CH0 ) - dw Music_FinalBattle_Ch1 - db CH1 - dw Music_FinalBattle_Ch2 - db CH2 - dw Music_FinalBattle_Ch3 - -Music_DefeatedTrainer:: ; 202e2 (8:42e2) - db ( $80 | CH0 ) - dw Music_DefeatedTrainer_Ch1 - db CH1 - dw Music_DefeatedTrainer_Ch2 - db CH2 - dw Music_DefeatedTrainer_Ch3 - -Music_DefeatedWildMon:: ; 202eb (8:42eb) - db ( $80 | CH0 ) - dw Music_DefeatedWildMon_Ch1 - db CH1 - dw Music_DefeatedWildMon_Ch2 - db CH2 - dw Music_DefeatedWildMon_Ch3 - -Music_DefeatedGymLeader:: ; 202f4 (8:42f4) - db ( $80 | CH0 ) - dw Music_DefeatedGymLeader_Ch1 - db CH1 - dw Music_DefeatedGymLeader_Ch2 - db CH2 - dw Music_DefeatedGymLeader_Ch3 - -; 202fd diff --git a/audio/headers/musicheaders1.asm b/audio/headers/musicheaders1.asm new file mode 100755 index 00000000..a6449436 --- /dev/null +++ b/audio/headers/musicheaders1.asm @@ -0,0 +1,184 @@ +Music_PalletTown:: ; 822e (2:422e) + db ( $80 | CH0 ) + dw Music_PalletTown_Ch1 + db CH1 + dw Music_PalletTown_Ch2 + db CH2 + dw Music_PalletTown_Ch3 + +Music_Pokecenter:: ; 8237 (2:4237) + db ( $80 | CH0 ) + dw Music_Pokecenter_Ch1 + db CH1 + dw Music_Pokecenter_Ch2 + db CH2 + dw Music_Pokecenter_Ch3 + +Music_Gym:: ; 8240 (2:4240) + db ( $80 | CH0 ) + dw Music_Gym_Ch1 + db CH1 + dw Music_Gym_Ch2 + db CH2 + dw Music_Gym_Ch3 + +; Viridian City, Pewter City, Saffron City +Music_Cities1:: ; 8249 (2:4249) + db ( $C0 | CH0 ) + dw Music_Cities1_Ch1 + db CH1 + dw Music_Cities1_Ch2 + db CH2 + dw Music_Cities1_Ch3 + db CH3 + dw Music_Cities1_Ch4 + +; Cerulean City, Fuchsia City +Music_Cities2:: ; 8255 (2:4255) + db ( $80 | CH0 ) + dw Music_Cities2_Ch1 + db CH1 + dw Music_Cities2_Ch2 + db CH2 + dw Music_Cities2_Ch3 + +Music_Celadon:: ; 825e (2:425e) + db ( $80 | CH0 ) + dw Music_Celadon_Ch1 + db CH1 + dw Music_Celadon_Ch2 + db CH2 + dw Music_Celadon_Ch3 + +Music_Cinnabar:: ; 8267 (2:4267) + db ( $80 | CH0 ) + dw Music_Cinnabar_Ch1 + db CH1 + dw Music_Cinnabar_Ch2 + db CH2 + dw Music_Cinnabar_Ch3 + +Music_Vermilion:: ; 8270 (2:4270) + db ( $C0 | CH0 ) + dw Music_Vermilion_Ch1 + db CH1 + dw Music_Vermilion_Ch2 + db CH2 + dw Music_Vermilion_Ch3 + db CH3 + dw Music_Vermilion_Ch4 + +Music_Lavender:: ; 827c (2:427c) + db ( $C0 | CH0 ) + dw Music_Lavender_Ch1 + db CH1 + dw Music_Lavender_Ch2 + db CH2 + dw Music_Lavender_Ch3 + db CH3 + dw Music_Lavender_Ch4 + +Music_SSAnne:: ; 8288 (2:4288) + db ( $80 | CH0 ) + dw Music_SSAnne_Ch1 + db CH1 + dw Music_SSAnne_Ch2 + db CH2 + dw Music_SSAnne_Ch3 + +Music_MeetProfOak:: ; 8291 (2:4291) + db ( $80 | CH0 ) + dw Music_MeetProfOak_Ch1 + db CH1 + dw Music_MeetProfOak_Ch2 + db CH2 + dw Music_MeetProfOak_Ch3 + +Music_MeetRival:: ; 829a (2:429a) + db ( $80 | CH0 ) + dw Music_MeetRival_Ch1 + db CH1 + dw Music_MeetRival_Ch2 + db CH2 + dw Music_MeetRival_Ch3 + +Music_MuseumGuy:: ; 82a3 (2:42a3) + db ( $C0 | CH0 ) + dw Music_MuseumGuy_Ch1 + db CH1 + dw Music_MuseumGuy_Ch2 + db CH2 + dw Music_MuseumGuy_Ch3 + db CH3 + dw Music_MuseumGuy_Ch4 + +Music_SafariZone:: ; 82af (2:42af) + db ( $80 | CH0 ) + dw Music_SafariZone_Ch1 + db CH1 + dw Music_SafariZone_Ch2 + db CH2 + dw Music_SafariZone_Ch3 + +Music_PkmnHealed:: ; 82b8 (2:42b8) + db ( $80 | CH0 ) + dw Music_PkmnHealed_Ch1 + db CH1 + dw Music_PkmnHealed_Ch2 + db CH2 + dw Music_PkmnHealed_Ch3 + +; Routes 1 and 2 +Music_Routes1:: ; 82c1 (2:42c1) + db ( $C0 | CH0 ) + dw Music_Routes1_Ch1 + db CH1 + dw Music_Routes1_Ch2 + db CH2 + dw Music_Routes1_Ch3 + db CH3 + dw Music_Routes1_Ch4 + +; Routes 24 and 25 +Music_Routes2:: ; 82cd (2:42cd) + db ( $C0 | CH0 ) + dw Music_Routes2_Ch1 + db CH1 + dw Music_Routes2_Ch2 + db CH2 + dw Music_Routes2_Ch3 + db CH3 + dw Music_Routes2_Ch4 + +; Routes 3, 4, 5, 6, 7, 8, 9, 10, 16, 17, 18, 19, 20, 21, 22 +Music_Routes3:: ; 82d9 (2:42d9) + db ( $C0 | CH0 ) + dw Music_Routes3_Ch1 + db CH1 + dw Music_Routes3_Ch2 + db CH2 + dw Music_Routes3_Ch3 + db CH3 + dw Music_Routes3_Ch4 + +; Routes 11, 12, 13, 14, 15 +Music_Routes4:: ; 82d5 (2:42d5) + db ( $C0 | CH0 ) + dw Music_Routes4_Ch1 + db CH1 + dw Music_Routes4_Ch2 + db CH2 + dw Music_Routes4_Ch3 + db CH3 + dw Music_Routes4_Ch4 + +; Route 23, Indigo Plateau +Music_IndigoPlateau:: ; 82f1 (2:42f1) + db ( $C0 | CH0 ) + dw Music_IndigoPlateau_Ch1 + db CH1 + dw Music_IndigoPlateau_Ch2 + db CH2 + dw Music_IndigoPlateau_Ch3 + db CH3 + dw Music_IndigoPlateau_Ch4 diff --git a/audio/headers/musicheaders1f.asm b/audio/headers/musicheaders1f.asm deleted file mode 100755 index 7846e48f..00000000 --- a/audio/headers/musicheaders1f.asm +++ /dev/null @@ -1,158 +0,0 @@ -Music_TitleScreen:: ; 7c249 (1f:4249) - db ( $C0 | CH0 ) - dw Music_TitleScreen_Ch1 - db CH1 - dw Music_TitleScreen_Ch2 - db CH2 - dw Music_TitleScreen_Ch3 - db CH3 - dw Music_TitleScreen_Ch4 - -Music_Credits:: ; 7c255 (1f:4255) - db ( $80 | CH0 ) - dw Music_Credits_Ch1 - db CH1 - dw Music_Credits_Ch2 - db CH2 - dw Music_Credits_Ch3 - -Music_HallOfFame:: ; 7c25e (1f:425e) - db ( $80 | CH0 ) - dw Music_HallOfFame_Ch1 - db CH1 - dw Music_HallOfFame_Ch2 - db CH2 - dw Music_HallOfFame_Ch3 - -Music_OaksLab:: ; 7c267 (1f:4267) - db ( $80 | CH0 ) - dw Music_OaksLab_Ch1 - db CH1 - dw Music_OaksLab_Ch2 - db CH2 - dw Music_OaksLab_Ch3 - -Music_JigglypuffSong:: ; 7c270 (1f:4270) - db $40 - dw Music_JigglypuffSong_Ch1 - db CH1 - dw Music_JigglypuffSong_Ch2 - -Music_BikeRiding:: ; 7c276 (1f:4276) - db ( $C0 | CH0 ) - dw Music_BikeRiding_Ch1 - db CH1 - dw Music_BikeRiding_Ch2 - db CH2 - dw Music_BikeRiding_Ch3 - db CH3 - dw Music_BikeRiding_Ch4 - -Music_Surfing:: ; 7c282 (1f:4282) - db ( $80 | CH0 ) - dw Music_Surfing_Ch1 - db CH1 - dw Music_Surfing_Ch2 - db CH2 - dw Music_Surfing_Ch3 - -Music_GameCorner:: ; 7c28b (1f:428b) - db ( $80 | CH0 ) - dw Music_GameCorner_Ch1 - db CH1 - dw Music_GameCorner_Ch2 - db CH2 - dw Music_GameCorner_Ch3 - -Music_IntroBattle:: ; 7c294 (1f:4294) - db ( $C0 | CH0 ) - dw Music_IntroBattle_Ch1 - db CH1 - dw Music_IntroBattle_Ch2 - db CH2 - dw Music_IntroBattle_Ch3 - db CH3 - dw Music_IntroBattle_Ch4 - -; Power Plant, Unknown Dungeon, Rocket HQ -Music_Dungeon1:: ; 7c2a0 (1f:42a0) - db ( $C0 | CH0 ) - dw Music_Dungeon1_Ch1 - db CH1 - dw Music_Dungeon1_Ch2 - db CH2 - dw Music_Dungeon1_Ch3 - db CH3 - dw Music_Dungeon1_Ch4 - -; Viridian Forest, Seafoam Islands -Music_Dungeon2:: ; 7c2ac (1f:42ac) - db ( $C0 | CH0 ) - dw Music_Dungeon2_Ch1 - db CH1 - dw Music_Dungeon2_Ch2 - db CH2 - dw Music_Dungeon2_Ch3 - db CH3 - dw Music_Dungeon2_Ch4 - -; Mt. Moon, Rock Tunnel, Victory Road -Music_Dungeon3:: ; 7c2b8 (1f:42b8) - db ( $C0 | CH0 ) - dw Music_Dungeon3_Ch1 - db CH1 - dw Music_Dungeon3_Ch2 - db CH2 - dw Music_Dungeon3_Ch3 - db CH3 - dw Music_Dungeon3_Ch4 - -Music_CinnabarMansion:: ; 7c2c4 (1f:42c4) - db ( $C0 | CH0 ) - dw Music_CinnabarMansion_Ch1 - db CH1 - dw Music_CinnabarMansion_Ch2 - db CH2 - dw Music_CinnabarMansion_Ch3 - db CH3 - dw Music_CinnabarMansion_Ch4 - -Music_PokemonTower:: ; 7c2d0 (1f:42d0) - db ( $80 | CH0 ) - dw Music_PokemonTower_Ch1 - db CH1 - dw Music_PokemonTower_Ch2 - db CH2 - dw Music_PokemonTower_Ch3 - -Music_SilphCo:: ; 7c2d9 (1f:42d9) - db ( $80 | CH0 ) - dw Music_SilphCo_Ch1 - db CH1 - dw Music_SilphCo_Ch2 - db CH2 - dw Music_SilphCo_Ch3 - -Music_MeetEvilTrainer:: ; 7c2e2 (1f:42e2) - db ( $80 | CH0 ) - dw Music_MeetEvilTrainer_Ch1 - db CH1 - dw Music_MeetEvilTrainer_Ch2 - db CH2 - dw Music_MeetEvilTrainer_Ch3 - -Music_MeetFemaleTrainer:: ; 7c2eb (1f:42eb) - db ( $80 | CH0 ) - dw Music_MeetFemaleTrainer_Ch1 - db CH1 - dw Music_MeetFemaleTrainer_Ch2 - db CH2 - dw Music_MeetFemaleTrainer_Ch3 - -Music_MeetMaleTrainer:: ; 7c2f4 (1f:42f4) - db ( $80 | CH0 ) - dw Music_MeetMaleTrainer_Ch1 - db CH1 - dw Music_MeetMaleTrainer_Ch2 - db CH2 - dw Music_MeetMaleTrainer_Ch3 diff --git a/audio/headers/musicheaders2.asm b/audio/headers/musicheaders2.asm new file mode 100755 index 00000000..85cf2825 --- /dev/null +++ b/audio/headers/musicheaders2.asm @@ -0,0 +1,57 @@ +Music_GymLeaderBattle:: ; 202be (8:42be) + db ( $80 | CH0 ) + dw Music_GymLeaderBattle_Ch1 + db CH1 + dw Music_GymLeaderBattle_Ch2 + db CH2 + dw Music_GymLeaderBattle_Ch3 + +Music_TrainerBattle:: ; 202c7 (8:42c7) + db ( $80 | CH0 ) + dw Music_TrainerBattle_Ch1 + db CH1 + dw Music_TrainerBattle_Ch2 + db CH2 + dw Music_TrainerBattle_Ch3 + +Music_WildBattle:: ; 202d0 (8:42d0) + db ( $80 | CH0 ) + dw Music_WildBattle_Ch1 + db CH1 + dw Music_WildBattle_Ch2 + db CH2 + dw Music_WildBattle_Ch3 + +Music_FinalBattle:: ; 202d9 (8:42d9) + db ( $80 | CH0 ) + dw Music_FinalBattle_Ch1 + db CH1 + dw Music_FinalBattle_Ch2 + db CH2 + dw Music_FinalBattle_Ch3 + +Music_DefeatedTrainer:: ; 202e2 (8:42e2) + db ( $80 | CH0 ) + dw Music_DefeatedTrainer_Ch1 + db CH1 + dw Music_DefeatedTrainer_Ch2 + db CH2 + dw Music_DefeatedTrainer_Ch3 + +Music_DefeatedWildMon:: ; 202eb (8:42eb) + db ( $80 | CH0 ) + dw Music_DefeatedWildMon_Ch1 + db CH1 + dw Music_DefeatedWildMon_Ch2 + db CH2 + dw Music_DefeatedWildMon_Ch3 + +Music_DefeatedGymLeader:: ; 202f4 (8:42f4) + db ( $80 | CH0 ) + dw Music_DefeatedGymLeader_Ch1 + db CH1 + dw Music_DefeatedGymLeader_Ch2 + db CH2 + dw Music_DefeatedGymLeader_Ch3 + +; 202fd diff --git a/audio/headers/musicheaders3.asm b/audio/headers/musicheaders3.asm new file mode 100755 index 00000000..7846e48f --- /dev/null +++ b/audio/headers/musicheaders3.asm @@ -0,0 +1,158 @@ +Music_TitleScreen:: ; 7c249 (1f:4249) + db ( $C0 | CH0 ) + dw Music_TitleScreen_Ch1 + db CH1 + dw Music_TitleScreen_Ch2 + db CH2 + dw Music_TitleScreen_Ch3 + db CH3 + dw Music_TitleScreen_Ch4 + +Music_Credits:: ; 7c255 (1f:4255) + db ( $80 | CH0 ) + dw Music_Credits_Ch1 + db CH1 + dw Music_Credits_Ch2 + db CH2 + dw Music_Credits_Ch3 + +Music_HallOfFame:: ; 7c25e (1f:425e) + db ( $80 | CH0 ) + dw Music_HallOfFame_Ch1 + db CH1 + dw Music_HallOfFame_Ch2 + db CH2 + dw Music_HallOfFame_Ch3 + +Music_OaksLab:: ; 7c267 (1f:4267) + db ( $80 | CH0 ) + dw Music_OaksLab_Ch1 + db CH1 + dw Music_OaksLab_Ch2 + db CH2 + dw Music_OaksLab_Ch3 + +Music_JigglypuffSong:: ; 7c270 (1f:4270) + db $40 + dw Music_JigglypuffSong_Ch1 + db CH1 + dw Music_JigglypuffSong_Ch2 + +Music_BikeRiding:: ; 7c276 (1f:4276) + db ( $C0 | CH0 ) + dw Music_BikeRiding_Ch1 + db CH1 + dw Music_BikeRiding_Ch2 + db CH2 + dw Music_BikeRiding_Ch3 + db CH3 + dw Music_BikeRiding_Ch4 + +Music_Surfing:: ; 7c282 (1f:4282) + db ( $80 | CH0 ) + dw Music_Surfing_Ch1 + db CH1 + dw Music_Surfing_Ch2 + db CH2 + dw Music_Surfing_Ch3 + +Music_GameCorner:: ; 7c28b (1f:428b) + db ( $80 | CH0 ) + dw Music_GameCorner_Ch1 + db CH1 + dw Music_GameCorner_Ch2 + db CH2 + dw Music_GameCorner_Ch3 + +Music_IntroBattle:: ; 7c294 (1f:4294) + db ( $C0 | CH0 ) + dw Music_IntroBattle_Ch1 + db CH1 + dw Music_IntroBattle_Ch2 + db CH2 + dw Music_IntroBattle_Ch3 + db CH3 + dw Music_IntroBattle_Ch4 + +; Power Plant, Unknown Dungeon, Rocket HQ +Music_Dungeon1:: ; 7c2a0 (1f:42a0) + db ( $C0 | CH0 ) + dw Music_Dungeon1_Ch1 + db CH1 + dw Music_Dungeon1_Ch2 + db CH2 + dw Music_Dungeon1_Ch3 + db CH3 + dw Music_Dungeon1_Ch4 + +; Viridian Forest, Seafoam Islands +Music_Dungeon2:: ; 7c2ac (1f:42ac) + db ( $C0 | CH0 ) + dw Music_Dungeon2_Ch1 + db CH1 + dw Music_Dungeon2_Ch2 + db CH2 + dw Music_Dungeon2_Ch3 + db CH3 + dw Music_Dungeon2_Ch4 + +; Mt. Moon, Rock Tunnel, Victory Road +Music_Dungeon3:: ; 7c2b8 (1f:42b8) + db ( $C0 | CH0 ) + dw Music_Dungeon3_Ch1 + db CH1 + dw Music_Dungeon3_Ch2 + db CH2 + dw Music_Dungeon3_Ch3 + db CH3 + dw Music_Dungeon3_Ch4 + +Music_CinnabarMansion:: ; 7c2c4 (1f:42c4) + db ( $C0 | CH0 ) + dw Music_CinnabarMansion_Ch1 + db CH1 + dw Music_CinnabarMansion_Ch2 + db CH2 + dw Music_CinnabarMansion_Ch3 + db CH3 + dw Music_CinnabarMansion_Ch4 + +Music_PokemonTower:: ; 7c2d0 (1f:42d0) + db ( $80 | CH0 ) + dw Music_PokemonTower_Ch1 + db CH1 + dw Music_PokemonTower_Ch2 + db CH2 + dw Music_PokemonTower_Ch3 + +Music_SilphCo:: ; 7c2d9 (1f:42d9) + db ( $80 | CH0 ) + dw Music_SilphCo_Ch1 + db CH1 + dw Music_SilphCo_Ch2 + db CH2 + dw Music_SilphCo_Ch3 + +Music_MeetEvilTrainer:: ; 7c2e2 (1f:42e2) + db ( $80 | CH0 ) + dw Music_MeetEvilTrainer_Ch1 + db CH1 + dw Music_MeetEvilTrainer_Ch2 + db CH2 + dw Music_MeetEvilTrainer_Ch3 + +Music_MeetFemaleTrainer:: ; 7c2eb (1f:42eb) + db ( $80 | CH0 ) + dw Music_MeetFemaleTrainer_Ch1 + db CH1 + dw Music_MeetFemaleTrainer_Ch2 + db CH2 + dw Music_MeetFemaleTrainer_Ch3 + +Music_MeetMaleTrainer:: ; 7c2f4 (1f:42f4) + db ( $80 | CH0 ) + dw Music_MeetMaleTrainer_Ch1 + db CH1 + dw Music_MeetMaleTrainer_Ch2 + db CH2 + dw Music_MeetMaleTrainer_Ch3 diff --git a/audio/headers/sfxheaders02.asm b/audio/headers/sfxheaders02.asm deleted file mode 100644 index 86fca297..00000000 --- a/audio/headers/sfxheaders02.asm +++ /dev/null @@ -1,562 +0,0 @@ -SFX_Headers_02:: - db $ff, $ff, $ff ; padding - -SFX_Snare1_1:: ; 8003 (2:4003) - db CH7 - dw SFX_Snare1_1_Ch1 - -SFX_Snare2_1:: ; 8006 (2:4006) - db CH7 - dw SFX_Snare2_1_Ch1 - -SFX_Snare3_1:: ; 8009 (2:4009) - db CH7 - dw SFX_Snare3_1_Ch1 - -SFX_Snare4_1:: ; 800c (2:400c) - db CH7 - dw SFX_Snare4_1_Ch1 - -SFX_Snare5_1:: ; 800f (2:400f) - db CH7 - dw SFX_Snare5_1_Ch1 - -SFX_Triangle1_1:: ; 8012 (2:4012) - db CH7 - dw SFX_Triangle1_1_Ch1 - -SFX_Triangle2_1:: ; 8015 (2:4015) - db CH7 - dw SFX_Triangle2_1_Ch1 - -SFX_Snare6_1:: ; 8018 (2:4018) - db CH7 - dw SFX_Snare6_1_Ch1 - -SFX_Snare7_1:: ; 801b (2:401b) - db CH7 - dw SFX_Snare7_1_Ch1 - -SFX_Snare8_1:: ; 801e (2:401e) - db CH7 - dw SFX_Snare8_1_Ch1 - -SFX_Snare9_1:: ; 8021 (2:4021) - db CH7 - dw SFX_Snare9_1_Ch1 - -SFX_Cymbal1_1:: ; 8024 (2:4024) - db CH7 - dw SFX_Cymbal1_1_Ch1 - -SFX_Cymbal2_1:: ; 8027 (2:4027) - db CH7 - dw SFX_Cymbal2_1_Ch1 - -SFX_Cymbal3_1:: ; 802a (2:402a) - db CH7 - dw SFX_Cymbal3_1_Ch1 - -SFX_Muted_Snare1_1:: ; 802d (2:402d) - db CH7 - dw SFX_Muted_Snare1_1_Ch1 - -SFX_Triangle3_1:: ; 8030 (2:4030) - db CH7 - dw SFX_Triangle3_1_Ch1 - -SFX_Muted_Snare2_1:: ; 8033 (2:4033) - db CH7 - dw SFX_Muted_Snare2_1_Ch1 - -SFX_Muted_Snare3_1:: ; 8036 (2:4036) - db CH7 - dw SFX_Muted_Snare3_1_Ch1 - -SFX_Muted_Snare4_1:: ; 8039 (2:4039) - db CH7 - dw SFX_Muted_Snare4_1_Ch1 - -SFX_Cry00_1:: ; 803c (2:403c) - db ( $80 | CH4 ) - dw SFX_Cry00_1_Ch1 - db CH5 - dw SFX_Cry00_1_Ch2 - db CH7 - dw SFX_Cry00_1_Ch3 - -SFX_Cry01_1:: ; 8045 (2:4045) - db ( $80 | CH4 ) - dw SFX_Cry01_1_Ch1 - db CH5 - dw SFX_Cry01_1_Ch2 - db CH7 - dw SFX_Cry01_1_Ch3 - -SFX_Cry02_1:: ; 804e (2:404e) - db ( $80 | CH4 ) - dw SFX_Cry02_1_Ch1 - db CH5 - dw SFX_Cry02_1_Ch2 - db CH7 - dw SFX_Cry02_1_Ch3 - -SFX_Cry03_1:: ; 8057 (2:4057) - db ( $80 | CH4 ) - dw SFX_Cry03_1_Ch1 - db CH5 - dw SFX_Cry03_1_Ch2 - db CH7 - dw SFX_Cry03_1_Ch3 - -SFX_Cry04_1:: ; 8060 (2:4060) - db ( $80 | CH4 ) - dw SFX_Cry04_1_Ch1 - db CH5 - dw SFX_Cry04_1_Ch2 - db CH7 - dw SFX_Cry04_1_Ch3 - -SFX_Cry05_1:: ; 8069 (2:4069) - db ( $80 | CH4 ) - dw SFX_Cry05_1_Ch1 - db CH5 - dw SFX_Cry05_1_Ch2 - db CH7 - dw SFX_Cry05_1_Ch3 - -SFX_Cry06_1:: ; 8072 (2:4072) - db ( $80 | CH4 ) - dw SFX_Cry06_1_Ch1 - db CH5 - dw SFX_Cry06_1_Ch2 - db CH7 - dw SFX_Cry06_1_Ch3 - -SFX_Cry07_1:: ; 807b (2:407b) - db ( $80 | CH4 ) - dw SFX_Cry07_1_Ch1 - db CH5 - dw SFX_Cry07_1_Ch2 - db CH7 - dw SFX_Cry07_1_Ch3 - -SFX_Cry08_1:: ; 8084 (2:4084) - db ( $80 | CH4 ) - dw SFX_Cry08_1_Ch1 - db CH5 - dw SFX_Cry08_1_Ch2 - db CH7 - dw SFX_Cry08_1_Ch3 - -SFX_Cry09_1:: ; 808d (2:408d) - db ( $80 | CH4 ) - dw SFX_Cry09_1_Ch1 - db CH5 - dw SFX_Cry09_1_Ch2 - db CH7 - dw SFX_Cry09_1_Ch3 - -SFX_Cry0A_1:: ; 8096 (2:4096) - db ( $80 | CH4 ) - dw SFX_Cry0A_1_Ch1 - db CH5 - dw SFX_Cry0A_1_Ch2 - db CH7 - dw SFX_Cry0A_1_Ch3 - -SFX_Cry0B_1:: ; 809f (2:409f) - db ( $80 | CH4 ) - dw SFX_Cry0B_1_Ch1 - db CH5 - dw SFX_Cry0B_1_Ch2 - db CH7 - dw SFX_Cry0B_1_Ch3 - -SFX_Cry0C_1:: ; 80a8 (2:40a8) - db ( $80 | CH4 ) - dw SFX_Cry0C_1_Ch1 - db CH5 - dw SFX_Cry0C_1_Ch2 - db CH7 - dw SFX_Cry0C_1_Ch3 - -SFX_Cry0D_1:: ; 80b1 (2:40b1) - db ( $80 | CH4 ) - dw SFX_Cry0D_1_Ch1 - db CH5 - dw SFX_Cry0D_1_Ch2 - db CH7 - dw SFX_Cry0D_1_Ch3 - -SFX_Cry0E_1:: ; 80ba (2:40ba) - db ( $80 | CH4 ) - dw SFX_Cry0E_1_Ch1 - db CH5 - dw SFX_Cry0E_1_Ch2 - db CH7 - dw SFX_Cry0E_1_Ch3 - -SFX_Cry0F_1:: ; 80c3 (2:40c3) - db ( $80 | CH4 ) - dw SFX_Cry0F_1_Ch1 - db CH5 - dw SFX_Cry0F_1_Ch2 - db CH7 - dw SFX_Cry0F_1_Ch3 - -SFX_Cry10_1:: ; 80cc (2:40cc) - db ( $80 | CH4 ) - dw SFX_Cry10_1_Ch1 - db CH5 - dw SFX_Cry10_1_Ch2 - db CH7 - dw SFX_Cry10_1_Ch3 - -SFX_Cry11_1:: ; 80d5 (2:40d5) - db ( $80 | CH4 ) - dw SFX_Cry11_1_Ch1 - db CH5 - dw SFX_Cry11_1_Ch2 - db CH7 - dw SFX_Cry11_1_Ch3 - -SFX_Cry12_1:: ; 80de (2:40de) - db ( $80 | CH4 ) - dw SFX_Cry12_1_Ch1 - db CH5 - dw SFX_Cry12_1_Ch2 - db CH7 - dw SFX_Cry12_1_Ch3 - -SFX_Cry13_1:: ; 80e7 (2:40e7) - db ( $80 | CH4 ) - dw SFX_Cry13_1_Ch1 - db CH5 - dw SFX_Cry13_1_Ch2 - db CH7 - dw SFX_Cry13_1_Ch3 - -SFX_Cry14_1:: ; 80f0 (2:40f0) - db ( $80 | CH4 ) - dw SFX_Cry14_1_Ch1 - db CH5 - dw SFX_Cry14_1_Ch2 - db CH7 - dw SFX_Cry14_1_Ch3 - -SFX_Cry15_1:: ; 80f9 (2:40f9) - db ( $80 | CH4 ) - dw SFX_Cry15_1_Ch1 - db CH5 - dw SFX_Cry15_1_Ch2 - db CH7 - dw SFX_Cry15_1_Ch3 - -SFX_Cry16_1:: ; 8102 (2:4102) - db ( $80 | CH4 ) - dw SFX_Cry16_1_Ch1 - db CH5 - dw SFX_Cry16_1_Ch2 - db CH7 - dw SFX_Cry16_1_Ch3 - -SFX_Cry17_1:: ; 810b (2:410b) - db ( $80 | CH4 ) - dw SFX_Cry17_1_Ch1 - db CH5 - dw SFX_Cry17_1_Ch2 - db CH7 - dw SFX_Cry17_1_Ch3 - -SFX_Cry18_1:: ; 8114 (2:4114) - db ( $80 | CH4 ) - dw SFX_Cry18_1_Ch1 - db CH5 - dw SFX_Cry18_1_Ch2 - db CH7 - dw SFX_Cry18_1_Ch3 - -SFX_Cry19_1:: ; 811d (2:411d) - db ( $80 | CH4 ) - dw SFX_Cry19_1_Ch1 - db CH5 - dw SFX_Cry19_1_Ch2 - db CH7 - dw SFX_Cry19_1_Ch3 - -SFX_Cry1A_1:: ; 8126 (2:4126) - db ( $80 | CH4 ) - dw SFX_Cry1A_1_Ch1 - db CH5 - dw SFX_Cry1A_1_Ch2 - db CH7 - dw SFX_Cry1A_1_Ch3 - -SFX_Cry1B_1:: ; 812f (2:412f) - db ( $80 | CH4 ) - dw SFX_Cry1B_1_Ch1 - db CH5 - dw SFX_Cry1B_1_Ch2 - db CH7 - dw SFX_Cry1B_1_Ch3 - -SFX_Cry1C_1:: ; 8138 (2:4138) - db ( $80 | CH4 ) - dw SFX_Cry1C_1_Ch1 - db CH5 - dw SFX_Cry1C_1_Ch2 - db CH7 - dw SFX_Cry1C_1_Ch3 - -SFX_Cry1D_1:: ; 8141 (2:4141) - db ( $80 | CH4 ) - dw SFX_Cry1D_1_Ch1 - db CH5 - dw SFX_Cry1D_1_Ch2 - db CH7 - dw SFX_Cry1D_1_Ch3 - -SFX_Cry1E_1:: ; 814a (2:414a) - db ( $80 | CH4 ) - dw SFX_Cry1E_1_Ch1 - db CH5 - dw SFX_Cry1E_1_Ch2 - db CH7 - dw SFX_Cry1E_1_Ch3 - -SFX_Cry1F_1:: ; 8153 (2:4153) - db ( $80 | CH4 ) - dw SFX_Cry1F_1_Ch1 - db CH5 - dw SFX_Cry1F_1_Ch2 - db CH7 - dw SFX_Cry1F_1_Ch3 - -SFX_Cry20_1:: ; 815c (2:415c) - db ( $80 | CH4 ) - dw SFX_Cry20_1_Ch1 - db CH5 - dw SFX_Cry20_1_Ch2 - db CH7 - dw SFX_Cry20_1_Ch3 - -SFX_Cry21_1:: ; 8165 (2:4165) - db ( $80 | CH4 ) - dw SFX_Cry21_1_Ch1 - db CH5 - dw SFX_Cry21_1_Ch2 - db CH7 - dw SFX_Cry21_1_Ch3 - -SFX_Cry22_1:: ; 816e (2:416e) - db ( $80 | CH4 ) - dw SFX_Cry22_1_Ch1 - db CH5 - dw SFX_Cry22_1_Ch2 - db CH7 - dw SFX_Cry22_1_Ch3 - -SFX_Cry23_1:: ; 8177 (2:4177) - db ( $80 | CH4 ) - dw SFX_Cry23_1_Ch1 - db CH5 - dw SFX_Cry23_1_Ch2 - db CH7 - dw SFX_Cry23_1_Ch3 - -SFX_Cry24_1:: ; 8180 (2:4180) - db ( $80 | CH4 ) - dw SFX_Cry24_1_Ch1 - db CH5 - dw SFX_Cry24_1_Ch2 - db CH7 - dw SFX_Cry24_1_Ch3 - -SFX_Cry25_1:: ; 8189 (2:4189) - db ( $80 | CH4 ) - dw SFX_Cry25_1_Ch1 - db CH5 - dw SFX_Cry25_1_Ch2 - db CH7 - dw SFX_Cry25_1_Ch3 - -SFX_Get_Item1_1:: ; 8192 (2:4192) - db ( $80 | CH4 ) - dw SFX_Get_Item1_1_Ch1 - db CH5 - dw SFX_Get_Item1_1_Ch2 - db CH6 - dw SFX_Get_Item1_1_Ch3 - -SFX_Get_Item2_1:: ; 819b (2:419b) - db ( $80 | CH4 ) - dw SFX_Get_Item2_1_Ch1 - db CH5 - dw SFX_Get_Item2_1_Ch2 - db CH6 - dw SFX_Get_Item2_1_Ch3 - -SFX_Tink_1:: ; 81a4 (2:41a4) - db CH4 - dw SFX_Tink_1_Ch1 - -SFX_Heal_HP_1:: ; 81a7 (2:41a7) - db CH4 - dw SFX_Heal_HP_1_Ch1 - -SFX_Heal_Ailment_1:: ; 81aa (2:41aa) - db CH4 - dw SFX_Heal_Ailment_1_Ch1 - -SFX_Start_Menu_1:: ; 81ad (2:41ad) - db CH7 - dw SFX_Start_Menu_1_Ch1 - -SFX_Press_AB_1:: ; 81b0 (2:41b0) - db CH4 - dw SFX_Press_AB_1_Ch1 - -SFX_Pokedex_Rating_1:: ; 81b3 (2:41b3) - db ( $80 | CH4 ) - dw SFX_Pokedex_Rating_1_Ch1 - db CH5 - dw SFX_Pokedex_Rating_1_Ch2 - db CH6 - dw SFX_Pokedex_Rating_1_Ch3 - -SFX_Get_Key_Item_1:: ; 81bc (2:41bc) - db ( $80 | CH4 ) - dw SFX_Get_Key_Item_1_Ch1 - db CH5 - dw SFX_Get_Key_Item_1_Ch2 - db CH6 - dw SFX_Get_Key_Item_1_Ch3 - -SFX_Poisoned_1:: ; 81c5 (2:41c5) - db CH4 - dw SFX_Poisoned_1_Ch1 - -SFX_Trade_Machine_1:: ; 81c8 (2:41c8) - db CH4 - dw SFX_Trade_Machine_1_Ch1 - -SFX_Turn_On_PC_1:: ; 81cb (2:41cb) - db CH4 - dw SFX_Turn_On_PC_1_Ch1 - -SFX_Turn_Off_PC_1:: ; 81ce (2:41ce) - db CH4 - dw SFX_Turn_Off_PC_1_Ch1 - -SFX_Enter_PC_1:: ; 81d1 (2:41d1) - db CH4 - dw SFX_Enter_PC_1_Ch1 - -SFX_Shrink_1:: ; 81d4 (2:41d4) - db CH4 - dw SFX_Shrink_1_Ch1 - -SFX_Switch_1:: ; 81d7 (2:41d7) - db CH4 - dw SFX_Switch_1_Ch1 - -SFX_Healing_Machine_1:: ; 81da (2:41da) - db CH4 - dw SFX_Healing_Machine_1_Ch1 - -SFX_Teleport_Exit1_1:: ; 81dd (2:41dd) - db CH4 - dw SFX_Teleport_Exit1_1_Ch1 - -SFX_Teleport_Enter1_1:: ; 81e0 (2:41e0) - db CH4 - dw SFX_Teleport_Enter1_1_Ch1 - -SFX_Teleport_Exit2_1:: ; 81e3 (2:41e3) - db CH4 - dw SFX_Teleport_Exit2_1_Ch1 - -SFX_Ledge_1:: ; 81e6 (2:41e6) - db CH4 - dw SFX_Ledge_1_Ch1 - -SFX_Teleport_Enter2_1:: ; 81e9 (2:41e9) - db CH7 - dw SFX_Teleport_Enter2_1_Ch1 - -SFX_Fly_1:: ; 81ec (2:41ec) - db CH7 - dw SFX_Fly_1_Ch1 - -SFX_Denied_1:: ; 81ef (2:41ef) - db ( $40 | CH4 ) - dw SFX_Denied_1_Ch1 - db CH5 - dw SFX_Denied_1_Ch2 - -SFX_Arrow_Tiles_1:: ; 81f5 (2:41f5) - db CH4 - dw SFX_Arrow_Tiles_1_Ch1 - -SFX_Push_Boulder_1:: ; 81f8 (2:41f8) - db CH7 - dw SFX_Push_Boulder_1_Ch1 - -SFX_SS_Anne_Horn_1:: ; 81fb (2:41fb) - db ( $40 | CH4 ) - dw SFX_SS_Anne_Horn_1_Ch1 - db CH5 - dw SFX_SS_Anne_Horn_1_Ch2 - -SFX_Withdraw_Deposit_1:: ; 8201 (2:4201) - db CH4 - dw SFX_Withdraw_Deposit_1_Ch1 - -SFX_Cut_1:: ; 8204 (2:4204) - db CH7 - dw SFX_Cut_1_Ch1 - -SFX_Go_Inside_1:: ; 8207 (2:4207) - db CH7 - dw SFX_Go_Inside_1_Ch1 - -SFX_Swap_1:: ; 820a (2:420a) - db ( $40 | CH4 ) - dw SFX_Swap_1_Ch1 - db CH5 - dw SFX_Swap_1_Ch2 - -SFX_59_1:: ; 8210 (2:4210) - db ( $40 | CH4 ) - dw SFX_59_1_Ch1 - db CH5 - dw SFX_59_1_Ch2 - -SFX_Purchase_1:: ; 8216 (2:4216) - db ( $40 | CH4 ) - dw SFX_Purchase_1_Ch1 - db CH5 - dw SFX_Purchase_1_Ch2 - -SFX_Collision_1:: ; 821c (2:421c) - db CH4 - dw SFX_Collision_1_Ch1 - -SFX_Go_Outside_1:: ; 821f (2:421f) - db CH7 - dw SFX_Go_Outside_1_Ch1 - -SFX_Save_1:: ; 8222 (2:4222) - db ( $40 | CH4 ) - dw SFX_Save_1_Ch1 - db CH5 - dw SFX_Save_1_Ch2 - -SFX_Pokeflute:: ; 8228 (2:4228) - db CH2 - dw SFX_Pokeflute_Ch1 - -SFX_Safari_Zone_PA:: ; 822b (2:422b) - db CH4 - dw SFX_Safari_Zone_PA_Ch1 diff --git a/audio/headers/sfxheaders08.asm b/audio/headers/sfxheaders08.asm deleted file mode 100644 index 46491e67..00000000 --- a/audio/headers/sfxheaders08.asm +++ /dev/null @@ -1,706 +0,0 @@ -SFX_Headers_08:: - db $ff, $ff, $ff ; padding - -SFX_Snare1_2:: ; 20003 (8:4003) - db CH7 - dw SFX_Snare1_2_Ch1 - -SFX_Snare2_2:: ; 20006 (8:4006) - db CH7 - dw SFX_Snare2_2_Ch1 - -SFX_Snare3_2:: ; 20009 (8:4009) - db CH7 - dw SFX_Snare3_2_Ch1 - -SFX_Snare4_2:: ; 2000c (8:400c) - db CH7 - dw SFX_Snare4_2_Ch1 - -SFX_Snare5_2:: ; 2000f (8:400f) - db CH7 - dw SFX_Snare5_2_Ch1 - -SFX_Triangle1_2:: ; 20012 (8:4012) - db CH7 - dw SFX_Triangle1_2_Ch1 - -SFX_Triangle2_2:: ; 20015 (8:4015) - db CH7 - dw SFX_Triangle2_2_Ch1 - -SFX_Snare6_2:: ; 20018 (8:4018) - db CH7 - dw SFX_Snare6_2_Ch1 - -SFX_Snare7_2:: ; 2001b (8:401b) - db CH7 - dw SFX_Snare7_2_Ch1 - -SFX_Snare8_2:: ; 2001e (8:401e) - db CH7 - dw SFX_Snare8_2_Ch1 - -SFX_Snare9_2:: ; 20021 (8:4021) - db CH7 - dw SFX_Snare9_2_Ch1 - -SFX_Cymbal1_2:: ; 20024 (8:4024) - db CH7 - dw SFX_Cymbal1_2_Ch1 - -SFX_Cymbal2_2:: ; 20027 (8:4027) - db CH7 - dw SFX_Cymbal2_2_Ch1 - -SFX_Cymbal3_2:: ; 2002a (8:402a) - db CH7 - dw SFX_Cymbal3_2_Ch1 - -SFX_Muted_Snare1_2:: ; 2002d (8:402d) - db CH7 - dw SFX_Muted_Snare1_2_Ch1 - -SFX_Triangle3_2:: ; 20030 (8:4030) - db CH7 - dw SFX_Triangle3_2_Ch1 - -SFX_Muted_Snare2_2:: ; 20033 (8:4033) - db CH7 - dw SFX_Muted_Snare2_2_Ch1 - -SFX_Muted_Snare3_2:: ; 20036 (8:4036) - db CH7 - dw SFX_Muted_Snare3_2_Ch1 - -SFX_Muted_Snare4_2:: ; 20039 (8:4039) - db CH7 - dw SFX_Muted_Snare4_2_Ch1 - -SFX_Cry00_2:: ; 2003c (8:403c) - db ( $80 | CH4 ) - dw SFX_Cry00_2_Ch1 - db CH5 - dw SFX_Cry00_2_Ch2 - db CH7 - dw SFX_Cry00_2_Ch3 - -SFX_Cry01_2:: ; 20045 (8:4045) - db ( $80 | CH4 ) - dw SFX_Cry01_2_Ch1 - db CH5 - dw SFX_Cry01_2_Ch2 - db CH7 - dw SFX_Cry01_2_Ch3 - -SFX_Cry02_2:: ; 2004e (8:404e) - db ( $80 | CH4 ) - dw SFX_Cry02_2_Ch1 - db CH5 - dw SFX_Cry02_2_Ch2 - db CH7 - dw SFX_Cry02_2_Ch3 - -SFX_Cry03_2:: ; 20057 (8:4057) - db ( $80 | CH4 ) - dw SFX_Cry03_2_Ch1 - db CH5 - dw SFX_Cry03_2_Ch2 - db CH7 - dw SFX_Cry03_2_Ch3 - -SFX_Cry04_2:: ; 20060 (8:4060) - db ( $80 | CH4 ) - dw SFX_Cry04_2_Ch1 - db CH5 - dw SFX_Cry04_2_Ch2 - db CH7 - dw SFX_Cry04_2_Ch3 - -SFX_Cry05_2:: ; 20069 (8:4069) - db ( $80 | CH4 ) - dw SFX_Cry05_2_Ch1 - db CH5 - dw SFX_Cry05_2_Ch2 - db CH7 - dw SFX_Cry05_2_Ch3 - -SFX_Cry06_2:: ; 20072 (8:4072) - db ( $80 | CH4 ) - dw SFX_Cry06_2_Ch1 - db CH5 - dw SFX_Cry06_2_Ch2 - db CH7 - dw SFX_Cry06_2_Ch3 - -SFX_Cry07_2:: ; 2007b (8:407b) - db ( $80 | CH4 ) - dw SFX_Cry07_2_Ch1 - db CH5 - dw SFX_Cry07_2_Ch2 - db CH7 - dw SFX_Cry07_2_Ch3 - -SFX_Cry08_2:: ; 20084 (8:4084) - db ( $80 | CH4 ) - dw SFX_Cry08_2_Ch1 - db CH5 - dw SFX_Cry08_2_Ch2 - db CH7 - dw SFX_Cry08_2_Ch3 - -SFX_Cry09_2:: ; 2008d (8:408d) - db ( $80 | CH4 ) - dw SFX_Cry09_2_Ch1 - db CH5 - dw SFX_Cry09_2_Ch2 - db CH7 - dw SFX_Cry09_2_Ch3 - -SFX_Cry0A_2:: ; 20096 (8:4096) - db ( $80 | CH4 ) - dw SFX_Cry0A_2_Ch1 - db CH5 - dw SFX_Cry0A_2_Ch2 - db CH7 - dw SFX_Cry0A_2_Ch3 - -SFX_Cry0B_2:: ; 2009f (8:409f) - db ( $80 | CH4 ) - dw SFX_Cry0B_2_Ch1 - db CH5 - dw SFX_Cry0B_2_Ch2 - db CH7 - dw SFX_Cry0B_2_Ch3 - -SFX_Cry0C_2:: ; 200a8 (8:40a8) - db ( $80 | CH4 ) - dw SFX_Cry0C_2_Ch1 - db CH5 - dw SFX_Cry0C_2_Ch2 - db CH7 - dw SFX_Cry0C_2_Ch3 - -SFX_Cry0D_2:: ; 200b1 (8:40b1) - db ( $80 | CH4 ) - dw SFX_Cry0D_2_Ch1 - db CH5 - dw SFX_Cry0D_2_Ch2 - db CH7 - dw SFX_Cry0D_2_Ch3 - -SFX_Cry0E_2:: ; 200ba (8:40ba) - db ( $80 | CH4 ) - dw SFX_Cry0E_2_Ch1 - db CH5 - dw SFX_Cry0E_2_Ch2 - db CH7 - dw SFX_Cry0E_2_Ch3 - -SFX_Cry0F_2:: ; 200c3 (8:40c3) - db ( $80 | CH4 ) - dw SFX_Cry0F_2_Ch1 - db CH5 - dw SFX_Cry0F_2_Ch2 - db CH7 - dw SFX_Cry0F_2_Ch3 - -SFX_Cry10_2:: ; 200cc (8:40cc) - db ( $80 | CH4 ) - dw SFX_Cry10_2_Ch1 - db CH5 - dw SFX_Cry10_2_Ch2 - db CH7 - dw SFX_Cry10_2_Ch3 - -SFX_Cry11_2:: ; 200d5 (8:40d5) - db ( $80 | CH4 ) - dw SFX_Cry11_2_Ch1 - db CH5 - dw SFX_Cry11_2_Ch2 - db CH7 - dw SFX_Cry11_2_Ch3 - -SFX_Cry12_2:: ; 200de (8:40de) - db ( $80 | CH4 ) - dw SFX_Cry12_2_Ch1 - db CH5 - dw SFX_Cry12_2_Ch2 - db CH7 - dw SFX_Cry12_2_Ch3 - -SFX_Cry13_2:: ; 200e7 (8:40e7) - db ( $80 | CH4 ) - dw SFX_Cry13_2_Ch1 - db CH5 - dw SFX_Cry13_2_Ch2 - db CH7 - dw SFX_Cry13_2_Ch3 - -SFX_Cry14_2:: ; 200f0 (8:40f0) - db ( $80 | CH4 ) - dw SFX_Cry14_2_Ch1 - db CH5 - dw SFX_Cry14_2_Ch2 - db CH7 - dw SFX_Cry14_2_Ch3 - -SFX_Cry15_2:: ; 200f9 (8:40f9) - db ( $80 | CH4 ) - dw SFX_Cry15_2_Ch1 - db CH5 - dw SFX_Cry15_2_Ch2 - db CH7 - dw SFX_Cry15_2_Ch3 - -SFX_Cry16_2:: ; 20102 (8:4102) - db ( $80 | CH4 ) - dw SFX_Cry16_2_Ch1 - db CH5 - dw SFX_Cry16_2_Ch2 - db CH7 - dw SFX_Cry16_2_Ch3 - -SFX_Cry17_2:: ; 2010b (8:410b) - db ( $80 | CH4 ) - dw SFX_Cry17_2_Ch1 - db CH5 - dw SFX_Cry17_2_Ch2 - db CH7 - dw SFX_Cry17_2_Ch3 - -SFX_Cry18_2:: ; 20114 (8:4114) - db ( $80 | CH4 ) - dw SFX_Cry18_2_Ch1 - db CH5 - dw SFX_Cry18_2_Ch2 - db CH7 - dw SFX_Cry18_2_Ch3 - -SFX_Cry19_2:: ; 2011d (8:411d) - db ( $80 | CH4 ) - dw SFX_Cry19_2_Ch1 - db CH5 - dw SFX_Cry19_2_Ch2 - db CH7 - dw SFX_Cry19_2_Ch3 - -SFX_Cry1A_2:: ; 20126 (8:4126) - db ( $80 | CH4 ) - dw SFX_Cry1A_2_Ch1 - db CH5 - dw SFX_Cry1A_2_Ch2 - db CH7 - dw SFX_Cry1A_2_Ch3 - -SFX_Cry1B_2:: ; 2012f (8:412f) - db ( $80 | CH4 ) - dw SFX_Cry1B_2_Ch1 - db CH5 - dw SFX_Cry1B_2_Ch2 - db CH7 - dw SFX_Cry1B_2_Ch3 - -SFX_Cry1C_2:: ; 20138 (8:4138) - db ( $80 | CH4 ) - dw SFX_Cry1C_2_Ch1 - db CH5 - dw SFX_Cry1C_2_Ch2 - db CH7 - dw SFX_Cry1C_2_Ch3 - -SFX_Cry1D_2:: ; 20141 (8:4141) - db ( $80 | CH4 ) - dw SFX_Cry1D_2_Ch1 - db CH5 - dw SFX_Cry1D_2_Ch2 - db CH7 - dw SFX_Cry1D_2_Ch3 - -SFX_Cry1E_2:: ; 2014a (8:414a) - db ( $80 | CH4 ) - dw SFX_Cry1E_2_Ch1 - db CH5 - dw SFX_Cry1E_2_Ch2 - db CH7 - dw SFX_Cry1E_2_Ch3 - -SFX_Cry1F_2:: ; 20153 (8:4153) - db ( $80 | CH4 ) - dw SFX_Cry1F_2_Ch1 - db CH5 - dw SFX_Cry1F_2_Ch2 - db CH7 - dw SFX_Cry1F_2_Ch3 - -SFX_Cry20_2:: ; 2015c (8:415c) - db ( $80 | CH4 ) - dw SFX_Cry20_2_Ch1 - db CH5 - dw SFX_Cry20_2_Ch2 - db CH7 - dw SFX_Cry20_2_Ch3 - -SFX_Cry21_2:: ; 20165 (8:4165) - db ( $80 | CH4 ) - dw SFX_Cry21_2_Ch1 - db CH5 - dw SFX_Cry21_2_Ch2 - db CH7 - dw SFX_Cry21_2_Ch3 - -SFX_Cry22_2:: ; 2016e (8:416e) - db ( $80 | CH4 ) - dw SFX_Cry22_2_Ch1 - db CH5 - dw SFX_Cry22_2_Ch2 - db CH7 - dw SFX_Cry22_2_Ch3 - -SFX_Cry23_2:: ; 20177 (8:4177) - db ( $80 | CH4 ) - dw SFX_Cry23_2_Ch1 - db CH5 - dw SFX_Cry23_2_Ch2 - db CH7 - dw SFX_Cry23_2_Ch3 - -SFX_Cry24_2:: ; 20180 (8:4180) - db ( $80 | CH4 ) - dw SFX_Cry24_2_Ch1 - db CH5 - dw SFX_Cry24_2_Ch2 - db CH7 - dw SFX_Cry24_2_Ch3 - -SFX_Cry25_2:: ; 20189 (8:4189) - db ( $80 | CH4 ) - dw SFX_Cry25_2_Ch1 - db CH5 - dw SFX_Cry25_2_Ch2 - db CH7 - dw SFX_Cry25_2_Ch3 - -SFX_Level_Up:: ; 20192 (8:4192) - db ( $80 | CH4 ) - dw SFX_Level_Up_Ch1 - db CH5 - dw SFX_Level_Up_Ch2 - db CH6 - dw SFX_Level_Up_Ch3 - -SFX_Get_Item2_2:: ; 2019b (8:419b) - db ( $80 | CH4 ) - dw SFX_Get_Item2_2_Ch1 - db CH5 - dw SFX_Get_Item2_2_Ch2 - db CH6 - dw SFX_Get_Item2_2_Ch3 - -SFX_Tink_2:: ; 201a4 (8:41a4) - db CH4 - dw SFX_Tink_2_Ch1 - -SFX_Heal_HP_2:: ; 201a7 (8:41a7) - db CH4 - dw SFX_Heal_HP_2_Ch1 - -SFX_Heal_Ailment_2:: ; 201aa (8:41aa) - db CH4 - dw SFX_Heal_Ailment_2_Ch1 - -SFX_Start_Menu_2:: ; 201ad (8:41ad) - db CH7 - dw SFX_Start_Menu_2_Ch1 - -SFX_Press_AB_2:: ; 201b0 (8:41b0) - db CH4 - dw SFX_Press_AB_2_Ch1 - -SFX_Ball_Toss:: ; 201b3 (8:41b3) - db ( $40 | CH4 ) - dw SFX_Ball_Toss_Ch1 - db CH5 - dw SFX_Ball_Toss_Ch2 - -SFX_Ball_Poof:: ; 201b9 (8:41b9) - db ( $40 | CH4 ) - dw SFX_Ball_Poof_Ch1 - db CH7 - dw SFX_Ball_Poof_Ch2 - -SFX_Faint_Thud:: ; 201bf (8:41bf) - db ( $40 | CH4 ) - dw SFX_Faint_Thud_Ch1 - db CH7 - dw SFX_Faint_Thud_Ch2 - -SFX_Run:: ; 201c5 (8:41c5) - db CH7 - dw SFX_Run_Ch1 - -SFX_Dex_Page_Added:: ; 201c8 (8:41c8) - db ( $40 | CH4 ) - dw SFX_Dex_Page_Added_Ch1 - db CH5 - dw SFX_Dex_Page_Added_Ch2 - -SFX_Caught_Mon:: ; 201ce (8:41ce) - db ( $80 | CH4 ) - dw SFX_Caught_Mon_Ch1 - db CH5 - dw SFX_Caught_Mon_Ch2 - db CH6 - dw SFX_Caught_Mon_Ch3 - -SFX_Peck:: ; 201d7 (8:41d7) - db CH7 - dw SFX_Peck_Ch1 - -SFX_Faint_Fall:: ; 201da (8:41da) - db CH4 - dw SFX_Faint_Fall_Ch1 - -SFX_Battle_09:: ; 201dd (8:41dd) - db CH4 - dw SFX_Battle_09_Ch1 - -SFX_Pound:: ; 201e0 (8:41e0) - db CH7 - dw SFX_Pound_Ch1 - -SFX_Battle_0B:: ; 201e3 (8:41e3) - db CH7 - dw SFX_Battle_0B_Ch1 - -SFX_Battle_0C:: ; 201e6 (8:41e6) - db CH7 - dw SFX_Battle_0C_Ch1 - -SFX_Battle_0D:: ; 201e9 (8:41e9) - db CH7 - dw SFX_Battle_0D_Ch1 - -SFX_Battle_0E:: ; 201ec (8:41ec) - db CH7 - dw SFX_Battle_0E_Ch1 - -SFX_Battle_0F:: ; 201ef (8:41ef) - db CH7 - dw SFX_Battle_0F_Ch1 - -SFX_Damage:: ; 201f2 (8:41f2) - db CH7 - dw SFX_Damage_Ch1 - -SFX_Not_Very_Effective:: ; 201f5 (8:41f5) - db CH7 - dw SFX_Not_Very_Effective_Ch1 - -SFX_Battle_12:: ; 201f8 (8:41f8) - db CH7 - dw SFX_Battle_12_Ch1 - -SFX_Battle_13:: ; 201fb (8:41fb) - db CH7 - dw SFX_Battle_13_Ch1 - -SFX_Battle_14:: ; 201fe (8:41fe) - db CH7 - dw SFX_Battle_14_Ch1 - -SFX_Vine_Whip:: ; 20201 (8:4201) - db CH7 - dw SFX_Vine_Whip_Ch1 - -SFX_Battle_16:: ; 20204 (8:4204) - db CH7 - dw SFX_Battle_16_Ch1 - -SFX_Battle_17:: ; 20207 (8:4207) - db CH7 - dw SFX_Battle_17_Ch1 - -SFX_Battle_18:: ; 2020a (8:420a) - db CH7 - dw SFX_Battle_18_Ch1 - -SFX_Battle_19:: ; 2020d (8:420d) - db CH7 - dw SFX_Battle_19_Ch1 - -SFX_Super_Effective:: ; 20210 (8:4210) - db CH7 - dw SFX_Super_Effective_Ch1 - -SFX_Battle_1B:: ; 20213 (8:4213) - db CH7 - dw SFX_Battle_1B_Ch1 - -SFX_Battle_1C:: ; 20216 (8:4216) - db CH7 - dw SFX_Battle_1C_Ch1 - -SFX_Doubleslap:: ; 20219 (8:4219) - db CH7 - dw SFX_Doubleslap_Ch1 - -SFX_Battle_1E:: ; 2021c (8:421c) - db ( $40 | CH4 ) - dw SFX_Battle_1E_Ch1 - db CH7 - dw SFX_Battle_1E_Ch2 - -SFX_Horn_Drill:: ; 20222 (8:4222) - db CH7 - dw SFX_Horn_Drill_Ch1 - -SFX_Battle_20:: ; 20225 (8:4225) - db CH7 - dw SFX_Battle_20_Ch1 - -SFX_Battle_21:: ; 20228 (8:4228) - db CH7 - dw SFX_Battle_21_Ch1 - -SFX_Battle_22:: ; 2022b (8:422b) - db CH7 - dw SFX_Battle_22_Ch1 - -SFX_Battle_23:: ; 2022e (8:422e) - db CH7 - dw SFX_Battle_23_Ch1 - -SFX_Battle_24:: ; 20231 (8:4231) - db ( $40 | CH4 ) - dw SFX_Battle_24_Ch1 - db CH7 - dw SFX_Battle_24_Ch2 - -SFX_Battle_25:: ; 20237 (8:4237) - db CH7 - dw SFX_Battle_25_Ch1 - -SFX_Battle_26:: ; 2023a (8:423a) - db CH7 - dw SFX_Battle_26_Ch1 - -SFX_Battle_27:: ; 2023d (8:423d) - db ( $80 | CH4 ) - dw SFX_Battle_27_Ch1 - db CH5 - dw SFX_Battle_27_Ch2 - db CH7 - dw SFX_Battle_27_Ch3 - -SFX_Battle_28:: ; 20246 (8:4246) - db ( $80 | CH4 ) - dw SFX_Battle_28_Ch1 - db CH5 - dw SFX_Battle_28_Ch2 - db CH7 - dw SFX_Battle_28_Ch3 - -SFX_Battle_29:: ; 2024f (8:424f) - db ( $40 | CH4 ) - dw SFX_Battle_29_Ch1 - db CH7 - dw SFX_Battle_29_Ch2 - -SFX_Battle_2A:: ; 20255 (8:4255) - db ( $80 | CH4 ) - dw SFX_Battle_2A_Ch1 - db CH5 - dw SFX_Battle_2A_Ch2 - db CH7 - dw SFX_Battle_2A_Ch3 - -SFX_Battle_2B:: ; 2025e (8:425e) - db ( $40 | CH4 ) - dw SFX_Battle_2B_Ch1 - db CH7 - dw SFX_Battle_2B_Ch2 - -SFX_Battle_2C:: ; 20264 (8:4264) - db ( $80 | CH4 ) - dw SFX_Battle_2C_Ch1 - db CH5 - dw SFX_Battle_2C_Ch2 - db CH7 - dw SFX_Battle_2C_Ch3 - -SFX_Psybeam:: ; 2026d (8:426d) - db ( $80 | CH4 ) - dw SFX_Psybeam_Ch1 - db CH5 - dw SFX_Psybeam_Ch2 - db CH7 - dw SFX_Psybeam_Ch3 - -SFX_Battle_2E:: ; 20276 (8:4276) - db ( $80 | CH4 ) - dw SFX_Battle_2E_Ch1 - db CH5 - dw SFX_Battle_2E_Ch2 - db CH7 - dw SFX_Battle_2E_Ch3 - -SFX_Battle_2F:: ; 2027f (8:427f) - db ( $80 | CH4 ) - dw SFX_Battle_2F_Ch1 - db CH5 - dw SFX_Battle_2F_Ch2 - db CH7 - dw SFX_Battle_2F_Ch3 - -SFX_Psychic_M:: ; 20288 (8:4288) - db ( $80 | CH4 ) - dw SFX_Psychic_M_Ch1 - db CH5 - dw SFX_Psychic_M_Ch2 - db CH7 - dw SFX_Psychic_M_Ch3 - -SFX_Battle_31:: ; 20291 (8:4291) - db ( $40 | CH4 ) - dw SFX_Battle_31_Ch1 - db CH5 - dw SFX_Battle_31_Ch2 - -SFX_Battle_32:: ; 20297 (8:4297) - db ( $40 | CH4 ) - dw SFX_Battle_32_Ch1 - db CH5 - dw SFX_Battle_32_Ch2 - -SFX_Battle_33:: ; 2029d (8:429d) - db ( $40 | CH4 ) - dw SFX_Battle_33_Ch1 - db CH5 - dw SFX_Battle_33_Ch2 - -SFX_Battle_34:: ; 202a3 (8:42a3) - db ( $80 | CH4 ) - dw SFX_Battle_34_Ch1 - db CH5 - dw SFX_Battle_34_Ch2 - db CH7 - dw SFX_Battle_34_Ch3 - -SFX_Battle_35:: ; 202ac (8:42ac) - db ( $40 | CH4 ) - dw SFX_Battle_35_Ch1 - db CH5 - dw SFX_Battle_35_Ch2 - -SFX_Battle_36:: ; 202b2 (8:42b2) - db ( $80 | CH4 ) - dw SFX_Battle_36_Ch1 - db CH5 - dw SFX_Battle_36_Ch2 - db CH7 - dw SFX_Battle_36_Ch3 - -SFX_Silph_Scope:: ; 202bb (8:42bb) - db CH4 - dw SFX_Silph_Scope_Ch1 diff --git a/audio/headers/sfxheaders1.asm b/audio/headers/sfxheaders1.asm new file mode 100644 index 00000000..49370aa4 --- /dev/null +++ b/audio/headers/sfxheaders1.asm @@ -0,0 +1,562 @@ +SFX_Headers_1:: + db $ff, $ff, $ff ; padding + +SFX_Snare1_1:: ; 8003 (2:4003) + db CH7 + dw SFX_Snare1_1_Ch1 + +SFX_Snare2_1:: ; 8006 (2:4006) + db CH7 + dw SFX_Snare2_1_Ch1 + +SFX_Snare3_1:: ; 8009 (2:4009) + db CH7 + dw SFX_Snare3_1_Ch1 + +SFX_Snare4_1:: ; 800c (2:400c) + db CH7 + dw SFX_Snare4_1_Ch1 + +SFX_Snare5_1:: ; 800f (2:400f) + db CH7 + dw SFX_Snare5_1_Ch1 + +SFX_Triangle1_1:: ; 8012 (2:4012) + db CH7 + dw SFX_Triangle1_1_Ch1 + +SFX_Triangle2_1:: ; 8015 (2:4015) + db CH7 + dw SFX_Triangle2_1_Ch1 + +SFX_Snare6_1:: ; 8018 (2:4018) + db CH7 + dw SFX_Snare6_1_Ch1 + +SFX_Snare7_1:: ; 801b (2:401b) + db CH7 + dw SFX_Snare7_1_Ch1 + +SFX_Snare8_1:: ; 801e (2:401e) + db CH7 + dw SFX_Snare8_1_Ch1 + +SFX_Snare9_1:: ; 8021 (2:4021) + db CH7 + dw SFX_Snare9_1_Ch1 + +SFX_Cymbal1_1:: ; 8024 (2:4024) + db CH7 + dw SFX_Cymbal1_1_Ch1 + +SFX_Cymbal2_1:: ; 8027 (2:4027) + db CH7 + dw SFX_Cymbal2_1_Ch1 + +SFX_Cymbal3_1:: ; 802a (2:402a) + db CH7 + dw SFX_Cymbal3_1_Ch1 + +SFX_Muted_Snare1_1:: ; 802d (2:402d) + db CH7 + dw SFX_Muted_Snare1_1_Ch1 + +SFX_Triangle3_1:: ; 8030 (2:4030) + db CH7 + dw SFX_Triangle3_1_Ch1 + +SFX_Muted_Snare2_1:: ; 8033 (2:4033) + db CH7 + dw SFX_Muted_Snare2_1_Ch1 + +SFX_Muted_Snare3_1:: ; 8036 (2:4036) + db CH7 + dw SFX_Muted_Snare3_1_Ch1 + +SFX_Muted_Snare4_1:: ; 8039 (2:4039) + db CH7 + dw SFX_Muted_Snare4_1_Ch1 + +SFX_Cry00_1:: ; 803c (2:403c) + db ( $80 | CH4 ) + dw SFX_Cry00_1_Ch1 + db CH5 + dw SFX_Cry00_1_Ch2 + db CH7 + dw SFX_Cry00_1_Ch3 + +SFX_Cry01_1:: ; 8045 (2:4045) + db ( $80 | CH4 ) + dw SFX_Cry01_1_Ch1 + db CH5 + dw SFX_Cry01_1_Ch2 + db CH7 + dw SFX_Cry01_1_Ch3 + +SFX_Cry02_1:: ; 804e (2:404e) + db ( $80 | CH4 ) + dw SFX_Cry02_1_Ch1 + db CH5 + dw SFX_Cry02_1_Ch2 + db CH7 + dw SFX_Cry02_1_Ch3 + +SFX_Cry03_1:: ; 8057 (2:4057) + db ( $80 | CH4 ) + dw SFX_Cry03_1_Ch1 + db CH5 + dw SFX_Cry03_1_Ch2 + db CH7 + dw SFX_Cry03_1_Ch3 + +SFX_Cry04_1:: ; 8060 (2:4060) + db ( $80 | CH4 ) + dw SFX_Cry04_1_Ch1 + db CH5 + dw SFX_Cry04_1_Ch2 + db CH7 + dw SFX_Cry04_1_Ch3 + +SFX_Cry05_1:: ; 8069 (2:4069) + db ( $80 | CH4 ) + dw SFX_Cry05_1_Ch1 + db CH5 + dw SFX_Cry05_1_Ch2 + db CH7 + dw SFX_Cry05_1_Ch3 + +SFX_Cry06_1:: ; 8072 (2:4072) + db ( $80 | CH4 ) + dw SFX_Cry06_1_Ch1 + db CH5 + dw SFX_Cry06_1_Ch2 + db CH7 + dw SFX_Cry06_1_Ch3 + +SFX_Cry07_1:: ; 807b (2:407b) + db ( $80 | CH4 ) + dw SFX_Cry07_1_Ch1 + db CH5 + dw SFX_Cry07_1_Ch2 + db CH7 + dw SFX_Cry07_1_Ch3 + +SFX_Cry08_1:: ; 8084 (2:4084) + db ( $80 | CH4 ) + dw SFX_Cry08_1_Ch1 + db CH5 + dw SFX_Cry08_1_Ch2 + db CH7 + dw SFX_Cry08_1_Ch3 + +SFX_Cry09_1:: ; 808d (2:408d) + db ( $80 | CH4 ) + dw SFX_Cry09_1_Ch1 + db CH5 + dw SFX_Cry09_1_Ch2 + db CH7 + dw SFX_Cry09_1_Ch3 + +SFX_Cry0A_1:: ; 8096 (2:4096) + db ( $80 | CH4 ) + dw SFX_Cry0A_1_Ch1 + db CH5 + dw SFX_Cry0A_1_Ch2 + db CH7 + dw SFX_Cry0A_1_Ch3 + +SFX_Cry0B_1:: ; 809f (2:409f) + db ( $80 | CH4 ) + dw SFX_Cry0B_1_Ch1 + db CH5 + dw SFX_Cry0B_1_Ch2 + db CH7 + dw SFX_Cry0B_1_Ch3 + +SFX_Cry0C_1:: ; 80a8 (2:40a8) + db ( $80 | CH4 ) + dw SFX_Cry0C_1_Ch1 + db CH5 + dw SFX_Cry0C_1_Ch2 + db CH7 + dw SFX_Cry0C_1_Ch3 + +SFX_Cry0D_1:: ; 80b1 (2:40b1) + db ( $80 | CH4 ) + dw SFX_Cry0D_1_Ch1 + db CH5 + dw SFX_Cry0D_1_Ch2 + db CH7 + dw SFX_Cry0D_1_Ch3 + +SFX_Cry0E_1:: ; 80ba (2:40ba) + db ( $80 | CH4 ) + dw SFX_Cry0E_1_Ch1 + db CH5 + dw SFX_Cry0E_1_Ch2 + db CH7 + dw SFX_Cry0E_1_Ch3 + +SFX_Cry0F_1:: ; 80c3 (2:40c3) + db ( $80 | CH4 ) + dw SFX_Cry0F_1_Ch1 + db CH5 + dw SFX_Cry0F_1_Ch2 + db CH7 + dw SFX_Cry0F_1_Ch3 + +SFX_Cry10_1:: ; 80cc (2:40cc) + db ( $80 | CH4 ) + dw SFX_Cry10_1_Ch1 + db CH5 + dw SFX_Cry10_1_Ch2 + db CH7 + dw SFX_Cry10_1_Ch3 + +SFX_Cry11_1:: ; 80d5 (2:40d5) + db ( $80 | CH4 ) + dw SFX_Cry11_1_Ch1 + db CH5 + dw SFX_Cry11_1_Ch2 + db CH7 + dw SFX_Cry11_1_Ch3 + +SFX_Cry12_1:: ; 80de (2:40de) + db ( $80 | CH4 ) + dw SFX_Cry12_1_Ch1 + db CH5 + dw SFX_Cry12_1_Ch2 + db CH7 + dw SFX_Cry12_1_Ch3 + +SFX_Cry13_1:: ; 80e7 (2:40e7) + db ( $80 | CH4 ) + dw SFX_Cry13_1_Ch1 + db CH5 + dw SFX_Cry13_1_Ch2 + db CH7 + dw SFX_Cry13_1_Ch3 + +SFX_Cry14_1:: ; 80f0 (2:40f0) + db ( $80 | CH4 ) + dw SFX_Cry14_1_Ch1 + db CH5 + dw SFX_Cry14_1_Ch2 + db CH7 + dw SFX_Cry14_1_Ch3 + +SFX_Cry15_1:: ; 80f9 (2:40f9) + db ( $80 | CH4 ) + dw SFX_Cry15_1_Ch1 + db CH5 + dw SFX_Cry15_1_Ch2 + db CH7 + dw SFX_Cry15_1_Ch3 + +SFX_Cry16_1:: ; 8102 (2:4102) + db ( $80 | CH4 ) + dw SFX_Cry16_1_Ch1 + db CH5 + dw SFX_Cry16_1_Ch2 + db CH7 + dw SFX_Cry16_1_Ch3 + +SFX_Cry17_1:: ; 810b (2:410b) + db ( $80 | CH4 ) + dw SFX_Cry17_1_Ch1 + db CH5 + dw SFX_Cry17_1_Ch2 + db CH7 + dw SFX_Cry17_1_Ch3 + +SFX_Cry18_1:: ; 8114 (2:4114) + db ( $80 | CH4 ) + dw SFX_Cry18_1_Ch1 + db CH5 + dw SFX_Cry18_1_Ch2 + db CH7 + dw SFX_Cry18_1_Ch3 + +SFX_Cry19_1:: ; 811d (2:411d) + db ( $80 | CH4 ) + dw SFX_Cry19_1_Ch1 + db CH5 + dw SFX_Cry19_1_Ch2 + db CH7 + dw SFX_Cry19_1_Ch3 + +SFX_Cry1A_1:: ; 8126 (2:4126) + db ( $80 | CH4 ) + dw SFX_Cry1A_1_Ch1 + db CH5 + dw SFX_Cry1A_1_Ch2 + db CH7 + dw SFX_Cry1A_1_Ch3 + +SFX_Cry1B_1:: ; 812f (2:412f) + db ( $80 | CH4 ) + dw SFX_Cry1B_1_Ch1 + db CH5 + dw SFX_Cry1B_1_Ch2 + db CH7 + dw SFX_Cry1B_1_Ch3 + +SFX_Cry1C_1:: ; 8138 (2:4138) + db ( $80 | CH4 ) + dw SFX_Cry1C_1_Ch1 + db CH5 + dw SFX_Cry1C_1_Ch2 + db CH7 + dw SFX_Cry1C_1_Ch3 + +SFX_Cry1D_1:: ; 8141 (2:4141) + db ( $80 | CH4 ) + dw SFX_Cry1D_1_Ch1 + db CH5 + dw SFX_Cry1D_1_Ch2 + db CH7 + dw SFX_Cry1D_1_Ch3 + +SFX_Cry1E_1:: ; 814a (2:414a) + db ( $80 | CH4 ) + dw SFX_Cry1E_1_Ch1 + db CH5 + dw SFX_Cry1E_1_Ch2 + db CH7 + dw SFX_Cry1E_1_Ch3 + +SFX_Cry1F_1:: ; 8153 (2:4153) + db ( $80 | CH4 ) + dw SFX_Cry1F_1_Ch1 + db CH5 + dw SFX_Cry1F_1_Ch2 + db CH7 + dw SFX_Cry1F_1_Ch3 + +SFX_Cry20_1:: ; 815c (2:415c) + db ( $80 | CH4 ) + dw SFX_Cry20_1_Ch1 + db CH5 + dw SFX_Cry20_1_Ch2 + db CH7 + dw SFX_Cry20_1_Ch3 + +SFX_Cry21_1:: ; 8165 (2:4165) + db ( $80 | CH4 ) + dw SFX_Cry21_1_Ch1 + db CH5 + dw SFX_Cry21_1_Ch2 + db CH7 + dw SFX_Cry21_1_Ch3 + +SFX_Cry22_1:: ; 816e (2:416e) + db ( $80 | CH4 ) + dw SFX_Cry22_1_Ch1 + db CH5 + dw SFX_Cry22_1_Ch2 + db CH7 + dw SFX_Cry22_1_Ch3 + +SFX_Cry23_1:: ; 8177 (2:4177) + db ( $80 | CH4 ) + dw SFX_Cry23_1_Ch1 + db CH5 + dw SFX_Cry23_1_Ch2 + db CH7 + dw SFX_Cry23_1_Ch3 + +SFX_Cry24_1:: ; 8180 (2:4180) + db ( $80 | CH4 ) + dw SFX_Cry24_1_Ch1 + db CH5 + dw SFX_Cry24_1_Ch2 + db CH7 + dw SFX_Cry24_1_Ch3 + +SFX_Cry25_1:: ; 8189 (2:4189) + db ( $80 | CH4 ) + dw SFX_Cry25_1_Ch1 + db CH5 + dw SFX_Cry25_1_Ch2 + db CH7 + dw SFX_Cry25_1_Ch3 + +SFX_Get_Item1_1:: ; 8192 (2:4192) + db ( $80 | CH4 ) + dw SFX_Get_Item1_1_Ch1 + db CH5 + dw SFX_Get_Item1_1_Ch2 + db CH6 + dw SFX_Get_Item1_1_Ch3 + +SFX_Get_Item2_1:: ; 819b (2:419b) + db ( $80 | CH4 ) + dw SFX_Get_Item2_1_Ch1 + db CH5 + dw SFX_Get_Item2_1_Ch2 + db CH6 + dw SFX_Get_Item2_1_Ch3 + +SFX_Tink_1:: ; 81a4 (2:41a4) + db CH4 + dw SFX_Tink_1_Ch1 + +SFX_Heal_HP_1:: ; 81a7 (2:41a7) + db CH4 + dw SFX_Heal_HP_1_Ch1 + +SFX_Heal_Ailment_1:: ; 81aa (2:41aa) + db CH4 + dw SFX_Heal_Ailment_1_Ch1 + +SFX_Start_Menu_1:: ; 81ad (2:41ad) + db CH7 + dw SFX_Start_Menu_1_Ch1 + +SFX_Press_AB_1:: ; 81b0 (2:41b0) + db CH4 + dw SFX_Press_AB_1_Ch1 + +SFX_Pokedex_Rating_1:: ; 81b3 (2:41b3) + db ( $80 | CH4 ) + dw SFX_Pokedex_Rating_1_Ch1 + db CH5 + dw SFX_Pokedex_Rating_1_Ch2 + db CH6 + dw SFX_Pokedex_Rating_1_Ch3 + +SFX_Get_Key_Item_1:: ; 81bc (2:41bc) + db ( $80 | CH4 ) + dw SFX_Get_Key_Item_1_Ch1 + db CH5 + dw SFX_Get_Key_Item_1_Ch2 + db CH6 + dw SFX_Get_Key_Item_1_Ch3 + +SFX_Poisoned_1:: ; 81c5 (2:41c5) + db CH4 + dw SFX_Poisoned_1_Ch1 + +SFX_Trade_Machine_1:: ; 81c8 (2:41c8) + db CH4 + dw SFX_Trade_Machine_1_Ch1 + +SFX_Turn_On_PC_1:: ; 81cb (2:41cb) + db CH4 + dw SFX_Turn_On_PC_1_Ch1 + +SFX_Turn_Off_PC_1:: ; 81ce (2:41ce) + db CH4 + dw SFX_Turn_Off_PC_1_Ch1 + +SFX_Enter_PC_1:: ; 81d1 (2:41d1) + db CH4 + dw SFX_Enter_PC_1_Ch1 + +SFX_Shrink_1:: ; 81d4 (2:41d4) + db CH4 + dw SFX_Shrink_1_Ch1 + +SFX_Switch_1:: ; 81d7 (2:41d7) + db CH4 + dw SFX_Switch_1_Ch1 + +SFX_Healing_Machine_1:: ; 81da (2:41da) + db CH4 + dw SFX_Healing_Machine_1_Ch1 + +SFX_Teleport_Exit1_1:: ; 81dd (2:41dd) + db CH4 + dw SFX_Teleport_Exit1_1_Ch1 + +SFX_Teleport_Enter1_1:: ; 81e0 (2:41e0) + db CH4 + dw SFX_Teleport_Enter1_1_Ch1 + +SFX_Teleport_Exit2_1:: ; 81e3 (2:41e3) + db CH4 + dw SFX_Teleport_Exit2_1_Ch1 + +SFX_Ledge_1:: ; 81e6 (2:41e6) + db CH4 + dw SFX_Ledge_1_Ch1 + +SFX_Teleport_Enter2_1:: ; 81e9 (2:41e9) + db CH7 + dw SFX_Teleport_Enter2_1_Ch1 + +SFX_Fly_1:: ; 81ec (2:41ec) + db CH7 + dw SFX_Fly_1_Ch1 + +SFX_Denied_1:: ; 81ef (2:41ef) + db ( $40 | CH4 ) + dw SFX_Denied_1_Ch1 + db CH5 + dw SFX_Denied_1_Ch2 + +SFX_Arrow_Tiles_1:: ; 81f5 (2:41f5) + db CH4 + dw SFX_Arrow_Tiles_1_Ch1 + +SFX_Push_Boulder_1:: ; 81f8 (2:41f8) + db CH7 + dw SFX_Push_Boulder_1_Ch1 + +SFX_SS_Anne_Horn_1:: ; 81fb (2:41fb) + db ( $40 | CH4 ) + dw SFX_SS_Anne_Horn_1_Ch1 + db CH5 + dw SFX_SS_Anne_Horn_1_Ch2 + +SFX_Withdraw_Deposit_1:: ; 8201 (2:4201) + db CH4 + dw SFX_Withdraw_Deposit_1_Ch1 + +SFX_Cut_1:: ; 8204 (2:4204) + db CH7 + dw SFX_Cut_1_Ch1 + +SFX_Go_Inside_1:: ; 8207 (2:4207) + db CH7 + dw SFX_Go_Inside_1_Ch1 + +SFX_Swap_1:: ; 820a (2:420a) + db ( $40 | CH4 ) + dw SFX_Swap_1_Ch1 + db CH5 + dw SFX_Swap_1_Ch2 + +SFX_59_1:: ; 8210 (2:4210) + db ( $40 | CH4 ) + dw SFX_59_1_Ch1 + db CH5 + dw SFX_59_1_Ch2 + +SFX_Purchase_1:: ; 8216 (2:4216) + db ( $40 | CH4 ) + dw SFX_Purchase_1_Ch1 + db CH5 + dw SFX_Purchase_1_Ch2 + +SFX_Collision_1:: ; 821c (2:421c) + db CH4 + dw SFX_Collision_1_Ch1 + +SFX_Go_Outside_1:: ; 821f (2:421f) + db CH7 + dw SFX_Go_Outside_1_Ch1 + +SFX_Save_1:: ; 8222 (2:4222) + db ( $40 | CH4 ) + dw SFX_Save_1_Ch1 + db CH5 + dw SFX_Save_1_Ch2 + +SFX_Pokeflute:: ; 8228 (2:4228) + db CH2 + dw SFX_Pokeflute_Ch1 + +SFX_Safari_Zone_PA:: ; 822b (2:422b) + db CH4 + dw SFX_Safari_Zone_PA_Ch1 diff --git a/audio/headers/sfxheaders1f.asm b/audio/headers/sfxheaders1f.asm deleted file mode 100644 index 7af4755f..00000000 --- a/audio/headers/sfxheaders1f.asm +++ /dev/null @@ -1,596 +0,0 @@ -SFX_Headers_1f:: - db $ff, $ff, $ff ; padding - -SFX_Snare1_3:: ; 7c003 (1f:4003) - db CH7 - dw SFX_Snare1_3_Ch1 - -SFX_Snare2_3:: ; 7c006 (1f:4006) - db CH7 - dw SFX_Snare2_3_Ch1 - -SFX_Snare3_3:: ; 7c009 (1f:4009) - db CH7 - dw SFX_Snare3_3_Ch1 - -SFX_Snare4_3:: ; 7c00c (1f:400c) - db CH7 - dw SFX_Snare4_3_Ch1 - -SFX_Snare5_3:: ; 7c00f (1f:400f) - db CH7 - dw SFX_Snare5_3_Ch1 - -SFX_Triangle1_3:: ; 7c012 (1f:4012) - db CH7 - dw SFX_Triangle1_3_Ch1 - -SFX_Triangle2_3:: ; 7c015 (1f:4015) - db CH7 - dw SFX_Triangle2_3_Ch1 - -SFX_Snare6_3:: ; 7c018 (1f:4018) - db CH7 - dw SFX_Snare6_3_Ch1 - -SFX_Snare7_3:: ; 7c01b (1f:401b) - db CH7 - dw SFX_Snare7_3_Ch1 - -SFX_Snare8_3:: ; 7c01e (1f:401e) - db CH7 - dw SFX_Snare8_3_Ch1 - -SFX_Snare9_3:: ; 7c021 (1f:4021) - db CH7 - dw SFX_Snare9_3_Ch1 - -SFX_Cymbal1_3:: ; 7c024 (1f:4024) - db CH7 - dw SFX_Cymbal1_3_Ch1 - -SFX_Cymbal2_3:: ; 7c027 (1f:4027) - db CH7 - dw SFX_Cymbal2_3_Ch1 - -SFX_Cymbal3_3:: ; 7c02a (1f:402a) - db CH7 - dw SFX_Cymbal3_3_Ch1 - -SFX_Muted_Snare1_3:: ; 7c02d (1f:402d) - db CH7 - dw SFX_Muted_Snare1_3_Ch1 - -SFX_Triangle3_3:: ; 7c030 (1f:4030) - db CH7 - dw SFX_Triangle3_3_Ch1 - -SFX_Muted_Snare2_3:: ; 7c033 (1f:4033) - db CH7 - dw SFX_Muted_Snare2_3_Ch1 - -SFX_Muted_Snare3_3:: ; 7c036 (1f:4036) - db CH7 - dw SFX_Muted_Snare3_3_Ch1 - -SFX_Muted_Snare4_3:: ; 7c039 (1f:4039) - db CH7 - dw SFX_Muted_Snare4_3_Ch1 - -SFX_Cry00_3:: ; 7c03c (1f:403c) - db ( $80 | CH4 ) - dw SFX_Cry00_3_Ch1 - db CH5 - dw SFX_Cry00_3_Ch2 - db CH7 - dw SFX_Cry00_3_Ch3 - -SFX_Cry01_3:: ; 7c045 (1f:4045) - db ( $80 | CH4 ) - dw SFX_Cry01_3_Ch1 - db CH5 - dw SFX_Cry01_3_Ch2 - db CH7 - dw SFX_Cry01_3_Ch3 - -SFX_Cry02_3:: ; 7c04e (1f:404e) - db ( $80 | CH4 ) - dw SFX_Cry02_3_Ch1 - db CH5 - dw SFX_Cry02_3_Ch2 - db CH7 - dw SFX_Cry02_3_Ch3 - -SFX_Cry03_3:: ; 7c057 (1f:4057) - db ( $80 | CH4 ) - dw SFX_Cry03_3_Ch1 - db CH5 - dw SFX_Cry03_3_Ch2 - db CH7 - dw SFX_Cry03_3_Ch3 - -SFX_Cry04_3:: ; 7c060 (1f:4060) - db ( $80 | CH4 ) - dw SFX_Cry04_3_Ch1 - db CH5 - dw SFX_Cry04_3_Ch2 - db CH7 - dw SFX_Cry04_3_Ch3 - -SFX_Cry05_3:: ; 7c069 (1f:4069) - db ( $80 | CH4 ) - dw SFX_Cry05_3_Ch1 - db CH5 - dw SFX_Cry05_3_Ch2 - db CH7 - dw SFX_Cry05_3_Ch3 - -SFX_Cry06_3:: ; 7c072 (1f:4072) - db ( $80 | CH4 ) - dw SFX_Cry06_3_Ch1 - db CH5 - dw SFX_Cry06_3_Ch2 - db CH7 - dw SFX_Cry06_3_Ch3 - -SFX_Cry07_3:: ; 7c07b (1f:407b) - db ( $80 | CH4 ) - dw SFX_Cry07_3_Ch1 - db CH5 - dw SFX_Cry07_3_Ch2 - db CH7 - dw SFX_Cry07_3_Ch3 - -SFX_Cry08_3:: ; 7c084 (1f:4084) - db ( $80 | CH4 ) - dw SFX_Cry08_3_Ch1 - db CH5 - dw SFX_Cry08_3_Ch2 - db CH7 - dw SFX_Cry08_3_Ch3 - -SFX_Cry09_3:: ; 7c08d (1f:408d) - db ( $80 | CH4 ) - dw SFX_Cry09_3_Ch1 - db CH5 - dw SFX_Cry09_3_Ch2 - db CH7 - dw SFX_Cry09_3_Ch3 - -SFX_Cry0A_3:: ; 7c096 (1f:4096) - db ( $80 | CH4 ) - dw SFX_Cry0A_3_Ch1 - db CH5 - dw SFX_Cry0A_3_Ch2 - db CH7 - dw SFX_Cry0A_3_Ch3 - -SFX_Cry0B_3:: ; 7c09f (1f:409f) - db ( $80 | CH4 ) - dw SFX_Cry0B_3_Ch1 - db CH5 - dw SFX_Cry0B_3_Ch2 - db CH7 - dw SFX_Cry0B_3_Ch3 - -SFX_Cry0C_3:: ; 7c0a8 (1f:40a8) - db ( $80 | CH4 ) - dw SFX_Cry0C_3_Ch1 - db CH5 - dw SFX_Cry0C_3_Ch2 - db CH7 - dw SFX_Cry0C_3_Ch3 - -SFX_Cry0D_3:: ; 7c0b1 (1f:40b1) - db ( $80 | CH4 ) - dw SFX_Cry0D_3_Ch1 - db CH5 - dw SFX_Cry0D_3_Ch2 - db CH7 - dw SFX_Cry0D_3_Ch3 - -SFX_Cry0E_3:: ; 7c0ba (1f:40ba) - db ( $80 | CH4 ) - dw SFX_Cry0E_3_Ch1 - db CH5 - dw SFX_Cry0E_3_Ch2 - db CH7 - dw SFX_Cry0E_3_Ch3 - -SFX_Cry0F_3:: ; 7c0c3 (1f:40c3) - db ( $80 | CH4 ) - dw SFX_Cry0F_3_Ch1 - db CH5 - dw SFX_Cry0F_3_Ch2 - db CH7 - dw SFX_Cry0F_3_Ch3 - -SFX_Cry10_3:: ; 7c0cc (1f:40cc) - db ( $80 | CH4 ) - dw SFX_Cry10_3_Ch1 - db CH5 - dw SFX_Cry10_3_Ch2 - db CH7 - dw SFX_Cry10_3_Ch3 - -SFX_Cry11_3:: ; 7c0d5 (1f:40d5) - db ( $80 | CH4 ) - dw SFX_Cry11_3_Ch1 - db CH5 - dw SFX_Cry11_3_Ch2 - db CH7 - dw SFX_Cry11_3_Ch3 - -SFX_Cry12_3:: ; 7c0de (1f:40de) - db ( $80 | CH4 ) - dw SFX_Cry12_3_Ch1 - db CH5 - dw SFX_Cry12_3_Ch2 - db CH7 - dw SFX_Cry12_3_Ch3 - -SFX_Cry13_3:: ; 7c0e7 (1f:40e7) - db ( $80 | CH4 ) - dw SFX_Cry13_3_Ch1 - db CH5 - dw SFX_Cry13_3_Ch2 - db CH7 - dw SFX_Cry13_3_Ch3 - -SFX_Cry14_3:: ; 7c0f0 (1f:40f0) - db ( $80 | CH4 ) - dw SFX_Cry14_3_Ch1 - db CH5 - dw SFX_Cry14_3_Ch2 - db CH7 - dw SFX_Cry14_3_Ch3 - -SFX_Cry15_3:: ; 7c0f9 (1f:40f9) - db ( $80 | CH4 ) - dw SFX_Cry15_3_Ch1 - db CH5 - dw SFX_Cry15_3_Ch2 - db CH7 - dw SFX_Cry15_3_Ch3 - -SFX_Cry16_3:: ; 7c102 (1f:4102) - db ( $80 | CH4 ) - dw SFX_Cry16_3_Ch1 - db CH5 - dw SFX_Cry16_3_Ch2 - db CH7 - dw SFX_Cry16_3_Ch3 - -SFX_Cry17_3:: ; 7c10b (1f:410b) - db ( $80 | CH4 ) - dw SFX_Cry17_3_Ch1 - db CH5 - dw SFX_Cry17_3_Ch2 - db CH7 - dw SFX_Cry17_3_Ch3 - -SFX_Cry18_3:: ; 7c114 (1f:4114) - db ( $80 | CH4 ) - dw SFX_Cry18_3_Ch1 - db CH5 - dw SFX_Cry18_3_Ch2 - db CH7 - dw SFX_Cry18_3_Ch3 - -SFX_Cry19_3:: ; 7c11d (1f:411d) - db ( $80 | CH4 ) - dw SFX_Cry19_3_Ch1 - db CH5 - dw SFX_Cry19_3_Ch2 - db CH7 - dw SFX_Cry19_3_Ch3 - -SFX_Cry1A_3:: ; 7c126 (1f:4126) - db ( $80 | CH4 ) - dw SFX_Cry1A_3_Ch1 - db CH5 - dw SFX_Cry1A_3_Ch2 - db CH7 - dw SFX_Cry1A_3_Ch3 - -SFX_Cry1B_3:: ; 7c12f (1f:412f) - db ( $80 | CH4 ) - dw SFX_Cry1B_3_Ch1 - db CH5 - dw SFX_Cry1B_3_Ch2 - db CH7 - dw SFX_Cry1B_3_Ch3 - -SFX_Cry1C_3:: ; 7c138 (1f:4138) - db ( $80 | CH4 ) - dw SFX_Cry1C_3_Ch1 - db CH5 - dw SFX_Cry1C_3_Ch2 - db CH7 - dw SFX_Cry1C_3_Ch3 - -SFX_Cry1D_3:: ; 7c141 (1f:4141) - db ( $80 | CH4 ) - dw SFX_Cry1D_3_Ch1 - db CH5 - dw SFX_Cry1D_3_Ch2 - db CH7 - dw SFX_Cry1D_3_Ch3 - -SFX_Cry1E_3:: ; 7c14a (1f:414a) - db ( $80 | CH4 ) - dw SFX_Cry1E_3_Ch1 - db CH5 - dw SFX_Cry1E_3_Ch2 - db CH7 - dw SFX_Cry1E_3_Ch3 - -SFX_Cry1F_3:: ; 7c153 (1f:4153) - db ( $80 | CH4 ) - dw SFX_Cry1F_3_Ch1 - db CH5 - dw SFX_Cry1F_3_Ch2 - db CH7 - dw SFX_Cry1F_3_Ch3 - -SFX_Cry20_3:: ; 7c15c (1f:415c) - db ( $80 | CH4 ) - dw SFX_Cry20_3_Ch1 - db CH5 - dw SFX_Cry20_3_Ch2 - db CH7 - dw SFX_Cry20_3_Ch3 - -SFX_Cry21_3:: ; 7c165 (1f:4165) - db ( $80 | CH4 ) - dw SFX_Cry21_3_Ch1 - db CH5 - dw SFX_Cry21_3_Ch2 - db CH7 - dw SFX_Cry21_3_Ch3 - -SFX_Cry22_3:: ; 7c16e (1f:416e) - db ( $80 | CH4 ) - dw SFX_Cry22_3_Ch1 - db CH5 - dw SFX_Cry22_3_Ch2 - db CH7 - dw SFX_Cry22_3_Ch3 - -SFX_Cry23_3:: ; 7c177 (1f:4177) - db ( $80 | CH4 ) - dw SFX_Cry23_3_Ch1 - db CH5 - dw SFX_Cry23_3_Ch2 - db CH7 - dw SFX_Cry23_3_Ch3 - -SFX_Cry24_3:: ; 7c180 (1f:4180) - db ( $80 | CH4 ) - dw SFX_Cry24_3_Ch1 - db CH5 - dw SFX_Cry24_3_Ch2 - db CH7 - dw SFX_Cry24_3_Ch3 - -SFX_Cry25_3:: ; 7c189 (1f:4189) - db ( $80 | CH4 ) - dw SFX_Cry25_3_Ch1 - db CH5 - dw SFX_Cry25_3_Ch2 - db CH7 - dw SFX_Cry25_3_Ch3 - -SFX_Get_Item1_3:: ; 7c192 (1f:4192) - db ( $80 | CH4 ) - dw SFX_Get_Item1_3_Ch1 - db CH5 - dw SFX_Get_Item1_3_Ch2 - db CH6 - dw SFX_Get_Item1_3_Ch3 - -SFX_Get_Item2_3:: ; 7c19b (1f:419b) - db ( $80 | CH4 ) - dw SFX_Get_Item2_3_Ch1 - db CH5 - dw SFX_Get_Item2_3_Ch2 - db CH6 - dw SFX_Get_Item2_3_Ch3 - -SFX_Tink_3:: ; 7c1a4 (1f:41a4) - db CH4 - dw SFX_Tink_3_Ch1 - -SFX_Heal_HP_3:: ; 7c1a7 (1f:41a7) - db CH4 - dw SFX_Heal_HP_3_Ch1 - -SFX_Heal_Ailment_3:: ; 7c1aa (1f:41aa) - db CH4 - dw SFX_Heal_Ailment_3_Ch1 - -SFX_Start_Menu_3:: ; 7c1ad (1f:41ad) - db CH7 - dw SFX_Start_Menu_3_Ch1 - -SFX_Press_AB_3:: ; 7c1b0 (1f:41b0) - db CH4 - dw SFX_Press_AB_3_Ch1 - -SFX_Pokedex_Rating_3:: ; 7c1b3 (1f:41b3) - db ( $80 | CH4 ) - dw SFX_Pokedex_Rating_3_Ch1 - db CH5 - dw SFX_Pokedex_Rating_3_Ch2 - db CH6 - dw SFX_Pokedex_Rating_3_Ch3 - -SFX_Get_Key_Item_3:: ; 7c1bc (1f:41bc) - db ( $80 | CH4 ) - dw SFX_Get_Key_Item_3_Ch1 - db CH5 - dw SFX_Get_Key_Item_3_Ch2 - db CH6 - dw SFX_Get_Key_Item_3_Ch3 - -SFX_Poisoned_3:: ; 7c1c5 (1f:41c5) - db CH4 - dw SFX_Poisoned_3_Ch1 - -SFX_Trade_Machine_3:: ; 7c1c8 (1f:41c8) - db CH4 - dw SFX_Trade_Machine_3_Ch1 - -SFX_Turn_On_PC_3:: ; 7c1cb (1f:41cb) - db CH4 - dw SFX_Turn_On_PC_3_Ch1 - -SFX_Turn_Off_PC_3:: ; 7c1ce (1f:41ce) - db CH4 - dw SFX_Turn_Off_PC_3_Ch1 - -SFX_Enter_PC_3:: ; 7c1d1 (1f:41d1) - db CH4 - dw SFX_Enter_PC_3_Ch1 - -SFX_Shrink_3:: ; 7c1d4 (1f:41d4) - db CH4 - dw SFX_Shrink_3_Ch1 - -SFX_Switch_3:: ; 7c1d7 (1f:41d7) - db CH4 - dw SFX_Switch_3_Ch1 - -SFX_Healing_Machine_3:: ; 7c1da (1f:41da) - db CH4 - dw SFX_Healing_Machine_3_Ch1 - -SFX_Teleport_Exit1_3:: ; 7c1dd (1f:41dd) - db CH4 - dw SFX_Teleport_Exit1_3_Ch1 - -SFX_Teleport_Enter1_3:: ; 7c1e0 (1f:41e0) - db CH4 - dw SFX_Teleport_Enter1_3_Ch1 - -SFX_Teleport_Exit2_3:: ; 7c1e3 (1f:41e3) - db CH4 - dw SFX_Teleport_Exit2_3_Ch1 - -SFX_Ledge_3:: ; 7c1e6 (1f:41e6) - db CH4 - dw SFX_Ledge_3_Ch1 - -SFX_Teleport_Enter2_3:: ; 7c1e9 (1f:41e9) - db CH7 - dw SFX_Teleport_Enter2_3_Ch1 - -SFX_Fly_3:: ; 7c1ec (1f:41ec) - db CH7 - dw SFX_Fly_3_Ch1 - -SFX_Denied_3:: ; 7c1ef (1f:41ef) - db ( $40 | CH4 ) - dw SFX_Denied_3_Ch1 - db CH5 - dw SFX_Denied_3_Ch2 - -SFX_Arrow_Tiles_3:: ; 7c1f5 (1f:41f5) - db CH4 - dw SFX_Arrow_Tiles_3_Ch1 - -SFX_Push_Boulder_3:: ; 7c1f8 (1f:41f8) - db CH7 - dw SFX_Push_Boulder_3_Ch1 - -SFX_SS_Anne_Horn_3:: ; 7c1fb (1f:41fb) - db ( $40 | CH4 ) - dw SFX_SS_Anne_Horn_3_Ch1 - db CH5 - dw SFX_SS_Anne_Horn_3_Ch2 - -SFX_Withdraw_Deposit_3:: ; 7c201 (1f:4201) - db CH4 - dw SFX_Withdraw_Deposit_3_Ch1 - -SFX_Cut_3:: ; 7c204 (1f:4204) - db CH7 - dw SFX_Cut_3_Ch1 - -SFX_Go_Inside_3:: ; 7c207 (1f:4207) - db CH7 - dw SFX_Go_Inside_3_Ch1 - -SFX_Swap_3:: ; 7c20a (1f:420a) - db ( $40 | CH4 ) - dw SFX_Swap_3_Ch1 - db CH5 - dw SFX_Swap_3_Ch2 - -SFX_59_3:: ; 7c210 (1f:4210) - db ( $40 | CH4 ) - dw SFX_59_3_Ch1 - db CH5 - dw SFX_59_3_Ch2 - -SFX_Purchase_3:: ; 7c216 (1f:4216) - db ( $40 | CH4 ) - dw SFX_Purchase_3_Ch1 - db CH5 - dw SFX_Purchase_3_Ch2 - -SFX_Collision_3:: ; 7c21c (1f:421c) - db CH4 - dw SFX_Collision_3_Ch1 - -SFX_Go_Outside_3:: ; 7c21f (1f:421f) - db CH7 - dw SFX_Go_Outside_3_Ch1 - -SFX_Save_3:: ; 7c222 (1f:4222) - db ( $40 | CH4 ) - dw SFX_Save_3_Ch1 - db CH5 - dw SFX_Save_3_Ch2 - -SFX_Intro_Lunge:: ; 7c228 (1f:4228) - db CH7 - dw SFX_Intro_Lunge_Ch1 - -SFX_Intro_Hip:: ; 7c22b (1f:422b) - db CH4 - dw SFX_Intro_Hip_Ch1 - -SFX_Intro_Hop:: ; 7c22e (1f:422e) - db CH4 - dw SFX_Intro_Hop_Ch1 - -SFX_Intro_Raise:: ; 7c231 (1f:4231) - db CH7 - dw SFX_Intro_Raise_Ch1 - -SFX_Intro_Crash:: ; 7c234 (1f:4234) - db CH7 - dw SFX_Intro_Crash_Ch1 - -SFX_Intro_Whoosh:: ; 7c237 (1f:4237) - db CH7 - dw SFX_Intro_Whoosh_Ch1 - -SFX_Slots_Stop_Wheel:: ; 7c23a (1f:423a) - db CH4 - dw SFX_Slots_Stop_Wheel_Ch1 - -SFX_Slots_Reward:: ; 7c23d (1f:423d) - db CH4 - dw SFX_Slots_Reward_Ch1 - -SFX_Slots_New_Spin:: ; 7c240 (1f:4240) - db ( $40 | CH4 ) - dw SFX_Slots_New_Spin_Ch1 - db CH5 - dw SFX_Slots_New_Spin_Ch2 - -SFX_Shooting_Star:: ; 7c246 (1f:4246) - db CH4 - dw SFX_Shooting_Star_Ch1 diff --git a/audio/headers/sfxheaders2.asm b/audio/headers/sfxheaders2.asm new file mode 100644 index 00000000..1b30f5cc --- /dev/null +++ b/audio/headers/sfxheaders2.asm @@ -0,0 +1,706 @@ +SFX_Headers_2:: + db $ff, $ff, $ff ; padding + +SFX_Snare1_2:: ; 20003 (8:4003) + db CH7 + dw SFX_Snare1_2_Ch1 + +SFX_Snare2_2:: ; 20006 (8:4006) + db CH7 + dw SFX_Snare2_2_Ch1 + +SFX_Snare3_2:: ; 20009 (8:4009) + db CH7 + dw SFX_Snare3_2_Ch1 + +SFX_Snare4_2:: ; 2000c (8:400c) + db CH7 + dw SFX_Snare4_2_Ch1 + +SFX_Snare5_2:: ; 2000f (8:400f) + db CH7 + dw SFX_Snare5_2_Ch1 + +SFX_Triangle1_2:: ; 20012 (8:4012) + db CH7 + dw SFX_Triangle1_2_Ch1 + +SFX_Triangle2_2:: ; 20015 (8:4015) + db CH7 + dw SFX_Triangle2_2_Ch1 + +SFX_Snare6_2:: ; 20018 (8:4018) + db CH7 + dw SFX_Snare6_2_Ch1 + +SFX_Snare7_2:: ; 2001b (8:401b) + db CH7 + dw SFX_Snare7_2_Ch1 + +SFX_Snare8_2:: ; 2001e (8:401e) + db CH7 + dw SFX_Snare8_2_Ch1 + +SFX_Snare9_2:: ; 20021 (8:4021) + db CH7 + dw SFX_Snare9_2_Ch1 + +SFX_Cymbal1_2:: ; 20024 (8:4024) + db CH7 + dw SFX_Cymbal1_2_Ch1 + +SFX_Cymbal2_2:: ; 20027 (8:4027) + db CH7 + dw SFX_Cymbal2_2_Ch1 + +SFX_Cymbal3_2:: ; 2002a (8:402a) + db CH7 + dw SFX_Cymbal3_2_Ch1 + +SFX_Muted_Snare1_2:: ; 2002d (8:402d) + db CH7 + dw SFX_Muted_Snare1_2_Ch1 + +SFX_Triangle3_2:: ; 20030 (8:4030) + db CH7 + dw SFX_Triangle3_2_Ch1 + +SFX_Muted_Snare2_2:: ; 20033 (8:4033) + db CH7 + dw SFX_Muted_Snare2_2_Ch1 + +SFX_Muted_Snare3_2:: ; 20036 (8:4036) + db CH7 + dw SFX_Muted_Snare3_2_Ch1 + +SFX_Muted_Snare4_2:: ; 20039 (8:4039) + db CH7 + dw SFX_Muted_Snare4_2_Ch1 + +SFX_Cry00_2:: ; 2003c (8:403c) + db ( $80 | CH4 ) + dw SFX_Cry00_2_Ch1 + db CH5 + dw SFX_Cry00_2_Ch2 + db CH7 + dw SFX_Cry00_2_Ch3 + +SFX_Cry01_2:: ; 20045 (8:4045) + db ( $80 | CH4 ) + dw SFX_Cry01_2_Ch1 + db CH5 + dw SFX_Cry01_2_Ch2 + db CH7 + dw SFX_Cry01_2_Ch3 + +SFX_Cry02_2:: ; 2004e (8:404e) + db ( $80 | CH4 ) + dw SFX_Cry02_2_Ch1 + db CH5 + dw SFX_Cry02_2_Ch2 + db CH7 + dw SFX_Cry02_2_Ch3 + +SFX_Cry03_2:: ; 20057 (8:4057) + db ( $80 | CH4 ) + dw SFX_Cry03_2_Ch1 + db CH5 + dw SFX_Cry03_2_Ch2 + db CH7 + dw SFX_Cry03_2_Ch3 + +SFX_Cry04_2:: ; 20060 (8:4060) + db ( $80 | CH4 ) + dw SFX_Cry04_2_Ch1 + db CH5 + dw SFX_Cry04_2_Ch2 + db CH7 + dw SFX_Cry04_2_Ch3 + +SFX_Cry05_2:: ; 20069 (8:4069) + db ( $80 | CH4 ) + dw SFX_Cry05_2_Ch1 + db CH5 + dw SFX_Cry05_2_Ch2 + db CH7 + dw SFX_Cry05_2_Ch3 + +SFX_Cry06_2:: ; 20072 (8:4072) + db ( $80 | CH4 ) + dw SFX_Cry06_2_Ch1 + db CH5 + dw SFX_Cry06_2_Ch2 + db CH7 + dw SFX_Cry06_2_Ch3 + +SFX_Cry07_2:: ; 2007b (8:407b) + db ( $80 | CH4 ) + dw SFX_Cry07_2_Ch1 + db CH5 + dw SFX_Cry07_2_Ch2 + db CH7 + dw SFX_Cry07_2_Ch3 + +SFX_Cry08_2:: ; 20084 (8:4084) + db ( $80 | CH4 ) + dw SFX_Cry08_2_Ch1 + db CH5 + dw SFX_Cry08_2_Ch2 + db CH7 + dw SFX_Cry08_2_Ch3 + +SFX_Cry09_2:: ; 2008d (8:408d) + db ( $80 | CH4 ) + dw SFX_Cry09_2_Ch1 + db CH5 + dw SFX_Cry09_2_Ch2 + db CH7 + dw SFX_Cry09_2_Ch3 + +SFX_Cry0A_2:: ; 20096 (8:4096) + db ( $80 | CH4 ) + dw SFX_Cry0A_2_Ch1 + db CH5 + dw SFX_Cry0A_2_Ch2 + db CH7 + dw SFX_Cry0A_2_Ch3 + +SFX_Cry0B_2:: ; 2009f (8:409f) + db ( $80 | CH4 ) + dw SFX_Cry0B_2_Ch1 + db CH5 + dw SFX_Cry0B_2_Ch2 + db CH7 + dw SFX_Cry0B_2_Ch3 + +SFX_Cry0C_2:: ; 200a8 (8:40a8) + db ( $80 | CH4 ) + dw SFX_Cry0C_2_Ch1 + db CH5 + dw SFX_Cry0C_2_Ch2 + db CH7 + dw SFX_Cry0C_2_Ch3 + +SFX_Cry0D_2:: ; 200b1 (8:40b1) + db ( $80 | CH4 ) + dw SFX_Cry0D_2_Ch1 + db CH5 + dw SFX_Cry0D_2_Ch2 + db CH7 + dw SFX_Cry0D_2_Ch3 + +SFX_Cry0E_2:: ; 200ba (8:40ba) + db ( $80 | CH4 ) + dw SFX_Cry0E_2_Ch1 + db CH5 + dw SFX_Cry0E_2_Ch2 + db CH7 + dw SFX_Cry0E_2_Ch3 + +SFX_Cry0F_2:: ; 200c3 (8:40c3) + db ( $80 | CH4 ) + dw SFX_Cry0F_2_Ch1 + db CH5 + dw SFX_Cry0F_2_Ch2 + db CH7 + dw SFX_Cry0F_2_Ch3 + +SFX_Cry10_2:: ; 200cc (8:40cc) + db ( $80 | CH4 ) + dw SFX_Cry10_2_Ch1 + db CH5 + dw SFX_Cry10_2_Ch2 + db CH7 + dw SFX_Cry10_2_Ch3 + +SFX_Cry11_2:: ; 200d5 (8:40d5) + db ( $80 | CH4 ) + dw SFX_Cry11_2_Ch1 + db CH5 + dw SFX_Cry11_2_Ch2 + db CH7 + dw SFX_Cry11_2_Ch3 + +SFX_Cry12_2:: ; 200de (8:40de) + db ( $80 | CH4 ) + dw SFX_Cry12_2_Ch1 + db CH5 + dw SFX_Cry12_2_Ch2 + db CH7 + dw SFX_Cry12_2_Ch3 + +SFX_Cry13_2:: ; 200e7 (8:40e7) + db ( $80 | CH4 ) + dw SFX_Cry13_2_Ch1 + db CH5 + dw SFX_Cry13_2_Ch2 + db CH7 + dw SFX_Cry13_2_Ch3 + +SFX_Cry14_2:: ; 200f0 (8:40f0) + db ( $80 | CH4 ) + dw SFX_Cry14_2_Ch1 + db CH5 + dw SFX_Cry14_2_Ch2 + db CH7 + dw SFX_Cry14_2_Ch3 + +SFX_Cry15_2:: ; 200f9 (8:40f9) + db ( $80 | CH4 ) + dw SFX_Cry15_2_Ch1 + db CH5 + dw SFX_Cry15_2_Ch2 + db CH7 + dw SFX_Cry15_2_Ch3 + +SFX_Cry16_2:: ; 20102 (8:4102) + db ( $80 | CH4 ) + dw SFX_Cry16_2_Ch1 + db CH5 + dw SFX_Cry16_2_Ch2 + db CH7 + dw SFX_Cry16_2_Ch3 + +SFX_Cry17_2:: ; 2010b (8:410b) + db ( $80 | CH4 ) + dw SFX_Cry17_2_Ch1 + db CH5 + dw SFX_Cry17_2_Ch2 + db CH7 + dw SFX_Cry17_2_Ch3 + +SFX_Cry18_2:: ; 20114 (8:4114) + db ( $80 | CH4 ) + dw SFX_Cry18_2_Ch1 + db CH5 + dw SFX_Cry18_2_Ch2 + db CH7 + dw SFX_Cry18_2_Ch3 + +SFX_Cry19_2:: ; 2011d (8:411d) + db ( $80 | CH4 ) + dw SFX_Cry19_2_Ch1 + db CH5 + dw SFX_Cry19_2_Ch2 + db CH7 + dw SFX_Cry19_2_Ch3 + +SFX_Cry1A_2:: ; 20126 (8:4126) + db ( $80 | CH4 ) + dw SFX_Cry1A_2_Ch1 + db CH5 + dw SFX_Cry1A_2_Ch2 + db CH7 + dw SFX_Cry1A_2_Ch3 + +SFX_Cry1B_2:: ; 2012f (8:412f) + db ( $80 | CH4 ) + dw SFX_Cry1B_2_Ch1 + db CH5 + dw SFX_Cry1B_2_Ch2 + db CH7 + dw SFX_Cry1B_2_Ch3 + +SFX_Cry1C_2:: ; 20138 (8:4138) + db ( $80 | CH4 ) + dw SFX_Cry1C_2_Ch1 + db CH5 + dw SFX_Cry1C_2_Ch2 + db CH7 + dw SFX_Cry1C_2_Ch3 + +SFX_Cry1D_2:: ; 20141 (8:4141) + db ( $80 | CH4 ) + dw SFX_Cry1D_2_Ch1 + db CH5 + dw SFX_Cry1D_2_Ch2 + db CH7 + dw SFX_Cry1D_2_Ch3 + +SFX_Cry1E_2:: ; 2014a (8:414a) + db ( $80 | CH4 ) + dw SFX_Cry1E_2_Ch1 + db CH5 + dw SFX_Cry1E_2_Ch2 + db CH7 + dw SFX_Cry1E_2_Ch3 + +SFX_Cry1F_2:: ; 20153 (8:4153) + db ( $80 | CH4 ) + dw SFX_Cry1F_2_Ch1 + db CH5 + dw SFX_Cry1F_2_Ch2 + db CH7 + dw SFX_Cry1F_2_Ch3 + +SFX_Cry20_2:: ; 2015c (8:415c) + db ( $80 | CH4 ) + dw SFX_Cry20_2_Ch1 + db CH5 + dw SFX_Cry20_2_Ch2 + db CH7 + dw SFX_Cry20_2_Ch3 + +SFX_Cry21_2:: ; 20165 (8:4165) + db ( $80 | CH4 ) + dw SFX_Cry21_2_Ch1 + db CH5 + dw SFX_Cry21_2_Ch2 + db CH7 + dw SFX_Cry21_2_Ch3 + +SFX_Cry22_2:: ; 2016e (8:416e) + db ( $80 | CH4 ) + dw SFX_Cry22_2_Ch1 + db CH5 + dw SFX_Cry22_2_Ch2 + db CH7 + dw SFX_Cry22_2_Ch3 + +SFX_Cry23_2:: ; 20177 (8:4177) + db ( $80 | CH4 ) + dw SFX_Cry23_2_Ch1 + db CH5 + dw SFX_Cry23_2_Ch2 + db CH7 + dw SFX_Cry23_2_Ch3 + +SFX_Cry24_2:: ; 20180 (8:4180) + db ( $80 | CH4 ) + dw SFX_Cry24_2_Ch1 + db CH5 + dw SFX_Cry24_2_Ch2 + db CH7 + dw SFX_Cry24_2_Ch3 + +SFX_Cry25_2:: ; 20189 (8:4189) + db ( $80 | CH4 ) + dw SFX_Cry25_2_Ch1 + db CH5 + dw SFX_Cry25_2_Ch2 + db CH7 + dw SFX_Cry25_2_Ch3 + +SFX_Level_Up:: ; 20192 (8:4192) + db ( $80 | CH4 ) + dw SFX_Level_Up_Ch1 + db CH5 + dw SFX_Level_Up_Ch2 + db CH6 + dw SFX_Level_Up_Ch3 + +SFX_Get_Item2_2:: ; 2019b (8:419b) + db ( $80 | CH4 ) + dw SFX_Get_Item2_2_Ch1 + db CH5 + dw SFX_Get_Item2_2_Ch2 + db CH6 + dw SFX_Get_Item2_2_Ch3 + +SFX_Tink_2:: ; 201a4 (8:41a4) + db CH4 + dw SFX_Tink_2_Ch1 + +SFX_Heal_HP_2:: ; 201a7 (8:41a7) + db CH4 + dw SFX_Heal_HP_2_Ch1 + +SFX_Heal_Ailment_2:: ; 201aa (8:41aa) + db CH4 + dw SFX_Heal_Ailment_2_Ch1 + +SFX_Start_Menu_2:: ; 201ad (8:41ad) + db CH7 + dw SFX_Start_Menu_2_Ch1 + +SFX_Press_AB_2:: ; 201b0 (8:41b0) + db CH4 + dw SFX_Press_AB_2_Ch1 + +SFX_Ball_Toss:: ; 201b3 (8:41b3) + db ( $40 | CH4 ) + dw SFX_Ball_Toss_Ch1 + db CH5 + dw SFX_Ball_Toss_Ch2 + +SFX_Ball_Poof:: ; 201b9 (8:41b9) + db ( $40 | CH4 ) + dw SFX_Ball_Poof_Ch1 + db CH7 + dw SFX_Ball_Poof_Ch2 + +SFX_Faint_Thud:: ; 201bf (8:41bf) + db ( $40 | CH4 ) + dw SFX_Faint_Thud_Ch1 + db CH7 + dw SFX_Faint_Thud_Ch2 + +SFX_Run:: ; 201c5 (8:41c5) + db CH7 + dw SFX_Run_Ch1 + +SFX_Dex_Page_Added:: ; 201c8 (8:41c8) + db ( $40 | CH4 ) + dw SFX_Dex_Page_Added_Ch1 + db CH5 + dw SFX_Dex_Page_Added_Ch2 + +SFX_Caught_Mon:: ; 201ce (8:41ce) + db ( $80 | CH4 ) + dw SFX_Caught_Mon_Ch1 + db CH5 + dw SFX_Caught_Mon_Ch2 + db CH6 + dw SFX_Caught_Mon_Ch3 + +SFX_Peck:: ; 201d7 (8:41d7) + db CH7 + dw SFX_Peck_Ch1 + +SFX_Faint_Fall:: ; 201da (8:41da) + db CH4 + dw SFX_Faint_Fall_Ch1 + +SFX_Battle_09:: ; 201dd (8:41dd) + db CH4 + dw SFX_Battle_09_Ch1 + +SFX_Pound:: ; 201e0 (8:41e0) + db CH7 + dw SFX_Pound_Ch1 + +SFX_Battle_0B:: ; 201e3 (8:41e3) + db CH7 + dw SFX_Battle_0B_Ch1 + +SFX_Battle_0C:: ; 201e6 (8:41e6) + db CH7 + dw SFX_Battle_0C_Ch1 + +SFX_Battle_0D:: ; 201e9 (8:41e9) + db CH7 + dw SFX_Battle_0D_Ch1 + +SFX_Battle_0E:: ; 201ec (8:41ec) + db CH7 + dw SFX_Battle_0E_Ch1 + +SFX_Battle_0F:: ; 201ef (8:41ef) + db CH7 + dw SFX_Battle_0F_Ch1 + +SFX_Damage:: ; 201f2 (8:41f2) + db CH7 + dw SFX_Damage_Ch1 + +SFX_Not_Very_Effective:: ; 201f5 (8:41f5) + db CH7 + dw SFX_Not_Very_Effective_Ch1 + +SFX_Battle_12:: ; 201f8 (8:41f8) + db CH7 + dw SFX_Battle_12_Ch1 + +SFX_Battle_13:: ; 201fb (8:41fb) + db CH7 + dw SFX_Battle_13_Ch1 + +SFX_Battle_14:: ; 201fe (8:41fe) + db CH7 + dw SFX_Battle_14_Ch1 + +SFX_Vine_Whip:: ; 20201 (8:4201) + db CH7 + dw SFX_Vine_Whip_Ch1 + +SFX_Battle_16:: ; 20204 (8:4204) + db CH7 + dw SFX_Battle_16_Ch1 + +SFX_Battle_17:: ; 20207 (8:4207) + db CH7 + dw SFX_Battle_17_Ch1 + +SFX_Battle_18:: ; 2020a (8:420a) + db CH7 + dw SFX_Battle_18_Ch1 + +SFX_Battle_19:: ; 2020d (8:420d) + db CH7 + dw SFX_Battle_19_Ch1 + +SFX_Super_Effective:: ; 20210 (8:4210) + db CH7 + dw SFX_Super_Effective_Ch1 + +SFX_Battle_1B:: ; 20213 (8:4213) + db CH7 + dw SFX_Battle_1B_Ch1 + +SFX_Battle_1C:: ; 20216 (8:4216) + db CH7 + dw SFX_Battle_1C_Ch1 + +SFX_Doubleslap:: ; 20219 (8:4219) + db CH7 + dw SFX_Doubleslap_Ch1 + +SFX_Battle_1E:: ; 2021c (8:421c) + db ( $40 | CH4 ) + dw SFX_Battle_1E_Ch1 + db CH7 + dw SFX_Battle_1E_Ch2 + +SFX_Horn_Drill:: ; 20222 (8:4222) + db CH7 + dw SFX_Horn_Drill_Ch1 + +SFX_Battle_20:: ; 20225 (8:4225) + db CH7 + dw SFX_Battle_20_Ch1 + +SFX_Battle_21:: ; 20228 (8:4228) + db CH7 + dw SFX_Battle_21_Ch1 + +SFX_Battle_22:: ; 2022b (8:422b) + db CH7 + dw SFX_Battle_22_Ch1 + +SFX_Battle_23:: ; 2022e (8:422e) + db CH7 + dw SFX_Battle_23_Ch1 + +SFX_Battle_24:: ; 20231 (8:4231) + db ( $40 | CH4 ) + dw SFX_Battle_24_Ch1 + db CH7 + dw SFX_Battle_24_Ch2 + +SFX_Battle_25:: ; 20237 (8:4237) + db CH7 + dw SFX_Battle_25_Ch1 + +SFX_Battle_26:: ; 2023a (8:423a) + db CH7 + dw SFX_Battle_26_Ch1 + +SFX_Battle_27:: ; 2023d (8:423d) + db ( $80 | CH4 ) + dw SFX_Battle_27_Ch1 + db CH5 + dw SFX_Battle_27_Ch2 + db CH7 + dw SFX_Battle_27_Ch3 + +SFX_Battle_28:: ; 20246 (8:4246) + db ( $80 | CH4 ) + dw SFX_Battle_28_Ch1 + db CH5 + dw SFX_Battle_28_Ch2 + db CH7 + dw SFX_Battle_28_Ch3 + +SFX_Battle_29:: ; 2024f (8:424f) + db ( $40 | CH4 ) + dw SFX_Battle_29_Ch1 + db CH7 + dw SFX_Battle_29_Ch2 + +SFX_Battle_2A:: ; 20255 (8:4255) + db ( $80 | CH4 ) + dw SFX_Battle_2A_Ch1 + db CH5 + dw SFX_Battle_2A_Ch2 + db CH7 + dw SFX_Battle_2A_Ch3 + +SFX_Battle_2B:: ; 2025e (8:425e) + db ( $40 | CH4 ) + dw SFX_Battle_2B_Ch1 + db CH7 + dw SFX_Battle_2B_Ch2 + +SFX_Battle_2C:: ; 20264 (8:4264) + db ( $80 | CH4 ) + dw SFX_Battle_2C_Ch1 + db CH5 + dw SFX_Battle_2C_Ch2 + db CH7 + dw SFX_Battle_2C_Ch3 + +SFX_Psybeam:: ; 2026d (8:426d) + db ( $80 | CH4 ) + dw SFX_Psybeam_Ch1 + db CH5 + dw SFX_Psybeam_Ch2 + db CH7 + dw SFX_Psybeam_Ch3 + +SFX_Battle_2E:: ; 20276 (8:4276) + db ( $80 | CH4 ) + dw SFX_Battle_2E_Ch1 + db CH5 + dw SFX_Battle_2E_Ch2 + db CH7 + dw SFX_Battle_2E_Ch3 + +SFX_Battle_2F:: ; 2027f (8:427f) + db ( $80 | CH4 ) + dw SFX_Battle_2F_Ch1 + db CH5 + dw SFX_Battle_2F_Ch2 + db CH7 + dw SFX_Battle_2F_Ch3 + +SFX_Psychic_M:: ; 20288 (8:4288) + db ( $80 | CH4 ) + dw SFX_Psychic_M_Ch1 + db CH5 + dw SFX_Psychic_M_Ch2 + db CH7 + dw SFX_Psychic_M_Ch3 + +SFX_Battle_31:: ; 20291 (8:4291) + db ( $40 | CH4 ) + dw SFX_Battle_31_Ch1 + db CH5 + dw SFX_Battle_31_Ch2 + +SFX_Battle_32:: ; 20297 (8:4297) + db ( $40 | CH4 ) + dw SFX_Battle_32_Ch1 + db CH5 + dw SFX_Battle_32_Ch2 + +SFX_Battle_33:: ; 2029d (8:429d) + db ( $40 | CH4 ) + dw SFX_Battle_33_Ch1 + db CH5 + dw SFX_Battle_33_Ch2 + +SFX_Battle_34:: ; 202a3 (8:42a3) + db ( $80 | CH4 ) + dw SFX_Battle_34_Ch1 + db CH5 + dw SFX_Battle_34_Ch2 + db CH7 + dw SFX_Battle_34_Ch3 + +SFX_Battle_35:: ; 202ac (8:42ac) + db ( $40 | CH4 ) + dw SFX_Battle_35_Ch1 + db CH5 + dw SFX_Battle_35_Ch2 + +SFX_Battle_36:: ; 202b2 (8:42b2) + db ( $80 | CH4 ) + dw SFX_Battle_36_Ch1 + db CH5 + dw SFX_Battle_36_Ch2 + db CH7 + dw SFX_Battle_36_Ch3 + +SFX_Silph_Scope:: ; 202bb (8:42bb) + db CH4 + dw SFX_Silph_Scope_Ch1 diff --git a/audio/headers/sfxheaders3.asm b/audio/headers/sfxheaders3.asm new file mode 100644 index 00000000..321a33f5 --- /dev/null +++ b/audio/headers/sfxheaders3.asm @@ -0,0 +1,596 @@ +SFX_Headers_3:: + db $ff, $ff, $ff ; padding + +SFX_Snare1_3:: ; 7c003 (1f:4003) + db CH7 + dw SFX_Snare1_3_Ch1 + +SFX_Snare2_3:: ; 7c006 (1f:4006) + db CH7 + dw SFX_Snare2_3_Ch1 + +SFX_Snare3_3:: ; 7c009 (1f:4009) + db CH7 + dw SFX_Snare3_3_Ch1 + +SFX_Snare4_3:: ; 7c00c (1f:400c) + db CH7 + dw SFX_Snare4_3_Ch1 + +SFX_Snare5_3:: ; 7c00f (1f:400f) + db CH7 + dw SFX_Snare5_3_Ch1 + +SFX_Triangle1_3:: ; 7c012 (1f:4012) + db CH7 + dw SFX_Triangle1_3_Ch1 + +SFX_Triangle2_3:: ; 7c015 (1f:4015) + db CH7 + dw SFX_Triangle2_3_Ch1 + +SFX_Snare6_3:: ; 7c018 (1f:4018) + db CH7 + dw SFX_Snare6_3_Ch1 + +SFX_Snare7_3:: ; 7c01b (1f:401b) + db CH7 + dw SFX_Snare7_3_Ch1 + +SFX_Snare8_3:: ; 7c01e (1f:401e) + db CH7 + dw SFX_Snare8_3_Ch1 + +SFX_Snare9_3:: ; 7c021 (1f:4021) + db CH7 + dw SFX_Snare9_3_Ch1 + +SFX_Cymbal1_3:: ; 7c024 (1f:4024) + db CH7 + dw SFX_Cymbal1_3_Ch1 + +SFX_Cymbal2_3:: ; 7c027 (1f:4027) + db CH7 + dw SFX_Cymbal2_3_Ch1 + +SFX_Cymbal3_3:: ; 7c02a (1f:402a) + db CH7 + dw SFX_Cymbal3_3_Ch1 + +SFX_Muted_Snare1_3:: ; 7c02d (1f:402d) + db CH7 + dw SFX_Muted_Snare1_3_Ch1 + +SFX_Triangle3_3:: ; 7c030 (1f:4030) + db CH7 + dw SFX_Triangle3_3_Ch1 + +SFX_Muted_Snare2_3:: ; 7c033 (1f:4033) + db CH7 + dw SFX_Muted_Snare2_3_Ch1 + +SFX_Muted_Snare3_3:: ; 7c036 (1f:4036) + db CH7 + dw SFX_Muted_Snare3_3_Ch1 + +SFX_Muted_Snare4_3:: ; 7c039 (1f:4039) + db CH7 + dw SFX_Muted_Snare4_3_Ch1 + +SFX_Cry00_3:: ; 7c03c (1f:403c) + db ( $80 | CH4 ) + dw SFX_Cry00_3_Ch1 + db CH5 + dw SFX_Cry00_3_Ch2 + db CH7 + dw SFX_Cry00_3_Ch3 + +SFX_Cry01_3:: ; 7c045 (1f:4045) + db ( $80 | CH4 ) + dw SFX_Cry01_3_Ch1 + db CH5 + dw SFX_Cry01_3_Ch2 + db CH7 + dw SFX_Cry01_3_Ch3 + +SFX_Cry02_3:: ; 7c04e (1f:404e) + db ( $80 | CH4 ) + dw SFX_Cry02_3_Ch1 + db CH5 + dw SFX_Cry02_3_Ch2 + db CH7 + dw SFX_Cry02_3_Ch3 + +SFX_Cry03_3:: ; 7c057 (1f:4057) + db ( $80 | CH4 ) + dw SFX_Cry03_3_Ch1 + db CH5 + dw SFX_Cry03_3_Ch2 + db CH7 + dw SFX_Cry03_3_Ch3 + +SFX_Cry04_3:: ; 7c060 (1f:4060) + db ( $80 | CH4 ) + dw SFX_Cry04_3_Ch1 + db CH5 + dw SFX_Cry04_3_Ch2 + db CH7 + dw SFX_Cry04_3_Ch3 + +SFX_Cry05_3:: ; 7c069 (1f:4069) + db ( $80 | CH4 ) + dw SFX_Cry05_3_Ch1 + db CH5 + dw SFX_Cry05_3_Ch2 + db CH7 + dw SFX_Cry05_3_Ch3 + +SFX_Cry06_3:: ; 7c072 (1f:4072) + db ( $80 | CH4 ) + dw SFX_Cry06_3_Ch1 + db CH5 + dw SFX_Cry06_3_Ch2 + db CH7 + dw SFX_Cry06_3_Ch3 + +SFX_Cry07_3:: ; 7c07b (1f:407b) + db ( $80 | CH4 ) + dw SFX_Cry07_3_Ch1 + db CH5 + dw SFX_Cry07_3_Ch2 + db CH7 + dw SFX_Cry07_3_Ch3 + +SFX_Cry08_3:: ; 7c084 (1f:4084) + db ( $80 | CH4 ) + dw SFX_Cry08_3_Ch1 + db CH5 + dw SFX_Cry08_3_Ch2 + db CH7 + dw SFX_Cry08_3_Ch3 + +SFX_Cry09_3:: ; 7c08d (1f:408d) + db ( $80 | CH4 ) + dw SFX_Cry09_3_Ch1 + db CH5 + dw SFX_Cry09_3_Ch2 + db CH7 + dw SFX_Cry09_3_Ch3 + +SFX_Cry0A_3:: ; 7c096 (1f:4096) + db ( $80 | CH4 ) + dw SFX_Cry0A_3_Ch1 + db CH5 + dw SFX_Cry0A_3_Ch2 + db CH7 + dw SFX_Cry0A_3_Ch3 + +SFX_Cry0B_3:: ; 7c09f (1f:409f) + db ( $80 | CH4 ) + dw SFX_Cry0B_3_Ch1 + db CH5 + dw SFX_Cry0B_3_Ch2 + db CH7 + dw SFX_Cry0B_3_Ch3 + +SFX_Cry0C_3:: ; 7c0a8 (1f:40a8) + db ( $80 | CH4 ) + dw SFX_Cry0C_3_Ch1 + db CH5 + dw SFX_Cry0C_3_Ch2 + db CH7 + dw SFX_Cry0C_3_Ch3 + +SFX_Cry0D_3:: ; 7c0b1 (1f:40b1) + db ( $80 | CH4 ) + dw SFX_Cry0D_3_Ch1 + db CH5 + dw SFX_Cry0D_3_Ch2 + db CH7 + dw SFX_Cry0D_3_Ch3 + +SFX_Cry0E_3:: ; 7c0ba (1f:40ba) + db ( $80 | CH4 ) + dw SFX_Cry0E_3_Ch1 + db CH5 + dw SFX_Cry0E_3_Ch2 + db CH7 + dw SFX_Cry0E_3_Ch3 + +SFX_Cry0F_3:: ; 7c0c3 (1f:40c3) + db ( $80 | CH4 ) + dw SFX_Cry0F_3_Ch1 + db CH5 + dw SFX_Cry0F_3_Ch2 + db CH7 + dw SFX_Cry0F_3_Ch3 + +SFX_Cry10_3:: ; 7c0cc (1f:40cc) + db ( $80 | CH4 ) + dw SFX_Cry10_3_Ch1 + db CH5 + dw SFX_Cry10_3_Ch2 + db CH7 + dw SFX_Cry10_3_Ch3 + +SFX_Cry11_3:: ; 7c0d5 (1f:40d5) + db ( $80 | CH4 ) + dw SFX_Cry11_3_Ch1 + db CH5 + dw SFX_Cry11_3_Ch2 + db CH7 + dw SFX_Cry11_3_Ch3 + +SFX_Cry12_3:: ; 7c0de (1f:40de) + db ( $80 | CH4 ) + dw SFX_Cry12_3_Ch1 + db CH5 + dw SFX_Cry12_3_Ch2 + db CH7 + dw SFX_Cry12_3_Ch3 + +SFX_Cry13_3:: ; 7c0e7 (1f:40e7) + db ( $80 | CH4 ) + dw SFX_Cry13_3_Ch1 + db CH5 + dw SFX_Cry13_3_Ch2 + db CH7 + dw SFX_Cry13_3_Ch3 + +SFX_Cry14_3:: ; 7c0f0 (1f:40f0) + db ( $80 | CH4 ) + dw SFX_Cry14_3_Ch1 + db CH5 + dw SFX_Cry14_3_Ch2 + db CH7 + dw SFX_Cry14_3_Ch3 + +SFX_Cry15_3:: ; 7c0f9 (1f:40f9) + db ( $80 | CH4 ) + dw SFX_Cry15_3_Ch1 + db CH5 + dw SFX_Cry15_3_Ch2 + db CH7 + dw SFX_Cry15_3_Ch3 + +SFX_Cry16_3:: ; 7c102 (1f:4102) + db ( $80 | CH4 ) + dw SFX_Cry16_3_Ch1 + db CH5 + dw SFX_Cry16_3_Ch2 + db CH7 + dw SFX_Cry16_3_Ch3 + +SFX_Cry17_3:: ; 7c10b (1f:410b) + db ( $80 | CH4 ) + dw SFX_Cry17_3_Ch1 + db CH5 + dw SFX_Cry17_3_Ch2 + db CH7 + dw SFX_Cry17_3_Ch3 + +SFX_Cry18_3:: ; 7c114 (1f:4114) + db ( $80 | CH4 ) + dw SFX_Cry18_3_Ch1 + db CH5 + dw SFX_Cry18_3_Ch2 + db CH7 + dw SFX_Cry18_3_Ch3 + +SFX_Cry19_3:: ; 7c11d (1f:411d) + db ( $80 | CH4 ) + dw SFX_Cry19_3_Ch1 + db CH5 + dw SFX_Cry19_3_Ch2 + db CH7 + dw SFX_Cry19_3_Ch3 + +SFX_Cry1A_3:: ; 7c126 (1f:4126) + db ( $80 | CH4 ) + dw SFX_Cry1A_3_Ch1 + db CH5 + dw SFX_Cry1A_3_Ch2 + db CH7 + dw SFX_Cry1A_3_Ch3 + +SFX_Cry1B_3:: ; 7c12f (1f:412f) + db ( $80 | CH4 ) + dw SFX_Cry1B_3_Ch1 + db CH5 + dw SFX_Cry1B_3_Ch2 + db CH7 + dw SFX_Cry1B_3_Ch3 + +SFX_Cry1C_3:: ; 7c138 (1f:4138) + db ( $80 | CH4 ) + dw SFX_Cry1C_3_Ch1 + db CH5 + dw SFX_Cry1C_3_Ch2 + db CH7 + dw SFX_Cry1C_3_Ch3 + +SFX_Cry1D_3:: ; 7c141 (1f:4141) + db ( $80 | CH4 ) + dw SFX_Cry1D_3_Ch1 + db CH5 + dw SFX_Cry1D_3_Ch2 + db CH7 + dw SFX_Cry1D_3_Ch3 + +SFX_Cry1E_3:: ; 7c14a (1f:414a) + db ( $80 | CH4 ) + dw SFX_Cry1E_3_Ch1 + db CH5 + dw SFX_Cry1E_3_Ch2 + db CH7 + dw SFX_Cry1E_3_Ch3 + +SFX_Cry1F_3:: ; 7c153 (1f:4153) + db ( $80 | CH4 ) + dw SFX_Cry1F_3_Ch1 + db CH5 + dw SFX_Cry1F_3_Ch2 + db CH7 + dw SFX_Cry1F_3_Ch3 + +SFX_Cry20_3:: ; 7c15c (1f:415c) + db ( $80 | CH4 ) + dw SFX_Cry20_3_Ch1 + db CH5 + dw SFX_Cry20_3_Ch2 + db CH7 + dw SFX_Cry20_3_Ch3 + +SFX_Cry21_3:: ; 7c165 (1f:4165) + db ( $80 | CH4 ) + dw SFX_Cry21_3_Ch1 + db CH5 + dw SFX_Cry21_3_Ch2 + db CH7 + dw SFX_Cry21_3_Ch3 + +SFX_Cry22_3:: ; 7c16e (1f:416e) + db ( $80 | CH4 ) + dw SFX_Cry22_3_Ch1 + db CH5 + dw SFX_Cry22_3_Ch2 + db CH7 + dw SFX_Cry22_3_Ch3 + +SFX_Cry23_3:: ; 7c177 (1f:4177) + db ( $80 | CH4 ) + dw SFX_Cry23_3_Ch1 + db CH5 + dw SFX_Cry23_3_Ch2 + db CH7 + dw SFX_Cry23_3_Ch3 + +SFX_Cry24_3:: ; 7c180 (1f:4180) + db ( $80 | CH4 ) + dw SFX_Cry24_3_Ch1 + db CH5 + dw SFX_Cry24_3_Ch2 + db CH7 + dw SFX_Cry24_3_Ch3 + +SFX_Cry25_3:: ; 7c189 (1f:4189) + db ( $80 | CH4 ) + dw SFX_Cry25_3_Ch1 + db CH5 + dw SFX_Cry25_3_Ch2 + db CH7 + dw SFX_Cry25_3_Ch3 + +SFX_Get_Item1_3:: ; 7c192 (1f:4192) + db ( $80 | CH4 ) + dw SFX_Get_Item1_3_Ch1 + db CH5 + dw SFX_Get_Item1_3_Ch2 + db CH6 + dw SFX_Get_Item1_3_Ch3 + +SFX_Get_Item2_3:: ; 7c19b (1f:419b) + db ( $80 | CH4 ) + dw SFX_Get_Item2_3_Ch1 + db CH5 + dw SFX_Get_Item2_3_Ch2 + db CH6 + dw SFX_Get_Item2_3_Ch3 + +SFX_Tink_3:: ; 7c1a4 (1f:41a4) + db CH4 + dw SFX_Tink_3_Ch1 + +SFX_Heal_HP_3:: ; 7c1a7 (1f:41a7) + db CH4 + dw SFX_Heal_HP_3_Ch1 + +SFX_Heal_Ailment_3:: ; 7c1aa (1f:41aa) + db CH4 + dw SFX_Heal_Ailment_3_Ch1 + +SFX_Start_Menu_3:: ; 7c1ad (1f:41ad) + db CH7 + dw SFX_Start_Menu_3_Ch1 + +SFX_Press_AB_3:: ; 7c1b0 (1f:41b0) + db CH4 + dw SFX_Press_AB_3_Ch1 + +SFX_Pokedex_Rating_3:: ; 7c1b3 (1f:41b3) + db ( $80 | CH4 ) + dw SFX_Pokedex_Rating_3_Ch1 + db CH5 + dw SFX_Pokedex_Rating_3_Ch2 + db CH6 + dw SFX_Pokedex_Rating_3_Ch3 + +SFX_Get_Key_Item_3:: ; 7c1bc (1f:41bc) + db ( $80 | CH4 ) + dw SFX_Get_Key_Item_3_Ch1 + db CH5 + dw SFX_Get_Key_Item_3_Ch2 + db CH6 + dw SFX_Get_Key_Item_3_Ch3 + +SFX_Poisoned_3:: ; 7c1c5 (1f:41c5) + db CH4 + dw SFX_Poisoned_3_Ch1 + +SFX_Trade_Machine_3:: ; 7c1c8 (1f:41c8) + db CH4 + dw SFX_Trade_Machine_3_Ch1 + +SFX_Turn_On_PC_3:: ; 7c1cb (1f:41cb) + db CH4 + dw SFX_Turn_On_PC_3_Ch1 + +SFX_Turn_Off_PC_3:: ; 7c1ce (1f:41ce) + db CH4 + dw SFX_Turn_Off_PC_3_Ch1 + +SFX_Enter_PC_3:: ; 7c1d1 (1f:41d1) + db CH4 + dw SFX_Enter_PC_3_Ch1 + +SFX_Shrink_3:: ; 7c1d4 (1f:41d4) + db CH4 + dw SFX_Shrink_3_Ch1 + +SFX_Switch_3:: ; 7c1d7 (1f:41d7) + db CH4 + dw SFX_Switch_3_Ch1 + +SFX_Healing_Machine_3:: ; 7c1da (1f:41da) + db CH4 + dw SFX_Healing_Machine_3_Ch1 + +SFX_Teleport_Exit1_3:: ; 7c1dd (1f:41dd) + db CH4 + dw SFX_Teleport_Exit1_3_Ch1 + +SFX_Teleport_Enter1_3:: ; 7c1e0 (1f:41e0) + db CH4 + dw SFX_Teleport_Enter1_3_Ch1 + +SFX_Teleport_Exit2_3:: ; 7c1e3 (1f:41e3) + db CH4 + dw SFX_Teleport_Exit2_3_Ch1 + +SFX_Ledge_3:: ; 7c1e6 (1f:41e6) + db CH4 + dw SFX_Ledge_3_Ch1 + +SFX_Teleport_Enter2_3:: ; 7c1e9 (1f:41e9) + db CH7 + dw SFX_Teleport_Enter2_3_Ch1 + +SFX_Fly_3:: ; 7c1ec (1f:41ec) + db CH7 + dw SFX_Fly_3_Ch1 + +SFX_Denied_3:: ; 7c1ef (1f:41ef) + db ( $40 | CH4 ) + dw SFX_Denied_3_Ch1 + db CH5 + dw SFX_Denied_3_Ch2 + +SFX_Arrow_Tiles_3:: ; 7c1f5 (1f:41f5) + db CH4 + dw SFX_Arrow_Tiles_3_Ch1 + +SFX_Push_Boulder_3:: ; 7c1f8 (1f:41f8) + db CH7 + dw SFX_Push_Boulder_3_Ch1 + +SFX_SS_Anne_Horn_3:: ; 7c1fb (1f:41fb) + db ( $40 | CH4 ) + dw SFX_SS_Anne_Horn_3_Ch1 + db CH5 + dw SFX_SS_Anne_Horn_3_Ch2 + +SFX_Withdraw_Deposit_3:: ; 7c201 (1f:4201) + db CH4 + dw SFX_Withdraw_Deposit_3_Ch1 + +SFX_Cut_3:: ; 7c204 (1f:4204) + db CH7 + dw SFX_Cut_3_Ch1 + +SFX_Go_Inside_3:: ; 7c207 (1f:4207) + db CH7 + dw SFX_Go_Inside_3_Ch1 + +SFX_Swap_3:: ; 7c20a (1f:420a) + db ( $40 | CH4 ) + dw SFX_Swap_3_Ch1 + db CH5 + dw SFX_Swap_3_Ch2 + +SFX_59_3:: ; 7c210 (1f:4210) + db ( $40 | CH4 ) + dw SFX_59_3_Ch1 + db CH5 + dw SFX_59_3_Ch2 + +SFX_Purchase_3:: ; 7c216 (1f:4216) + db ( $40 | CH4 ) + dw SFX_Purchase_3_Ch1 + db CH5 + dw SFX_Purchase_3_Ch2 + +SFX_Collision_3:: ; 7c21c (1f:421c) + db CH4 + dw SFX_Collision_3_Ch1 + +SFX_Go_Outside_3:: ; 7c21f (1f:421f) + db CH7 + dw SFX_Go_Outside_3_Ch1 + +SFX_Save_3:: ; 7c222 (1f:4222) + db ( $40 | CH4 ) + dw SFX_Save_3_Ch1 + db CH5 + dw SFX_Save_3_Ch2 + +SFX_Intro_Lunge:: ; 7c228 (1f:4228) + db CH7 + dw SFX_Intro_Lunge_Ch1 + +SFX_Intro_Hip:: ; 7c22b (1f:422b) + db CH4 + dw SFX_Intro_Hip_Ch1 + +SFX_Intro_Hop:: ; 7c22e (1f:422e) + db CH4 + dw SFX_Intro_Hop_Ch1 + +SFX_Intro_Raise:: ; 7c231 (1f:4231) + db CH7 + dw SFX_Intro_Raise_Ch1 + +SFX_Intro_Crash:: ; 7c234 (1f:4234) + db CH7 + dw SFX_Intro_Crash_Ch1 + +SFX_Intro_Whoosh:: ; 7c237 (1f:4237) + db CH7 + dw SFX_Intro_Whoosh_Ch1 + +SFX_Slots_Stop_Wheel:: ; 7c23a (1f:423a) + db CH4 + dw SFX_Slots_Stop_Wheel_Ch1 + +SFX_Slots_Reward:: ; 7c23d (1f:423d) + db CH4 + dw SFX_Slots_Reward_Ch1 + +SFX_Slots_New_Spin:: ; 7c240 (1f:4240) + db ( $40 | CH4 ) + dw SFX_Slots_New_Spin_Ch1 + db CH5 + dw SFX_Slots_New_Spin_Ch2 + +SFX_Shooting_Star:: ; 7c246 (1f:4246) + db CH4 + dw SFX_Shooting_Star_Ch1 diff --git a/audio/sfx/pokeflute_ch1_ch2.asm b/audio/sfx/pokeflute_ch1_ch2.asm new file mode 100755 index 00000000..4ccf89d8 --- /dev/null +++ b/audio/sfx/pokeflute_ch1_ch2.asm @@ -0,0 +1,14 @@ +SFX_08_PokeFlute_Ch1: ; 22322 (8:6322) + tempo 256 + + +SFX_08_PokeFlute_Ch2: ; 22325 (8:6325) + executemusic + notetype 8, 0, 0 + rest 5 + rest 7 + rest 5 + rest 5 + rest 5 + rest 5 + endchannel diff --git a/audio/sfx/pokeflute_ch3.asm b/audio/sfx/pokeflute_ch3.asm new file mode 100755 index 00000000..0652e673 --- /dev/null +++ b/audio/sfx/pokeflute_ch3.asm @@ -0,0 +1,13 @@ +SFX_08_PokeFlute_Ch3: ; 2049b (8:449b) + executemusic + vibrato 16, 1, 4 + notetype 8, 1, 0 + octave 5 + E_ 3 + F_ 3 + G_ 7 + A_ 3 + G_ 3 + octave 6 + C_ 13 + endchannel diff --git a/audio/sfx/sfx_02_unused.asm b/audio/sfx/sfx_02_unused.asm deleted file mode 100755 index bd9bdfb3..00000000 --- a/audio/sfx/sfx_02_unused.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_02_unused_Ch1: ; 86e3 (2:46e3) - dutycycle 240 - unknownsfx0x20 15, 224, 128, 7 - unknownsfx0x20 15, 240, 132, 7 - unknownsfx0x20 15, 195, 224, 5 - unknownsfx0x20 15, 196, 0, 6 - unknownsfx0x20 10, 108, 128, 7 - unknownsfx0x20 8, 113, 132, 7 - endchannel - - -SFX_02_unused_Ch2: ; 86fe (2:46fe) - dutycycle 5 - unknownsfx0x20 15, 160, 65, 7 - unknownsfx0x20 15, 176, 67, 7 - unknownsfx0x20 15, 147, 177, 5 - unknownsfx0x20 15, 148, 193, 5 - unknownsfx0x20 10, 76, 65, 7 - unknownsfx0x20 8, 49, 70, 7 - endchannel - - -SFX_02_unused_Ch3: ; 8719 (2:4719) - unknownnoise0x20 2, 242, 76 - unknownnoise0x20 6, 224, 58 - unknownnoise0x20 15, 208, 58 - unknownnoise0x20 8, 208, 44 - unknownnoise0x20 6, 230, 76 - unknownnoise0x20 12, 125, 76 - unknownnoise0x20 15, 211, 76 - endchannel diff --git a/audio/sfx/sfx_08_pokeflute.asm b/audio/sfx/sfx_08_pokeflute.asm deleted file mode 100755 index 4ccf89d8..00000000 --- a/audio/sfx/sfx_08_pokeflute.asm +++ /dev/null @@ -1,14 +0,0 @@ -SFX_08_PokeFlute_Ch1: ; 22322 (8:6322) - tempo 256 - - -SFX_08_PokeFlute_Ch2: ; 22325 (8:6325) - executemusic - notetype 8, 0, 0 - rest 5 - rest 7 - rest 5 - rest 5 - rest 5 - rest 5 - endchannel diff --git a/audio/sfx/sfx_08_pokeflute_ch3.asm b/audio/sfx/sfx_08_pokeflute_ch3.asm deleted file mode 100755 index 0652e673..00000000 --- a/audio/sfx/sfx_08_pokeflute_ch3.asm +++ /dev/null @@ -1,13 +0,0 @@ -SFX_08_PokeFlute_Ch3: ; 2049b (8:449b) - executemusic - vibrato 16, 1, 4 - notetype 8, 1, 0 - octave 5 - E_ 3 - F_ 3 - G_ 7 - A_ 3 - G_ 3 - octave 6 - C_ 13 - endchannel diff --git a/audio/sfx/sfx_08_unused.asm b/audio/sfx/sfx_08_unused.asm deleted file mode 100755 index 25e4840c..00000000 --- a/audio/sfx/sfx_08_unused.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_08_unused_Ch1: ; 2098b (8:498b) - dutycycle 240 - unknownsfx0x20 15, 224, 128, 7 - unknownsfx0x20 15, 240, 132, 7 - unknownsfx0x20 15, 195, 224, 5 - unknownsfx0x20 15, 196, 0, 6 - unknownsfx0x20 10, 108, 128, 7 - unknownsfx0x20 8, 113, 132, 7 - endchannel - - -SFX_08_unused_Ch2: ; 209a6 (8:49a6) - dutycycle 5 - unknownsfx0x20 15, 160, 65, 7 - unknownsfx0x20 15, 176, 67, 7 - unknownsfx0x20 15, 147, 177, 5 - unknownsfx0x20 15, 148, 193, 5 - unknownsfx0x20 10, 76, 65, 7 - unknownsfx0x20 8, 49, 70, 7 - endchannel - - -SFX_08_unused_Ch3: ; 209c1 (8:49c1) - unknownnoise0x20 2, 242, 76 - unknownnoise0x20 6, 224, 58 - unknownnoise0x20 15, 208, 58 - unknownnoise0x20 8, 208, 44 - unknownnoise0x20 6, 230, 76 - unknownnoise0x20 12, 125, 76 - unknownnoise0x20 15, 211, 76 - endchannel diff --git a/audio/sfx/sfx_08_unused2.asm b/audio/sfx/sfx_08_unused2.asm deleted file mode 100755 index 1eca4432..00000000 --- a/audio/sfx/sfx_08_unused2.asm +++ /dev/null @@ -1,56 +0,0 @@ -SFX_08_unused2_Ch1: ; 2232f (8:632f) - executemusic - tempo 256 - volume 7, 7 - vibrato 6, 2, 6 - duty 2 - toggleperfectpitch - notetype 6, 11, 1 - octave 3 - G# 2 - G# 2 - notetype 6, 11, 3 - G# 2 - B_ 2 - octave 4 - E_ 8 - endchannel - - -SFX_08_unused2_Ch2: ; 22347 (8:6347) - executemusic - vibrato 8, 2, 7 - duty 2 - notetype 6, 12, 1 - octave 4 - E_ 2 - E_ 1 - E_ 1 - notetype 6, 12, 3 - E_ 2 - G# 2 - B_ 8 - endchannel - - -SFX_08_unused2_Ch3: ; 22359 (8:6359) - executemusic - notetype 6, 1, 0 - octave 4 - B_ 1 - rest 1 - notetype 3, 1, 0 - B_ 1 - rest 1 - B_ 1 - rest 1 - notetype 6, 1, 0 - B_ 1 - rest 1 - octave 5 - E_ 1 - rest 1 - octave 4 - B_ 4 - rest 4 - endchannel diff --git a/audio/sfx/sfx_1f_unused.asm b/audio/sfx/sfx_1f_unused.asm deleted file mode 100755 index dfb16ee1..00000000 --- a/audio/sfx/sfx_1f_unused.asm +++ /dev/null @@ -1,31 +0,0 @@ -SFX_1f_unused_Ch1: ; 7c758 (1f:4758) - dutycycle 240 - unknownsfx0x20 15, 224, 128, 7 - unknownsfx0x20 15, 240, 132, 7 - unknownsfx0x20 15, 195, 224, 5 - unknownsfx0x20 15, 196, 0, 6 - unknownsfx0x20 10, 108, 128, 7 - unknownsfx0x20 8, 113, 132, 7 - endchannel - - -SFX_1f_unused_Ch2: ; 7c773 (1f:4773) - dutycycle 5 - unknownsfx0x20 15, 160, 65, 7 - unknownsfx0x20 15, 176, 67, 7 - unknownsfx0x20 15, 147, 177, 5 - unknownsfx0x20 15, 148, 193, 5 - unknownsfx0x20 10, 76, 65, 7 - unknownsfx0x20 8, 49, 70, 7 - endchannel - - -SFX_1f_unused_Ch3: ; 7c78e (1f:478e) - unknownnoise0x20 2, 242, 76 - unknownnoise0x20 6, 224, 58 - unknownnoise0x20 15, 208, 58 - unknownnoise0x20 8, 208, 44 - unknownnoise0x20 6, 230, 76 - unknownnoise0x20 12, 125, 76 - unknownnoise0x20 15, 211, 76 - endchannel diff --git a/audio/sfx/unused2_2.asm b/audio/sfx/unused2_2.asm new file mode 100755 index 00000000..1eca4432 --- /dev/null +++ b/audio/sfx/unused2_2.asm @@ -0,0 +1,56 @@ +SFX_08_unused2_Ch1: ; 2232f (8:632f) + executemusic + tempo 256 + volume 7, 7 + vibrato 6, 2, 6 + duty 2 + toggleperfectpitch + notetype 6, 11, 1 + octave 3 + G# 2 + G# 2 + notetype 6, 11, 3 + G# 2 + B_ 2 + octave 4 + E_ 8 + endchannel + + +SFX_08_unused2_Ch2: ; 22347 (8:6347) + executemusic + vibrato 8, 2, 7 + duty 2 + notetype 6, 12, 1 + octave 4 + E_ 2 + E_ 1 + E_ 1 + notetype 6, 12, 3 + E_ 2 + G# 2 + B_ 8 + endchannel + + +SFX_08_unused2_Ch3: ; 22359 (8:6359) + executemusic + notetype 6, 1, 0 + octave 4 + B_ 1 + rest 1 + notetype 3, 1, 0 + B_ 1 + rest 1 + B_ 1 + rest 1 + notetype 6, 1, 0 + B_ 1 + rest 1 + octave 5 + E_ 1 + rest 1 + octave 4 + B_ 4 + rest 4 + endchannel diff --git a/audio/sfx/unused_1.asm b/audio/sfx/unused_1.asm new file mode 100755 index 00000000..bd9bdfb3 --- /dev/null +++ b/audio/sfx/unused_1.asm @@ -0,0 +1,31 @@ +SFX_02_unused_Ch1: ; 86e3 (2:46e3) + dutycycle 240 + unknownsfx0x20 15, 224, 128, 7 + unknownsfx0x20 15, 240, 132, 7 + unknownsfx0x20 15, 195, 224, 5 + unknownsfx0x20 15, 196, 0, 6 + unknownsfx0x20 10, 108, 128, 7 + unknownsfx0x20 8, 113, 132, 7 + endchannel + + +SFX_02_unused_Ch2: ; 86fe (2:46fe) + dutycycle 5 + unknownsfx0x20 15, 160, 65, 7 + unknownsfx0x20 15, 176, 67, 7 + unknownsfx0x20 15, 147, 177, 5 + unknownsfx0x20 15, 148, 193, 5 + unknownsfx0x20 10, 76, 65, 7 + unknownsfx0x20 8, 49, 70, 7 + endchannel + + +SFX_02_unused_Ch3: ; 8719 (2:4719) + unknownnoise0x20 2, 242, 76 + unknownnoise0x20 6, 224, 58 + unknownnoise0x20 15, 208, 58 + unknownnoise0x20 8, 208, 44 + unknownnoise0x20 6, 230, 76 + unknownnoise0x20 12, 125, 76 + unknownnoise0x20 15, 211, 76 + endchannel diff --git a/audio/sfx/unused_2.asm b/audio/sfx/unused_2.asm new file mode 100755 index 00000000..25e4840c --- /dev/null +++ b/audio/sfx/unused_2.asm @@ -0,0 +1,31 @@ +SFX_08_unused_Ch1: ; 2098b (8:498b) + dutycycle 240 + unknownsfx0x20 15, 224, 128, 7 + unknownsfx0x20 15, 240, 132, 7 + unknownsfx0x20 15, 195, 224, 5 + unknownsfx0x20 15, 196, 0, 6 + unknownsfx0x20 10, 108, 128, 7 + unknownsfx0x20 8, 113, 132, 7 + endchannel + + +SFX_08_unused_Ch2: ; 209a6 (8:49a6) + dutycycle 5 + unknownsfx0x20 15, 160, 65, 7 + unknownsfx0x20 15, 176, 67, 7 + unknownsfx0x20 15, 147, 177, 5 + unknownsfx0x20 15, 148, 193, 5 + unknownsfx0x20 10, 76, 65, 7 + unknownsfx0x20 8, 49, 70, 7 + endchannel + + +SFX_08_unused_Ch3: ; 209c1 (8:49c1) + unknownnoise0x20 2, 242, 76 + unknownnoise0x20 6, 224, 58 + unknownnoise0x20 15, 208, 58 + unknownnoise0x20 8, 208, 44 + unknownnoise0x20 6, 230, 76 + unknownnoise0x20 12, 125, 76 + unknownnoise0x20 15, 211, 76 + endchannel diff --git a/audio/sfx/unused_3.asm b/audio/sfx/unused_3.asm new file mode 100755 index 00000000..dfb16ee1 --- /dev/null +++ b/audio/sfx/unused_3.asm @@ -0,0 +1,31 @@ +SFX_1f_unused_Ch1: ; 7c758 (1f:4758) + dutycycle 240 + unknownsfx0x20 15, 224, 128, 7 + unknownsfx0x20 15, 240, 132, 7 + unknownsfx0x20 15, 195, 224, 5 + unknownsfx0x20 15, 196, 0, 6 + unknownsfx0x20 10, 108, 128, 7 + unknownsfx0x20 8, 113, 132, 7 + endchannel + + +SFX_1f_unused_Ch2: ; 7c773 (1f:4773) + dutycycle 5 + unknownsfx0x20 15, 160, 65, 7 + unknownsfx0x20 15, 176, 67, 7 + unknownsfx0x20 15, 147, 177, 5 + unknownsfx0x20 15, 148, 193, 5 + unknownsfx0x20 10, 76, 65, 7 + unknownsfx0x20 8, 49, 70, 7 + endchannel + + +SFX_1f_unused_Ch3: ; 7c78e (1f:478e) + unknownnoise0x20 2, 242, 76 + unknownnoise0x20 6, 224, 58 + unknownnoise0x20 15, 208, 58 + unknownnoise0x20 8, 208, 44 + unknownnoise0x20 6, 230, 76 + unknownnoise0x20 12, 125, 76 + unknownnoise0x20 15, 211, 76 + endchannel diff --git a/constants/music_constants.asm b/constants/music_constants.asm index d8c62dda..f239acea 100644 --- a/constants/music_constants.asm +++ b/constants/music_constants.asm @@ -1,7 +1,7 @@ ; Song ids are calculated by address to save space. music_const: MACRO -\1 EQUS "((\2 - SFX_Headers_02) / 3)" +\1 EQUS "((\2 - SFX_Headers_1) / 3)" ENDM ; AUDIO_1 diff --git a/engine/overworld/healing_machine.asm b/engine/overworld/healing_machine.asm index f9dcc3a5..b123f33f 100755 --- a/engine/overworld/healing_machine.asm +++ b/engine/overworld/healing_machine.asm @@ -35,7 +35,7 @@ AnimateHealingMachine: ; 70433 (1c:4433) dec b jr nz, .asm_7046e ld a, [wc0ef] - cp BANK(Music1f_UpdateMusic) + cp BANK(Audio3_UpdateMusic) ld [wc0f0], a jr nz, .asm_70495 ld a, $ff diff --git a/home/audio.asm b/home/audio.asm index 1301550c..033f4067 100644 --- a/home/audio.asm +++ b/home/audio.asm @@ -56,19 +56,19 @@ Func_2324:: ; 2324 (0:2324) Func_235f:: ; 235f (0:235f) ld a, [wc0ef] ld b, a - cp BANK(Music2_UpdateMusic) - jr nz, .checkForBank08 -.bank02 - ld hl, Music2_UpdateMusic + cp BANK(Audio1_UpdateMusic) + jr nz, .checkForAudio2 +.audio1 + ld hl, Audio1_UpdateMusic jr .asm_2378 -.checkForBank08 - cp BANK(Music8_UpdateMusic) - jr nz, .bank1F -.bank08 - ld hl, Music8_UpdateMusic +.checkForAudio2 + cp BANK(Audio2_UpdateMusic) + jr nz, .audio3 +.audio2 + ld hl, Audio2_UpdateMusic jr .asm_2378 -.bank1F - ld hl, Music1f_UpdateMusic +.audio3 + ld hl, Audio3_UpdateMusic .asm_2378 ld c, $6 .asm_237a @@ -147,22 +147,22 @@ PlaySound:: ; 23b1 (0:23b1) ld a, [wc0ef] ld [H_LOADEDROMBANK], a ld [MBC1RomBank], a - cp BANK(Music2_9876) - jr nz, .checkForBank08 -.bank02 + cp BANK(Audio1_9876) + jr nz, .checkForAudio2 +.audio1 ld a, b - call Music2_9876 + call Audio1_9876 jr .asm_240b -.checkForBank08 - cp BANK(Music8_22035) - jr nz, .bank1F -.bank08 +.checkForAudio2 + cp BANK(Audio2_22035) + jr nz, .audio3 +.audio2 ld a, b - call Music8_22035 + call Audio2_22035 jr .asm_240b -.bank1F +.audio3 ld a, b - call Music1f_7d8ea + call Audio3_7d8ea .asm_240b ld a, [$ffb9] ld [H_LOADEDROMBANK], a diff --git a/home/init.asm b/home/init.asm index 848a81a3..624a4d6a 100644 --- a/home/init.asm +++ b/home/init.asm @@ -126,7 +126,7 @@ ClearVram: StopAllSounds:: - ld a, BANK(Music2_UpdateMusic) + ld a, BANK(Audio1_UpdateMusic) ld [wc0ef], a ld [wc0f0], a xor a diff --git a/home/vblank.asm b/home/vblank.asm index 9adf537c..05b01a3d 100644 --- a/home/vblank.asm +++ b/home/vblank.asm @@ -56,20 +56,20 @@ VBlank:: ld [H_LOADEDROMBANK], a ld [MBC1RomBank], a - cp BANK(Music2_UpdateMusic) - jr nz, .notbank2 -.bank2 - call Music2_UpdateMusic + cp BANK(Audio1_UpdateMusic) + jr nz, .checkForAudio2 +.audio1 + call Audio1_UpdateMusic jr .afterMusic -.notbank2 - cp BANK(Music8_UpdateMusic) - jr nz, .bank1F -.bank8 +.checkForAudio2 + cp BANK(Audio2_UpdateMusic) + jr nz, .audio3 +.audio2 call Music_DoLowHealthAlarm - call Music8_UpdateMusic + call Audio2_UpdateMusic jr .afterMusic -.bank1F - call Music1f_UpdateMusic +.audio3 + call Audio3_UpdateMusic .afterMusic callba TrackPlayTime ; keep track of time played diff --git a/scripts/ssanne7.asm b/scripts/ssanne7.asm index a1fd791a..f1eabc29 100755 --- a/scripts/ssanne7.asm +++ b/scripts/ssanne7.asm @@ -48,7 +48,7 @@ SSAnne7RubText: ; 618ec (18:58ec) TX_FAR _SSAnne7RubText TX_ASM ld a, [wc0ef] - cp BANK(Music1f_UpdateMusic) + cp BANK(Audio3_UpdateMusic) ld [wc0f0], a jr nz, .asm_61908 ld a, $ff -- cgit v1.3.1-sl0p From 2b018159997e3b580efd114ff4e3548a0de3cbc5 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 8 Aug 2015 22:32:44 -0700 Subject: commented audio code --- audio.asm | 32 +- audio/engine_1.asm | 1277 ++++++++++++++++++---------------- audio/engine_2.asm | 540 +++++++------- audio/engine_3.asm | 532 +++++++------- constants/hardware_constants.asm | 1 - constants/music_constants.asm | 39 ++ engine/battle/animations.asm | 18 +- engine/battle/common_text.asm | 4 +- engine/battle/core.asm | 16 +- engine/battle/end_of_battle.asm | 2 +- engine/cable_club.asm | 16 +- engine/evolution.asm | 6 +- engine/hall_of_fame.asm | 8 +- engine/hidden_object_functions7.asm | 6 +- engine/intro.asm | 6 +- engine/items/items.asm | 8 +- engine/menu/pokedex.asm | 4 +- engine/menu/status_screen.asm | 4 +- engine/oak_speech.asm | 10 +- engine/overworld/elevator.asm | 2 +- engine/overworld/healing_machine.asm | 40 +- engine/overworld/npc_movement.asm | 12 +- engine/overworld/pokecenter.asm | 12 +- engine/slot_machine.asm | 4 +- engine/titlescreen.asm | 6 +- home.asm | 52 +- home/audio.asm | 233 ++++--- home/init.asm | 14 +- home/overworld.asm | 22 +- home/vblank.asm | 12 +- hram.asm | 4 +- scripts/ceruleancity.asm | 4 +- scripts/oakslab.asm | 4 +- scripts/pewterpokecenter.asm | 4 +- scripts/pokemontower2.asm | 4 +- scripts/redshouse1f.asm | 8 +- scripts/route22.asm | 10 +- scripts/silphco7.asm | 4 +- scripts/ssanne2.asm | 4 +- scripts/ssanne7.asm | 12 +- scripts/vermiliondock.asm | 2 +- wram.asm | 239 +++++-- 42 files changed, 1731 insertions(+), 1506 deletions(-) (limited to 'home/init.asm') diff --git a/audio.asm b/audio.asm index 286dc7ed..037145d8 100644 --- a/audio.asm +++ b/audio.asm @@ -364,10 +364,10 @@ SECTION "Audio Engine 1", ROMX, BANK[AUDIO_1] PlayBattleMusic:: ; 0x90c6 xor a - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a ld [wLowHealthAlarm], a dec a - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ; stop music call DelayFrame ld c, BANK(Music_GymLeaderBattle) @@ -406,7 +406,7 @@ Music_RivalAlternateStart:: ; 0x9b47 ld c, BANK(Music_MeetRival) ld a, MUSIC_MEET_RIVAL call PlayMusic - ld hl, wc006 + ld hl, wChannelCommandPointers ld de, Music_MeetRival_branch_b1a2 call Audio1_OverwriteChannelPointer ld de, Music_MeetRival_branch_b21d @@ -425,30 +425,30 @@ Music_RivalAlternateTempo:: ; 0x9b65 ld c, BANK(Music_MeetRival) ld a, MUSIC_MEET_RIVAL call PlayMusic - ld hl, wc006 + ld hl, wChannelCommandPointers ld de, Music_MeetRival_branch_b119 jp Audio1_OverwriteChannelPointer ; applies both the alternate start and alternate tempo Music_RivalAlternateStartAndTempo:: ; 0x9b75 call Music_RivalAlternateStart - ld hl, wc006 + ld hl, wChannelCommandPointers ld de, Music_MeetRival_branch_b19b jp Audio1_OverwriteChannelPointer ; an alternate tempo for Cities1 which is used for the Hall of Fame room Music_Cities1AlternateTempo:: ; 0x9b81 - ld a, $a - ld [wcfc8], a - ld [wcfc9], a - ld a, $ff - ld [wMusicHeaderPointer], a + ld a, 10 + ld [wAudioFadeOutCounterReloadValue], a + ld [wAudioFadeOutCounter], a + ld a, $ff ; stop playing music after the fade-out is finished + ld [wAudioFadeOutControl], a ld c, 100 - call DelayFrames + call DelayFrames ; wait for the fade-out to finish ld c, BANK(Music_Cities1) ld a, MUSIC_CITIES1 call PlayMusic - ld hl, wc006 + ld hl, wChannelCommandPointers ld de, Music_Cities1_branch_aa6f jp Audio1_OverwriteChannelPointer @@ -477,7 +477,7 @@ Music_DoLowHealthAlarm:: ; 2136e (8:536e) .asm_2138a ld a, $86 - ld [wc02a], a ;disable sound channel? + ld [wChannelSoundIDs + CH4], a ;disable sound channel? ld a, [wLowHealthAlarm] and $7f ;decrement alarm timer. dec a @@ -491,7 +491,7 @@ Music_DoLowHealthAlarm:: ; 2136e (8:536e) .disableAlarm xor a ld [wLowHealthAlarm], a ;disable alarm - ld [wc02a], a ;re-enable sound channel? + ld [wChannelSoundIDs + CH4], a ;re-enable sound channel? ld de, .toneDataSilence jr .playTone @@ -542,7 +542,7 @@ Music_PokeFluteInBattle:: ; 22306 (8:6306) ld a, SFX_CAUGHT_MON call PlaySoundWaitForCurrent ; then immediately overwrtie the channel pointers - ld hl, wc00e + ld hl, wChannelCommandPointers + CH4 * 2 ld de, SFX_08_PokeFlute_Ch1 call Audio2_OverwriteChannelPointer ld de, SFX_08_PokeFlute_Ch2 @@ -572,7 +572,7 @@ PlayPokedexRatingSfx:: ; 7d13b (1f:513b) .gotSfxPointer push bc ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySoundWaitForCurrent pop bc ld b, $0 diff --git a/audio/engine_1.asm b/audio/engine_1.asm index 9a302ef3..c729fa7e 100644 --- a/audio/engine_1.asm +++ b/audio/engine_1.asm @@ -3,29 +3,29 @@ Audio1_UpdateMusic:: ; 0x9103 ld c, CH0 .loop - ld b, $0 - ld hl, wc026 + ld b, 0 + ld hl, wChannelSoundIDs add hl, bc ld a, [hl] and a jr z, .nextChannel ld a, c cp CH4 - jr nc, .asm_912e ; if sfx channel - ld a, [wc002] + jr nc, .applyAffects ; if sfx channel + ld a, [wMuteAudioAndPauseMusic] and a - jr z, .asm_912e + jr z, .applyAffects bit 7, a jr nz, .nextChannel set 7, a - ld [wc002], a - xor a - ld [$ff25], a - ld [$ff1a], a + ld [wMuteAudioAndPauseMusic], a + xor a ; disable all channels' output + ld [rNR51], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a jr .nextChannel -.asm_912e +.applyAffects call Audio1_ApplyMusicAffects .nextChannel ld a, c @@ -36,15 +36,9 @@ Audio1_UpdateMusic:: ; 0x9103 ; this routine checks flags for music effects currently applied ; to the channel and calls certain functions based on flags. -; known flags for wc02e: -; 0: toggleperfectpitch has been used -; 1: call has been used -; 3: a toggle used only by this routine for vibrato -; 4: pitchbend flag -; 6: dutycycle flag Audio1_ApplyMusicAffects: ; 0x9138 ld b, $0 - ld hl, wc0b6 ; delay until next note + ld hl, wChannelNoteDelayCounters ; delay until next note add hl, bc ld a, [hl] cp $1 ; if the delay is 1, play next note @@ -54,45 +48,45 @@ Audio1_ApplyMusicAffects: ; 0x9138 ld a, c cp CH4 jr nc, .startChecks ; if a sfx channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr z, .startChecks ret .startChecks - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 6, [hl] ; dutycycle + bit BIT_ROTATE_DUTY, [hl] jr z, .checkForExecuteMusic call Audio1_ApplyDutyCycle .checkForExecuteMusic - ld b, $0 - ld hl, wc036 + ld b, 0 + ld hl, wChannelFlags2 add hl, bc - bit 0, [hl] + bit BIT_EXECUTE_MUSIC, [hl] jr nz, .checkForPitchBend - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 2, [hl] - jr nz, .disablePitchBendVibrato + bit BIT_NOISE_OR_SFX, [hl] + jr nz, .skipPitchBendVibrato .checkForPitchBend - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 4, [hl] ; pitchbend + bit BIT_PITCH_BEND_ON, [hl] jr z, .checkVibratoDelay jp Audio1_ApplyPitchBend .checkVibratoDelay - ld hl, wc04e ; vibrato delay + ld hl, wChannelVibratoDelayCounters add hl, bc ld a, [hl] and a ; check if delay is over jr z, .checkForVibrato dec [hl] ; otherwise, dec delay -.disablePitchBendVibrato +.skipPitchBendVibrato ret .checkForVibrato - ld hl, wc056 ; vibrato rate + ld hl, wChannelVibratoExtents add hl, bc ld a, [hl] and a @@ -100,38 +94,40 @@ Audio1_ApplyMusicAffects: ; 0x9138 ret ; no vibrato .vibrato ld d, a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, bc ld a, [hl] and $f and a - jr z, .vibratoAlreadyDone - dec [hl] ; apply vibrato pitch change + jr z, .applyVibrato + dec [hl] ; decrement counter ret -.vibratoAlreadyDone +.applyVibrato ld a, [hl] swap [hl] or [hl] - ld [hl], a ; reset the vibrato value and start again - ld hl, wc066 + ld [hl], a ; reload the counter + ld hl, wChannelFrequencyLowBytes add hl, bc ld e, [hl] ; get note pitch - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 3, [hl] ; this is the only code that sets/resets bit three so - jr z, .unset ; it continuously alternates which path it takes - res 3, [hl] +; This is the only code that sets/resets the vibrato direction bit, so it +; continuously alternates which path it takes. + bit BIT_VIBRATO_DIRECTION, [hl] + jr z, .unset + res BIT_VIBRATO_DIRECTION, [hl] ld a, d and $f ld d, a ld a, e sub d jr nc, .noCarry - ld a, $0 + ld a, 0 .noCarry jr .done .unset - set 3, [hl] + set BIT_VIBRATO_DIRECTION, [hl] ld a, d and $f0 swap a @@ -140,8 +136,8 @@ Audio1_ApplyMusicAffects: ; 0x9138 ld a, $ff .done ld d, a - ld b, $3 - call Audio1_9838 + ld b, REG_FREQUENCY_LO + call Audio1_GetRegisterPointer ld [hl], d ret @@ -149,16 +145,18 @@ Audio1_ApplyMusicAffects: ; 0x9138 ; like tempo changes, duty changes etc. and doesn't return ; until the first note is reached Audio1_PlayNextNote: ; 0x91d0 - ld hl, wc06e +; reload the vibrato delay counter + ld hl, wChannelVibratoDelayCounterReloadValues add hl, bc ld a, [hl] - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, bc ld [hl], a - ld hl, wc02e + + ld hl, wChannelFlags1 add hl, bc - res 4, [hl] - res 5, [hl] + res BIT_PITCH_BEND_ON, [hl] + res BIT_PITCH_BEND_DECREASING, [hl] call Audio1_endchannel ret @@ -167,34 +165,35 @@ Audio1_endchannel: ; 0x91e6 ld d, a cp $ff ; is this command an endchannel? jp nz, Audio1_callchannel ; no - ld b, $0 ; yes - ld hl, wc02e + ld b, 0 + ld hl, wChannelFlags1 add hl, bc - bit 1, [hl] + bit BIT_CHANNEL_CALL, [hl] jr nz, .returnFromCall ld a, c cp CH3 jr nc, .noiseOrSfxChannel - jr .asm_923f + jr .disableChannelOutput .noiseOrSfxChannel - res 2, [hl] - ld hl, wc036 + res BIT_NOISE_OR_SFX, [hl] + ld hl, wChannelFlags2 add hl, bc - res 0, [hl] + res BIT_EXECUTE_MUSIC, [hl] cp CH6 - jr nz, .notSfxChannel3 + jr nz, .skipSfxChannel3 +; restart hardware channel 3 (wave channel) output ld a, $0 - ld [$ff1a], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a -.notSfxChannel3 + ld [rNR30], a +.skipSfxChannel3 jr nz, .asm_9222 - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr z, .asm_9222 xor a - ld [wc003], a - jr .asm_923f + ld [wDisableChannelOutputWhenSfxEnds], a + jr .disableChannelOutput .asm_9222 jr .asm_9248 .returnFromCall @@ -203,10 +202,10 @@ Audio1_endchannel: ; 0x91e6 ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de push hl ; store current channel address - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld e, l ld d, h @@ -217,36 +216,36 @@ Audio1_endchannel: ; 0x91e6 ld a, [de] ld [hl], a ; loads channel address to return to jp Audio1_endchannel -.asm_923f - ld hl, Unknown_9b1f +.disableChannelOutput + ld hl, Audio1_HWChannelDisableMasks add hl, bc - ld a, [$ff25] + ld a, [rNR51] and [hl] - ld [$ff25], a + ld [rNR51], a .asm_9248 - ld a, [wc02a] - cp $14 + ld a, [wChannelSoundIDs + CH4] + cp CRY_SFX_START jr nc, .asm_9251 - jr .asm_926e + jr .skipCry .asm_9251 - ld a, [wc02a] - cp $86 - jr z, .asm_926e - jr c, .asm_925c - jr .asm_926e -.asm_925c + ld a, [wChannelSoundIDs + CH4] + cp CRY_SFX_END + jr z, .skipCry + jr c, .cry + jr .skipCry +.cry ld a, c cp CH4 jr z, .asm_9265 - call Audio1_96c7 + call Audio1_GoBackOneCommandIfCry ret c .asm_9265 - ld a, [wc005] - ld [$ff24], a + ld a, [wSavedVolume] + ld [rNR50], a xor a - ld [wc005], a -.asm_926e - ld hl, wc026 + ld [wSavedVolume], a +.skipCry + ld hl, wChannelSoundIDs add hl, bc ld [hl], b ret @@ -254,7 +253,7 @@ Audio1_endchannel: ; 0x91e6 Audio1_callchannel: ; 0x9274 cp $fd ; is this command a callchannel? jp nz, Audio1_loopchannel ; no - call Audio1_GetNextMusicByte ; yes + call Audio1_GetNextMusicByte push af call Audio1_GetNextMusicByte ld d, a @@ -265,10 +264,10 @@ Audio1_callchannel: ; 0x9274 ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de push hl - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld e, l ld d, h @@ -283,20 +282,20 @@ Audio1_callchannel: ; 0x9274 inc hl ld [hl], d ; overwrite current address with pointer ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - set 1, [hl] ; set the call flag + set BIT_CHANNEL_CALL, [hl] ; set the call flag jp Audio1_endchannel Audio1_loopchannel: ; 0x92a9 cp $fe ; is this command a loopchannel? jp nz, Audio1_notetype ; no - call Audio1_GetNextMusicByte ; yes + call Audio1_GetNextMusicByte ld e, a and a jr z, .infiniteLoop - ld b, $0 - ld hl, wc0be + ld b, 0 + ld hl, wChannelLoopCounters add hl, bc ld a, [hl] cp e @@ -319,7 +318,7 @@ Audio1_loopchannel: ; 0x92a9 ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de pop af ld [hli], a @@ -330,10 +329,10 @@ Audio1_notetype: ; 0x92e4 and $f0 cp $d0 ; is this command a notetype? jp nz, Audio1_toggleperfectpitch ; no - ld a, d ; yes + ld a, d and $f ld b, $0 - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, bc ld [hl], a ; store low nibble as speed ld a, c @@ -345,15 +344,15 @@ Audio1_notetype: ; 0x92e4 cp CH2 jr z, .musicChannel3 cp CH6 - jr nz, .notChannel3 - ld hl, wc0e7 - jr .sfxChannel3 + jr nz, .skipChannel3 + ld hl, wSfxWaveInstrument + jr .channel3 .musicChannel3 - ld hl, wc0e6 -.sfxChannel3 + ld hl, wMusicWaveInstrument +.channel3 ld a, d and $f - ld [hl], a ; store low nibble of param as duty + ld [hl], a ; store low nibble of param as wave instrument ld a, d and $30 sla a @@ -362,9 +361,9 @@ Audio1_notetype: ; 0x92e4 ; if channel 3, store high nibble as volume ; else, store volume (high nibble) and fade (low nibble) -.notChannel3 - ld b, $0 - ld hl, wc0de +.skipChannel3 + ld b, 0 + ld hl, wChannelVolumes add hl, bc ld [hl], d .noiseChannel @@ -374,56 +373,70 @@ Audio1_toggleperfectpitch: ; 0x9323 ld a, d cp $e8 ; is this command a toggleperfectpitch? jr nz, Audio1_vibrato ; no - ld b, $0 ; yes - ld hl, wc02e + ld b, 0 + ld hl, wChannelFlags1 add hl, bc ld a, [hl] xor $1 - ld [hl], a ; flip bit 0 of wc02e + ld [hl], a ; flip bit 0 of wChannelFlags1 jp Audio1_endchannel Audio1_vibrato: ; 0x9335 cp $ea ; is this command a vibrato? jr nz, Audio1_pitchbend ; no - call Audio1_GetNextMusicByte ; yes - ld b, $0 - ld hl, wc04e + call Audio1_GetNextMusicByte + ld b, 0 + ld hl, wChannelVibratoDelayCounters add hl, bc ld [hl], a ; store delay - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, bc ld [hl], a ; store delay call Audio1_GetNextMusicByte ld d, a + +; The high nybble of the command byte is the extent of the vibrato. +; Let n be the extent. +; The upper nybble of the channel's byte in the wChannelVibratoExtents +; array will store the extent above the note: (n / 2) + (n % 2). +; The lower nybble will store the extent below the note: (n / 2). +; These two values add to the total extent, n. and $f0 swap a - ld b, $0 - ld hl, wc056 + ld b, 0 + ld hl, wChannelVibratoExtents add hl, bc srl a ld e, a adc b swap a or e - ld [hl], a ; store rate as both high and low nibbles + ld [hl], a + +; The low nybble of the command byte is the rate of the vibrato. +; The high and low nybbles of the channel's byte in the wChannelVibratoRates +; array are both initialised to this value because the high nybble is the +; counter reload value and the low nybble is the counter itself, which should +; start at its value upon reload. ld a, d and $f ld d, a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, bc swap a or d - ld [hl], a ; store depth as both high and low nibbles + ld [hl], a + jp Audio1_endchannel Audio1_pitchbend: ; 0x936d cp $eb ; is this command a pitchbend? jr nz, Audio1_duty ; no - call Audio1_GetNextMusicByte ; yes - ld b, $0 - ld hl, wc076 + call Audio1_GetNextMusicByte + ld b, 0 + ld hl, wChannelPitchBendLengthModifiers add hl, bc - ld [hl], a ; store first param + ld [hl], a call Audio1_GetNextMusicByte ld d, a and $f0 @@ -431,18 +444,18 @@ Audio1_pitchbend: ; 0x936d ld b, a ld a, d and $f - call Audio1_9858 - ld b, $0 - ld hl, wc0a6 + call Audio1_CalculateFrequency + ld b, 0 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc - ld [hl], d ; store unknown part of second param - ld hl, wc0ae + ld [hl], d + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc - ld [hl], e ; store unknown part of second param - ld b, $0 - ld hl, wc02e + ld [hl], e + ld b, 0 + ld hl, wChannelFlags1 add hl, bc - set 4, [hl] ; set pitchbend flag + set BIT_PITCH_BEND_ON, [hl] call Audio1_GetNextMusicByte ld d, a jp Audio1_notelength @@ -450,12 +463,12 @@ Audio1_pitchbend: ; 0x936d Audio1_duty: ; 0x93a5 cp $ec ; is this command a duty? jr nz, Audio1_tempo ; no - call Audio1_GetNextMusicByte ; yes + call Audio1_GetNextMusicByte rrca rrca and $c0 - ld b, $0 - ld hl, wc03e + ld b, 0 + ld hl, wChannelDuties add hl, bc ld [hl], a ; store duty jp Audio1_endchannel @@ -463,96 +476,96 @@ Audio1_duty: ; 0x93a5 Audio1_tempo: ; 0x93ba cp $ed ; is this command a tempo? jr nz, Audio1_stereopanning ; no - ld a, c ; yes + ld a, c cp CH4 jr nc, .sfxChannel call Audio1_GetNextMusicByte - ld [wc0e8], a ; store first param + ld [wMusicTempo], a ; store first param call Audio1_GetNextMusicByte - ld [wc0e9], a ; store second param + ld [wMusicTempo + 1], a ; store second param xor a - ld [wc0ce], a ; clear RAM - ld [wc0cf], a - ld [wc0d0], a - ld [wc0d1], a + ld [wChannelNoteDelayCountersFractionalPart], a ; clear RAM + ld [wChannelNoteDelayCountersFractionalPart + 1], a + ld [wChannelNoteDelayCountersFractionalPart + 2], a + ld [wChannelNoteDelayCountersFractionalPart + 3], a jr .musicChannelDone .sfxChannel call Audio1_GetNextMusicByte - ld [wc0ea], a ; store first param + ld [wSfxTempo], a ; store first param call Audio1_GetNextMusicByte - ld [wc0eb], a ; store second param + ld [wSfxTempo + 1], a ; store second param xor a - ld [wc0d2], a ; clear RAM - ld [wc0d3], a - ld [wc0d4], a - ld [wc0d5], a + ld [wChannelNoteDelayCountersFractionalPart + 4], a ; clear RAM + ld [wChannelNoteDelayCountersFractionalPart + 5], a + ld [wChannelNoteDelayCountersFractionalPart + 6], a + ld [wChannelNoteDelayCountersFractionalPart + 7], a .musicChannelDone jp Audio1_endchannel Audio1_stereopanning: ; 0x93fa cp $ee ; is this command a stereopanning? jr nz, Audio1_unknownmusic0xef ; no - call Audio1_GetNextMusicByte ; yes - ld [wc004], a ; store panning + call Audio1_GetNextMusicByte + ld [wStereoPanning], a ; store panning jp Audio1_endchannel ; this appears to never be used Audio1_unknownmusic0xef: ; 0x9407 cp $ef ; is this command an unknownmusic0xef? jr nz, Audio1_dutycycle ; no - call Audio1_GetNextMusicByte ; yes + call Audio1_GetNextMusicByte push bc - call Audio1_9876 + call Audio1_PlaySound pop bc - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr nz, .skip - ld a, [wc02d] - ld [wc003], a + ld a, [wChannelSoundIDs + CH7] + ld [wDisableChannelOutputWhenSfxEnds], a xor a - ld [wc02d], a + ld [wChannelSoundIDs + CH7], a .skip jp Audio1_endchannel Audio1_dutycycle: ; 0x9426 cp $fc ; is this command a dutycycle? jr nz, Audio1_volume ; no - call Audio1_GetNextMusicByte ; yes - ld b, $0 - ld hl, wc046 + call Audio1_GetNextMusicByte + ld b, 0 + ld hl, wChannelDutyCycles add hl, bc ld [hl], a ; store full cycle and $c0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld [hl], a ; store first duty - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - set 6, [hl] ; set dutycycle flag + set BIT_ROTATE_DUTY, [hl] jp Audio1_endchannel Audio1_volume: ; 0x9444 cp $f0 ; is this command a volume? jr nz, Audio1_executemusic ; no - call Audio1_GetNextMusicByte ; yes - ld [$ff24], a ; store volume + call Audio1_GetNextMusicByte + ld [rNR50], a ; store volume jp Audio1_endchannel Audio1_executemusic: ; 0x9450 cp $f8 ; is this command an executemusic? jr nz, Audio1_octave ; no - ld b, $0 ; yes - ld hl, wc036 + ld b, $0 + ld hl, wChannelFlags2 add hl, bc - set 0, [hl] + set BIT_EXECUTE_MUSIC, [hl] jp Audio1_endchannel Audio1_octave: ; 0x945f and $f0 cp $e0 ; is this command an octave? jr nz, Audio1_unknownsfx0x20 ; no - ld hl, wc0d6 ; yes - ld b, $0 + ld hl, wChannelOctaves + ld b, 0 add hl, bc ld a, d and $f @@ -561,47 +574,54 @@ Audio1_octave: ; 0x945f Audio1_unknownsfx0x20: ; 0x9472 cp $20 ; is this command an unknownsfx0x20? - jr nz, Audio1_unknownsfx0x10 ; no + jr nz, Audio1_unknownsfx0x10 ld a, c cp CH3 ; is this a noise or sfx channel? jr c, Audio1_unknownsfx0x10 ; no - ld b, $0 - ld hl, wc036 + ld b, 0 + ld hl, wChannelFlags2 add hl, bc - bit 0, [hl] - jr nz, Audio1_unknownsfx0x10 ; no - call Audio1_notelength ; yes + bit BIT_EXECUTE_MUSIC, [hl] ; is executemusic being used? + jr nz, Audio1_unknownsfx0x10 ; yes + call Audio1_notelength + +; This code seems to do the same thing as what Audio1_ApplyDutyAndSoundLength +; does below. ld d, a - ld b, $0 - ld hl, wc03e + ld b, 0 + ld hl, wChannelDuties add hl, bc ld a, [hl] or d ld d, a - ld b, $1 - call Audio1_9838 + ld b, REG_DUTY_SOUND_LEN + call Audio1_GetRegisterPointer ld [hl], d + call Audio1_GetNextMusicByte ld d, a - ld b, $2 - call Audio1_9838 + ld b, REG_VOLUME_ENVELOPE + call Audio1_GetRegisterPointer ld [hl], d call Audio1_GetNextMusicByte ld e, a ld a, c cp CH7 - ld a, $0 - jr z, .sfxNoiseChannel ; only two params for noise channel + ld a, 0 + jr z, .skip +; Channels 1 through 3 have 2 registers that control frequency, but the noise +; channel a single register (the polynomial counter) that controls frequency, +; so this command has one less byte on the noise channel. push de call Audio1_GetNextMusicByte pop de -.sfxNoiseChannel +.skip ld d, a push de - call Audio1_9629 - call Audio1_95f8 + call Audio1_ApplyDutyAndSoundLength + call Audio1_EnableChannelOutput pop de - call Audio1_964b + call Audio1_ApplyWavePatternAndFrequency ret Audio1_unknownsfx0x10: @@ -612,12 +632,12 @@ Audio1_unknownsfx0x10: cp $10 ; is this command a unknownsfx0x10? jr nz, Audio1_note ; no ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc - bit 0, [hl] + bit BIT_EXECUTE_MUSIC, [hl] jr nz, Audio1_note ; no - call Audio1_GetNextMusicByte ; yes - ld [$ff10], a + call Audio1_GetNextMusicByte + ld [rNR10], a jp Audio1_endchannel Audio1_note: @@ -627,7 +647,7 @@ Audio1_note: ld a, d and $f0 cp $b0 ; is this command a dnote? - jr z, Audio1_dnote ; yes + jr z, Audio1_dnote jr nc, Audio1_notelength ; no swap a ld b, a @@ -647,11 +667,11 @@ Audio1_dnote: call Audio1_GetNextMusicByte ; get dnote instrument asm_94fd ld d, a - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr nz, .asm_9508 ld a, d - call Audio1_9876 + call Audio1_PlaySound .asm_9508 pop bc pop de @@ -661,20 +681,20 @@ Audio1_notelength: ; 0x950a push af and $f inc a - ld b, $0 + ld b, 0 ld e, a ; store note length (in 16ths) ld d, b - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, bc ld a, [hl] ld l, b - call Audio1_9847 + call Audio1_MultiplyAdd ld a, c cp CH4 jr nc, .sfxChannel - ld a, [wc0e8] + ld a, [wMusicTempo] ld d, a - ld a, [wc0e9] + ld a, [wMusicTempo + 1] ld e, a jr .skip .sfxChannel @@ -682,34 +702,34 @@ Audio1_notelength: ; 0x950a ld e, $0 cp CH7 jr z, .skip ; if noise channel - call Audio1_9693 - ld a, [wc0ea] + call Audio1_SetSfxTempo + ld a, [wSfxTempo] ld d, a - ld a, [wc0eb] + ld a, [wSfxTempo + 1] ld e, a .skip - ld a, l - ld b, $0 - ld hl, wc0ce + ld a, l ; a = note_length * note_speed + ld b, 0 + ld hl, wChannelNoteDelayCountersFractionalPart add hl, bc ld l, [hl] - call Audio1_9847 + call Audio1_MultiplyAdd ld e, l - ld d, h - ld hl, wc0ce + ld d, h ; de = note_delay_frac_part + (note_length * note_speed * tempo) + ld hl, wChannelNoteDelayCountersFractionalPart add hl, bc ld [hl], e ld a, d - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld [hl], a - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc - bit 0, [hl] + bit BIT_EXECUTE_MUSIC, [hl] jr nz, Audio1_notepitch - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 2, [hl] + bit BIT_NOISE_OR_SFX, [hl] jr z, Audio1_notepitch pop hl ret @@ -721,177 +741,183 @@ Audio1_notepitch: ; 0x9568 jr nz, .notRest ld a, c cp CH4 - jr nc, .sfxChannel - ld hl, wc02a + jr nc, .next +; If this isn't an SFX channel, try the corresponding SFX channel. + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr nz, .done ; fall through -.sfxChannel +.next ld a, c cp CH2 - jr z, .musicChannel3 + jr z, .channel3 cp CH6 - jr nz, .notSfxChannel3 -.musicChannel3 - ld b, $0 - ld hl, Unknown_9b1f + jr nz, .notChannel3 +.channel3 + ld b, 0 + ld hl, Audio1_HWChannelDisableMasks add hl, bc - ld a, [$ff25] + ld a, [rNR51] and [hl] - ld [$ff25], a + ld [rNR51], a ; disable hardware channel 3's output jr .done -.notSfxChannel3 - ld b, $2 - call Audio1_9838 - ld a, $8 +.notChannel3 + ld b, REG_VOLUME_ENVELOPE + call Audio1_GetRegisterPointer + ld a, $8 ; fade in sound ld [hli], a inc hl - ld a, $80 + ld a, $80 ; restart sound ld [hl], a .done ret .notRest swap a - ld b, $0 - ld hl, wc0d6 + ld b, 0 + ld hl, wChannelOctaves add hl, bc ld b, [hl] - call Audio1_9858 - ld b, $0 - ld hl, wc02e - add hl, bc - bit 4, [hl] - jr z, .asm_95b8 - call Audio1_978f -.asm_95b8 + call Audio1_CalculateFrequency + ld b, 0 + ld hl, wChannelFlags1 + add hl, bc + bit BIT_PITCH_BEND_ON, [hl] + jr z, .skipPitchBend + call Audio1_InitPitchBendVars +.skipPitchBend push de ld a, c cp CH4 - jr nc, .skip ; if sfx channel - ld hl, wc02a - ld d, $0 + jr nc, .sfxChannel ; if sfx channel +; If this isn't an SFX channel, try the corresponding SFX channel. + ld hl, wChannelSoundIDs + CH4 + ld d, 0 ld e, a add hl, de ld a, [hl] and a - jr nz, .asm_95cb - jr .skip -.asm_95cb + jr nz, .noSfx + jr .sfxChannel +.noSfx pop de ret -.skip - ld b, $0 - ld hl, wc0de +.sfxChannel + ld b, 0 + ld hl, wChannelVolumes add hl, bc ld d, [hl] - ld b, $2 - call Audio1_9838 + ld b, REG_VOLUME_ENVELOPE + call Audio1_GetRegisterPointer ld [hl], d - call Audio1_9629 - call Audio1_95f8 + call Audio1_ApplyDutyAndSoundLength + call Audio1_EnableChannelOutput pop de ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 0, [hl] ; has toggleperfectpitch been used? - jr z, .skip2 - inc e ; if yes, increment the pitch by 1 - jr nc, .skip2 + bit BIT_PERFECT_PITCH, [hl] ; has toggleperfectpitch been used? + jr z, .skipFrequencyInc + inc e ; if yes, increment the frequency by 1 + jr nc, .skipFrequencyInc inc d -.skip2 - ld hl, wc066 +.skipFrequencyInc + ld hl, wChannelFrequencyLowBytes add hl, bc ld [hl], e - call Audio1_964b + call Audio1_ApplyWavePatternAndFrequency ret -Audio1_95f8: ; 0x95f8 - ld b, $0 - ld hl, Unknown_9b27 +Audio1_EnableChannelOutput: ; 0x95f8 + ld b, 0 + ld hl, Audio1_HWChannelEnableMasks add hl, bc - ld a, [$ff25] - or [hl] + ld a, [rNR51] + or [hl] ; set this channel's bits ld d, a ld a, c cp CH7 - jr z, .sfxNoiseChannel + jr z, .noiseChannelOrNoSfx cp CH4 jr nc, .skip ; if sfx channel - ld hl, wc02a +; If this isn't an SFX channel, try the corresponding SFX channel. + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr nz, .skip -.sfxNoiseChannel - ld a, [wc004] - ld hl, Unknown_9b27 +.noiseChannelOrNoSfx +; If this is the SFX noise channel or a music channel whose corresponding +; SFX channel is off, apply stereo panning. + ld a, [wStereoPanning] + ld hl, Audio1_HWChannelEnableMasks add hl, bc and [hl] ld d, a - ld a, [$ff25] - ld hl, Unknown_9b1f + ld a, [rNR51] + ld hl, Audio1_HWChannelDisableMasks add hl, bc - and [hl] - or d + and [hl] ; reset this channel's output bits + or d ; set this channel's output bits that enabled in [wStereoPanning] ld d, a .skip ld a, d - ld [$ff25], a + ld [rNR51], a ret -Audio1_9629: ; 0x9629 - ld b, $0 - ld hl, wc0b6 +Audio1_ApplyDutyAndSoundLength: ; 0x9629 + ld b, 0 + ld hl, wChannelNoteDelayCounters ; use the note delay as sound length add hl, bc ld d, [hl] ld a, c cp CH2 - jr z, .channel3 ; if music channel 3 + jr z, .skipDuty ; if music channel 3 cp CH6 - jr z, .channel3 ; if sfx channel 3 + jr z, .skipDuty ; if sfx channel 3 +; include duty (except on channel 3 which doesn't have it) ld a, d and $3f ld d, a - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld a, [hl] or d ld d, a -.channel3 - ld b, $1 - call Audio1_9838 +.skipDuty + ld b, REG_DUTY_SOUND_LEN + call Audio1_GetRegisterPointer ld [hl], d ret -Audio1_964b: ; 0x964b +Audio1_ApplyWavePatternAndFrequency: ; 0x964b ld a, c cp CH2 jr z, .channel3 cp CH6 - jr nz, .notSfxChannel3 + jr nz, .notChannel3 ; fall through .channel3 push de - ld de, wc0e6 + ld de, wMusicWaveInstrument cp CH2 - jr z, .musicChannel3 - ld de, wc0e7 -.musicChannel3 + jr z, .next + ld de, wSfxWaveInstrument +.next ld a, [de] add a - ld d, $0 + ld d, 0 ld e, a ld hl, Audio1_WavePointers add hl, de ld e, [hl] inc hl ld d, [hl] - ld hl, $ff30 + ld hl, $ff30 ; wave pattern RAM ld b, $f - ld a, $0 - ld [$ff1a], a + ld a, $0 ; stop hardware channel 3 + ld [rNR30], a .loop ld a, [de] inc de @@ -900,152 +926,155 @@ Audio1_964b: ; 0x964b dec b and a jr nz, .loop - ld a, $80 - ld [$ff1a], a + ld a, $80 ; start hardware channel 3 + ld [rNR30], a pop de -.notSfxChannel3 +.notChannel3 ld a, d - or $80 - and $c7 + or $80 ; use counter mode (i.e. disable output when the counter reaches 0) + and $c7 ; zero the unused bits in the register ld d, a - ld b, $3 - call Audio1_9838 - ld [hl], e + ld b, REG_FREQUENCY_LO + call Audio1_GetRegisterPointer + ld [hl], e ; store frequency low byte inc hl - ld [hl], d - call Audio1_96b5 + ld [hl], d ; store frequency high byte + call Audio1_ApplyFrequencyModifier ret -Audio1_9693: ; 0x9693 - call Audio1_96e5 - jr nc, .asm_96ab - ld d, $0 - ld a, [wc0f2] +Audio1_SetSfxTempo: ; 0x9693 + call Audio1_IsCry + jr nc, .notCry + ld d, 0 + ld a, [wTempoModifier] add $80 - jr nc, .asm_96a2 + jr nc, .next inc d -.asm_96a2 - ld [wc0eb], a +.next + ld [wSfxTempo + 1], a ld a, d - ld [wc0ea], a - jr .asm_96b4 -.asm_96ab + ld [wSfxTempo], a + jr .done +.notCry xor a - ld [wc0eb], a + ld [wSfxTempo + 1], a ld a, $1 - ld [wc0ea], a -.asm_96b4 + ld [wSfxTempo], a +.done ret -Audio1_96b5: ; 0x96b5 - call Audio1_96e5 - jr nc, .asm_96c6 - ld a, [wc0f1] +Audio1_ApplyFrequencyModifier: ; 0x96b5 + call Audio1_IsCry + jr nc, .done +; if playing a cry, add the cry's frequency modifier + ld a, [wFrequencyModifier] add e - jr nc, .asm_96c1 + jr nc, .noCarry inc d -.asm_96c1 +.noCarry dec hl ld e, a ld [hl], e inc hl ld [hl], d -.asm_96c6 +.done ret -Audio1_96c7: ; 0x96c7 - call Audio1_96e5 - jr nc, .asm_96e2 - ld hl, wc006 +Audio1_GoBackOneCommandIfCry: ; 0x96c7 + call Audio1_IsCry + jr nc, .done + ld hl, wChannelCommandPointers ld e, c - ld d, $0 + ld d, 0 sla e rl d add hl, de ld a, [hl] - sub $1 + sub 1 ld [hl], a inc hl ld a, [hl] - sbc $0 + sbc 0 ld [hl], a scf ret -.asm_96e2 +.done scf ccf ret -Audio1_96e5: ; 0x96e5 - ld a, [wc02a] - cp $14 - jr nc, .asm_96ee - jr .asm_96f4 -.asm_96ee - cp $86 - jr z, .asm_96f4 - jr c, .asm_96f7 -.asm_96f4 +Audio1_IsCry: ; 0x96e5 +; Returns whether the currently playing audio is a cry in carry. + ld a, [wChannelSoundIDs + CH4] + cp CRY_SFX_START + jr nc, .next + jr .no +.next + cp CRY_SFX_END + jr z, .no + jr c, .yes +.no scf ccf ret -.asm_96f7 +.yes scf ret Audio1_ApplyPitchBend: ; 0x96f9 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc - bit 5, [hl] - jp nz, .asm_9740 - ld hl, wc09e + bit BIT_PITCH_BEND_DECREASING, [hl] + jp nz, .frequencyDecreasing +; frequency increasing + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld e, [hl] - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld l, [hl] ld h, b add hl, de ld d, h ld e, l - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, bc push hl - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld a, [hl] pop hl add [hl] ld [hl], a - ld a, $0 + ld a, 0 adc e ld e, a - ld a, $0 + ld a, 0 adc d ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, [hl] cp d - jp c, .asm_9786 - jr nz, .asm_9773 - ld hl, wc0ae + jp c, .reachedTargetFrequency + jr nz, .applyUpdatedFrequency + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, [hl] cp e - jp c, .asm_9786 - jr .asm_9773 -.asm_9740 - ld hl, wc09e + jp c, .reachedTargetFrequency + jr .applyUpdatedFrequency +.frequencyDecreasing + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld a, [hl] - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld e, [hl] sub e @@ -1053,7 +1082,7 @@ Audio1_ApplyPitchBend: ; 0x96f9 ld a, d sbc b ld d, a - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld a, [hl] add a @@ -1064,129 +1093,140 @@ Audio1_ApplyPitchBend: ; 0x96f9 ld a, d sbc b ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, d cp [hl] - jr c, .asm_9786 - jr nz, .asm_9773 - ld hl, wc0ae + jr c, .reachedTargetFrequency + jr nz, .applyUpdatedFrequency + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, e cp [hl] - jr c, .asm_9786 -.asm_9773 - ld hl, wc09e + jr c, .reachedTargetFrequency +.applyUpdatedFrequency + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld [hl], e - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld [hl], d - ld b, $3 - call Audio1_9838 + ld b, REG_FREQUENCY_LO + call Audio1_GetRegisterPointer ld a, e ld [hli], a ld [hl], d ret -.asm_9786 - ld hl, wc02e +.reachedTargetFrequency +; Turn off pitch bend when the target frequency has been reached. + ld hl, wChannelFlags1 add hl, bc - res 4, [hl] - res 5, [hl] + res BIT_PITCH_BEND_ON, [hl] + res BIT_PITCH_BEND_DECREASING, [hl] ret -Audio1_978f: ; 0x978f - ld hl, wc096 +Audio1_InitPitchBendVars: ; 0x978f + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld [hl], d - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld [hl], e - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld a, [hl] - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc sub [hl] - jr nc, .asm_97a7 - ld a, $1 -.asm_97a7 + jr nc, .next + ld a, 1 +.next ld [hl], a - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, e sub [hl] ld e, a ld a, d sbc b - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc sub [hl] - jr c, .asm_97c3 + jr c, .targetFrequencyGreater ld d, a - ld b, $0 - ld hl, wc02e + ld b, 0 + ld hl, wChannelFlags1 add hl, bc - set 5, [hl] - jr .asm_97e6 -.asm_97c3 - ld hl, wc096 + set BIT_PITCH_BEND_DECREASING, [hl] + jr .next2 +.targetFrequencyGreater +; If the target frequency is greater, subtract the current frequency from +; the target frequency to get the absolute difference. + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld e, [hl] - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, [hl] sub e ld e, a + +; Bug. Instead of borrowing from the high byte of the target frequency as it +; should, it borrows from the high byte of the current frequency instead. +; This means that the result will be 0x200 greater than it should be if the +; low byte of the current frequency is greater than the low byte of the +; target frequency. ld a, d sbc b ld d, a - ld hl, wc0a6 + + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, [hl] sub d ld d, a - ld b, $0 - ld hl, wc02e + ld b, 0 + ld hl, wChannelFlags1 add hl, bc - res 5, [hl] -.asm_97e6 - ld hl, wc076 + res BIT_PITCH_BEND_DECREASING, [hl] + +.next2 + ld hl, wChannelPitchBendLengthModifiers add hl, bc -.asm_97ea +.divideLoop inc b ld a, e sub [hl] ld e, a - jr nc, .asm_97ea + jr nc, .divideLoop ld a, d and a - jr z, .asm_97f8 + jr z, .doneDividing dec a ld d, a - jr .asm_97ea -.asm_97f8 - ld a, e + jr .divideLoop +.doneDividing + ld a, e ; a = remainder - dividend add [hl] - ld d, b - ld b, $0 - ld hl, wc07e + ld d, b ; d = quotient + 1 + ld b, 0 + ld hl, wChannelPitchBendFrequencySteps add hl, bc - ld [hl], d - ld hl, wc086 + ld [hl], d ; store quotient + 1 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc - ld [hl], a - ld hl, wc08e + ld [hl], a ; store remainder - dividend + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, bc - ld [hl], a + ld [hl], a ; store remainder - dividend ret Audio1_ApplyDutyCycle: ; 0x980d - ld b, $0 - ld hl, wc046 + ld b, 0 + ld hl, wChannelDutyCycles add hl, bc ld a, [hl] rlca @@ -1194,8 +1234,8 @@ Audio1_ApplyDutyCycle: ; 0x980d ld [hl], a and $c0 ld d, a - ld b, $1 - call Audio1_9838 + ld b, REG_DUTY_SOUND_LEN + call Audio1_GetRegisterPointer ld a, [hl] and $3f or d @@ -1203,11 +1243,11 @@ Audio1_ApplyDutyCycle: ; 0x980d ret Audio1_GetNextMusicByte: ; 0x9825 - ld d, $0 + ld d, 0 ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de ld a, [hli] ld e, a @@ -1220,9 +1260,10 @@ Audio1_GetNextMusicByte: ; 0x9825 ld [hl], d ret -Audio1_9838: ; 0x9838 +Audio1_GetRegisterPointer: ; 0x9838 +; hl = address of hardware sound register b for software channel c ld a, c - ld hl, Unknown_9b17 + ld hl, Audio1_HWChannelBaseAddresses add l jr nc, .noCarry inc h @@ -1234,13 +1275,14 @@ Audio1_9838: ; 0x9838 ld h, $ff ret -Audio1_9847: ; 0x9847 - ld h, $0 +Audio1_MultiplyAdd: ; 0x9847 +; hl = l + (a * de) + ld h, 0 .loop srl a - jr nc, .noCarry + jr nc, .skipAdd add hl, de -.noCarry +.skipAdd sla e rl d and a @@ -1249,8 +1291,9 @@ Audio1_9847: ; 0x9847 .done ret -Audio1_9858: ; 0x9858 - ld h, $0 +Audio1_CalculateFrequency: ; 0x9858 +; return the frequency for note a, octave b in de + ld h, 0 ld l, a add hl, hl ld d, h @@ -1262,137 +1305,138 @@ Audio1_9858: ; 0x9858 ld d, [hl] ld a, b .loop - cp $7 + cp 7 jr z, .done sra d rr e inc a jr .loop .done - ld a, $8 + ld a, 8 add d ld d, a ret -Audio1_9876:: ; 0x9876 - ld [wc001], a +Audio1_PlaySound:: ; 0x9876 + ld [wSoundID], a cp $ff - jp z, Audio1_9a34 - cp $b9 - jp z, Audio1_994e - jp c, Audio1_994e + jp z, .stopAllAudio + cp MAX_SFX_ID + jp z, .playSfx + jp c, .playSfx cp $fe - jr z, .asm_988d - jp nc, Audio1_994e -.asm_988d + jr z, .playMusic + jp nc, .playSfx + +.playMusic xor a - ld [wc000], a - ld [wc003], a - ld [wc0e9], a - ld [wc0e6], a - ld [wc0e7], a + ld [wUnusedC000], a + ld [wDisableChannelOutputWhenSfxEnds], a + ld [wMusicTempo + 1], a + ld [wMusicWaveInstrument], a + ld [wSfxWaveInstrument], a ld d, $8 - ld hl, wc016 - call FillAudioRAM1 - ld hl, wc006 - call FillAudioRAM1 + ld hl, wChannelReturnAddresses + call .FillMem + ld hl, wChannelCommandPointers + call .FillMem ld d, $4 - ld hl, wc026 - call FillAudioRAM1 - ld hl, wc02e - call FillAudioRAM1 - ld hl, wc03e - call FillAudioRAM1 - ld hl, wc046 - call FillAudioRAM1 - ld hl, wc04e - call FillAudioRAM1 - ld hl, wc056 - call FillAudioRAM1 - ld hl, wc05e - call FillAudioRAM1 - ld hl, wc066 - call FillAudioRAM1 - ld hl, wc06e - call FillAudioRAM1 - ld hl, wc036 - call FillAudioRAM1 - ld hl, wc076 - call FillAudioRAM1 - ld hl, wc07e - call FillAudioRAM1 - ld hl, wc086 - call FillAudioRAM1 - ld hl, wc08e - call FillAudioRAM1 - ld hl, wc096 - call FillAudioRAM1 - ld hl, wc09e - call FillAudioRAM1 - ld hl, wc0a6 - call FillAudioRAM1 - ld hl, wc0ae - call FillAudioRAM1 + ld hl, wChannelSoundIDs + call .FillMem + ld hl, wChannelFlags1 + call .FillMem + ld hl, wChannelDuties + call .FillMem + ld hl, wChannelDutyCycles + call .FillMem + ld hl, wChannelVibratoDelayCounters + call .FillMem + ld hl, wChannelVibratoExtents + call .FillMem + ld hl, wChannelVibratoRates + call .FillMem + ld hl, wChannelFrequencyLowBytes + call .FillMem + ld hl, wChannelVibratoDelayCounterReloadValues + call .FillMem + ld hl, wChannelFlags2 + call .FillMem + ld hl, wChannelPitchBendLengthModifiers + call .FillMem + ld hl, wChannelPitchBendFrequencySteps + call .FillMem + ld hl, wChannelPitchBendFrequencyStepsFractionalPart + call .FillMem + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart + call .FillMem + ld hl, wChannelPitchBendCurrentFrequencyHighBytes + call .FillMem + ld hl, wChannelPitchBendCurrentFrequencyLowBytes + call .FillMem + ld hl, wChannelPitchBendTargetFrequencyHighBytes + call .FillMem + ld hl, wChannelPitchBendTargetFrequencyLowBytes + call .FillMem ld a, $1 - ld hl, wc0be - call FillAudioRAM1 - ld hl, wc0b6 - call FillAudioRAM1 - ld hl, wc0c6 - call FillAudioRAM1 - ld [wc0e8], a + ld hl, wChannelLoopCounters + call .FillMem + ld hl, wChannelNoteDelayCounters + call .FillMem + ld hl, wChannelNoteSpeeds + call .FillMem + ld [wMusicTempo], a ld a, $ff - ld [wc004], a + ld [wStereoPanning], a xor a - ld [$ff24], a + ld [rNR50], a ld a, $8 - ld [$ff10], a - ld a, $0 - ld [$ff25], a + ld [rNR10], a + ld a, 0 + ld [rNR51], a xor a - ld [$ff1a], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a ld a, $77 - ld [$ff24], a - jp Audio1_9a8f + ld [rNR50], a + jp .playSoundCommon -Audio1_994e: ; 0x994e +.playSfx ld l, a ld e, a - ld h, $0 + ld h, 0 ld d, h add hl, hl add hl, de ld de, SFX_Headers_1 add hl, de ld a, h - ld [wc0ec], a + ld [wSfxHeaderPointer], a ld a, l - ld [wc0ed], a + ld [wSfxHeaderPointer + 1], a ld a, [hl] and $c0 rlca rlca ld c, a -.asm_9967 +.sfxChannelLoop ld d, c ld a, c add a add c ld c, a - ld b, $0 - ld a, [wc0ec] + ld b, 0 + ld a, [wSfxHeaderPointer] ld h, a - ld a, [wc0ed] + ld a, [wSfxHeaderPointer + 1] ld l, a add hl, bc ld c, d ld a, [hl] and $f - ld e, a - ld d, $0 - ld hl, wc026 + ld e, a ; software channel ID + ld d, 0 + ld hl, wChannelSoundIDs add hl, de ld a, [hl] and a @@ -1400,7 +1444,7 @@ Audio1_994e: ; 0x994e ld a, e cp $7 jr nz, .asm_999a - ld a, [wc001] + ld a, [wSoundID] cp $14 jr nc, .asm_9993 ret @@ -1410,7 +1454,7 @@ Audio1_994e: ; 0x994e jr z, .asm_99a3 jr c, .asm_99a3 .asm_999a - ld a, [wc001] + ld a, [wSoundID] cp [hl] jr z, .asm_99a3 jr c, .asm_99a3 @@ -1423,132 +1467,132 @@ Audio1_994e: ; 0x994e add hl, hl ld d, h ld e, l - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld [hli], a ld [hl], a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de ld [hli], a ld [hl], a pop de - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, de ld [hl], a - ld hl, wc02e + ld hl, wChannelFlags1 add hl, de ld [hl], a - ld hl, wc03e + ld hl, wChannelDuties add hl, de ld [hl], a - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, de ld [hl], a - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, de ld [hl], a - ld hl, wc056 + ld hl, wChannelVibratoExtents add hl, de ld [hl], a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, de ld [hl], a - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, de ld [hl], a - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, de ld [hl], a - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, de ld [hl], a - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, de ld [hl], a - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, de ld [hl], a - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, de ld [hl], a - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, de ld [hl], a - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc036 + ld hl, wChannelFlags2 add hl, de ld [hl], a ld a, $1 - ld hl, wc0be + ld hl, wChannelLoopCounters add hl, de ld [hl], a - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, de ld [hl], a - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, de ld [hl], a ld a, e - cp $4 + cp CH4 jr nz, .asm_9a2b ld a, $8 - ld [$ff10], a + ld [rNR10], a ; sweep off .asm_9a2b ld a, c and a - jp z, Audio1_9a8f + jp z, .playSoundCommon dec c - jp .asm_9967 + jp .sfxChannelLoop -Audio1_9a34: ; 0x9a34 +.stopAllAudio ld a, $80 - ld [$ff26], a - ld [$ff1a], a + ld [rNR52], a ; sound hardware on + ld [rNR30], a ; wave playback on xor a - ld [$ff25], a - ld [$ff1c], a + ld [rNR51], a ; no sound output + ld [rNR32], a ; mute channel 3 (wave channel) ld a, $8 - ld [$ff10], a - ld [$ff12], a - ld [$ff17], a - ld [$ff21], a + ld [rNR10], a ; sweep off + ld [rNR12], a ; mute channel 1 (pulse channel 1) + ld [rNR22], a ; mute channel 2 (pulse channel 2) + ld [rNR42], a ; mute channel 4 (noise channel) ld a, $40 - ld [$ff14], a - ld [$ff19], a - ld [$ff23], a + ld [rNR14], a ; counter mode + ld [rNR24], a + ld [rNR44], a ld a, $77 - ld [$ff24], a + ld [rNR50], a ; full volume xor a - ld [wc000], a - ld [wc003], a - ld [wc002], a - ld [wc0e9], a - ld [wc0eb], a - ld [wc0e6], a - ld [wc0e7], a + ld [wUnusedC000], a + ld [wDisableChannelOutputWhenSfxEnds], a + ld [wMuteAudioAndPauseMusic], a + ld [wMusicTempo + 1], a + ld [wSfxTempo + 1], a + ld [wMusicWaveInstrument], a + ld [wSfxWaveInstrument], a ld d, $a0 - ld hl, wc006 - call FillAudioRAM1 + ld hl, wChannelCommandPointers + call .FillMem ld a, $1 ld d, $18 - ld hl, wc0b6 - call FillAudioRAM1 - ld [wc0e8], a - ld [wc0ea], a + ld hl, wChannelNoteDelayCounters + call .FillMem + ld [wMusicTempo], a + ld [wSfxTempo], a ld a, $ff - ld [wc004], a + ld [wStereoPanning], a ret ; fills d bytes at hl with a -FillAudioRAM1: ; 0x9a89 +.FillMem ld b, d .loop ld [hli], a @@ -1556,11 +1600,11 @@ FillAudioRAM1: ; 0x9a89 jr nz, .loop ret -Audio1_9a8f: ; 0x9a8f - ld a, [wc001] +.playSoundCommon + ld a, [wSoundID] ld l, a ld e, a - ld h, $0 + ld h, 0 ld d, h add hl, hl add hl, de @@ -1568,7 +1612,7 @@ Audio1_9a8f: ; 0x9a8f add hl, de ld e, l ld d, h - ld hl, wc006 + ld hl, wChannelCommandPointers ld a, [de] ; get channel number ld b, a rlca @@ -1580,31 +1624,31 @@ Audio1_9a8f: ; 0x9a8f ld b, c inc b inc de - ld c, $0 -.asm_9ab1 + ld c, 0 +.commandPointerLoop cp c - jr z, .asm_9ab9 + jr z, .next inc c inc hl inc hl - jr .asm_9ab1 -.asm_9ab9 + jr .commandPointerLoop +.next push hl push bc push af - ld b, $0 + ld b, 0 ld c, a - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc - ld a, [wc001] + ld a, [wSoundID] ld [hl], a pop af - cp $3 - jr c, .asm_9ad2 - ld hl, wc02e + cp CH3 + jr c, .skipSettingFlag + ld hl, wChannelFlags1 add hl, bc - set 2, [hl] -.asm_9ad2 + set BIT_NOISE_OR_SFX, [hl] +.skipSettingFlag pop bc pop hl ld a, [de] ; get channel pointer @@ -1619,52 +1663,53 @@ Audio1_9a8f: ; 0x9a8f and a ld a, [de] inc de - jr nz, .asm_9ab1 - ld a, [wc001] - cp $14 + jr nz, .commandPointerLoop + ld a, [wSoundID] + cp CRY_SFX_START jr nc, .asm_9aeb - jr .asm_9b15 + jr .done .asm_9aeb - ld a, [wc001] - cp $86 - jr z, .asm_9b15 - jr c, .asm_9af6 - jr .asm_9b15 -.asm_9af6 - ld hl, wc02a + ld a, [wSoundID] + cp CRY_SFX_END + jr z, .done + jr c, .cry + jr .done +.cry + ld hl, wChannelSoundIDs + CH4 ld [hli], a ld [hli], a ld [hli], a ld [hl], a - ld hl, wc012 ; sfx noise channel pointer - ld de, Noise1_endchannel + ld hl, wChannelCommandPointers + CH6 * 2 ; sfx wave channel pointer + ld de, Audio1_CryEndchannel ld [hl], e inc hl ld [hl], d ; overwrite pointer to point to endchannel - ld a, [wc005] + ld a, [wSavedVolume] and a - jr nz, .asm_9b15 - ld a, [$ff24] - ld [wc005], a + jr nz, .done + ld a, [rNR50] + ld [wSavedVolume], a ld a, $77 - ld [$ff24], a -.asm_9b15 + ld [rNR50], a ; full volume +.done ret -Noise1_endchannel: ; 0x9b16 +Audio1_CryEndchannel: ; 0x9b16 endchannel -Unknown_9b17: ; 0x9b17 - db $10, $15, $1A, $1F ; channels 0-3 - db $10, $15, $1A, $1F ; channels 4-7 +Audio1_HWChannelBaseAddresses: ; 0x9b17 +; the low bytes of each HW channel's base address + db HW_CH1_BASE, HW_CH2_BASE, HW_CH3_BASE, HW_CH4_BASE ; channels 0-3 + db HW_CH1_BASE, HW_CH2_BASE, HW_CH3_BASE, HW_CH4_BASE ; channels 4-7 -Unknown_9b1f: ; 0x9b1f - db $EE, $DD, $BB, $77 ; channels 0-3 - db $EE, $DD, $BB, $77 ; channels 4-7 +Audio1_HWChannelDisableMasks: ; 0x9b1f + db HW_CH1_DISABLE_MASK, HW_CH2_DISABLE_MASK, HW_CH3_DISABLE_MASK, HW_CH4_DISABLE_MASK ; channels 0-3 + db HW_CH1_DISABLE_MASK, HW_CH2_DISABLE_MASK, HW_CH3_DISABLE_MASK, HW_CH4_DISABLE_MASK ; channels 4-7 -Unknown_9b27: ; 0x9b27 - db $11, $22, $44, $88 ; channels 0-3 - db $11, $22, $44, $88 ; channels 4-7 +Audio1_HWChannelEnableMasks: ; 0x9b27 + db HW_CH1_ENABLE_MASK, HW_CH2_ENABLE_MASK, HW_CH3_ENABLE_MASK, HW_CH4_ENABLE_MASK ; channels 0-3 + db HW_CH1_ENABLE_MASK, HW_CH2_ENABLE_MASK, HW_CH3_ENABLE_MASK, HW_CH4_ENABLE_MASK ; channels 4-7 Audio1_Pitches: ; 0x9b2f dw $F82C ; C_ diff --git a/audio/engine_2.asm b/audio/engine_2.asm index 62b82cec..e70a305f 100644 --- a/audio/engine_2.asm +++ b/audio/engine_2.asm @@ -4,7 +4,7 @@ Audio2_UpdateMusic:: ; 21879 (8:5879) ld c, CH0 .loop ld b, $0 - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc ld a, [hl] and a @@ -12,18 +12,18 @@ Audio2_UpdateMusic:: ; 21879 (8:5879) ld a, c cp CH4 jr nc, .applyAffects ; if sfx channel - ld a, [wc002] + ld a, [wMuteAudioAndPauseMusic] and a jr z, .applyAffects bit 7, a jr nz, .nextChannel set 7, a - ld [wc002], a + ld [wMuteAudioAndPauseMusic], a xor a - ld [$ff25], a - ld [$ff1a], a + ld [rNR51], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a jr .nextChannel .applyAffects call Audio2_ApplyMusicAffects @@ -36,7 +36,7 @@ Audio2_UpdateMusic:: ; 21879 (8:5879) ; this routine checks flags for music effects currently applied ; to the channel and calls certain functions based on flags. -; known flags for wc02e: +; known flags for wChannelFlags1: ; 0: toggleperfectpitch has been used ; 1: call has been used ; 3: a toggle used only by this routine for vibrato @@ -44,7 +44,7 @@ Audio2_UpdateMusic:: ; 21879 (8:5879) ; 6: dutycycle flag Audio2_ApplyMusicAffects: ; 218ae (8:58ae) ld b, $0 - ld hl, wc0b6 ; delay until next note + ld hl, wChannelNoteDelayCounters ; delay until next note add hl, bc ld a, [hl] cp $1 ; if the delay is 1, play next note @@ -54,36 +54,36 @@ Audio2_ApplyMusicAffects: ; 218ae (8:58ae) ld a, c cp CH4 jr nc, .startChecks ; if a sfx channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr z, .startChecks ret .startChecks - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 6, [hl] ; dutycycle jr z, .checkForExecuteMusic call Audio2_ApplyDutyCycle .checkForExecuteMusic ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, .checkForPitchBend - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 2, [hl] jr nz, .disablePitchBendVibrato .checkForPitchBend - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 4, [hl] ; pitchbend jr z, .checkVibratoDelay jp Audio2_ApplyPitchBend .checkVibratoDelay - ld hl, wc04e ; vibrato delay + ld hl, wChannelVibratoDelayCounters ; vibrato delay add hl, bc ld a, [hl] and a ; check if delay is over @@ -92,7 +92,7 @@ Audio2_ApplyMusicAffects: ; 218ae (8:58ae) .disablePitchBendVibrato ret .checkForVibrato - ld hl, wc056 ; vibrato rate + ld hl, wChannelVibratoExtents ; vibrato rate add hl, bc ld a, [hl] and a @@ -100,7 +100,7 @@ Audio2_ApplyMusicAffects: ; 218ae (8:58ae) ret ; no vibrato .vibrato ld d, a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, bc ld a, [hl] and $f @@ -113,10 +113,10 @@ Audio2_ApplyMusicAffects: ; 218ae (8:58ae) swap [hl] or [hl] ld [hl], a ; reset the vibrato value and start again - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, bc ld e, [hl] ; get note pitch - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 3, [hl] ; this is the only code that sets/resets bit three so jr z, .unset ; it continuously alternates which path it takes @@ -149,13 +149,13 @@ Audio2_ApplyMusicAffects: ; 218ae (8:58ae) ; like tempo changes, duty changes etc. and doesn't return ; until the first note is reached Audio2_PlayNextNote: ; 21946 (8:5946) - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, bc ld a, [hl] - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, bc ld [hl], a - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc res 4, [hl] res 5, [hl] @@ -175,7 +175,7 @@ Audio2_endchannel: ; 21967 (8:5967) cp $ff ; is this command an endchannel? jp nz, Audio2_callchannel ; no ld b, $0 ; yes - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 1, [hl] jr nz, .returnFromCall @@ -185,22 +185,22 @@ Audio2_endchannel: ; 21967 (8:5967) jr .asm_219c0 .noiseOrSfxChannel res 2, [hl] - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc res 0, [hl] cp CH6 jr nz, .notSfxChannel3 ld a, $0 - ld [$ff1a], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a .notSfxChannel3 jr nz, .asm_219a3 - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr z, .asm_219a3 xor a - ld [wc003], a + ld [wDisableChannelOutputWhenSfxEnds], a jr .asm_219c0 .asm_219a3 jr .asm_219c9 @@ -210,10 +210,10 @@ Audio2_endchannel: ; 21967 (8:5967) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de push hl ; store current channel address - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld e, l ld d, h @@ -227,16 +227,16 @@ Audio2_endchannel: ; 21967 (8:5967) .asm_219c0 ld hl, Unknown_222de add hl, bc - ld a, [$ff25] + ld a, [rNR51] and [hl] - ld [$ff25], a + ld [rNR51], a .asm_219c9 - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $14 jr nc, .asm_219d2 jr .asm_219ef .asm_219d2 - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $86 jr z, .asm_219ef jr c, .asm_219dd @@ -248,12 +248,12 @@ Audio2_endchannel: ; 21967 (8:5967) call Audio2_21e6d ret c .asm_219e6 - ld a, [wc005] - ld [$ff24], a + ld a, [wSavedVolume] + ld [rNR50], a xor a - ld [wc005], a + ld [wSavedVolume], a .asm_219ef - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc ld [hl], b ret @@ -272,10 +272,10 @@ Audio2_callchannel: ; 219f5 (8:59f5) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de push hl - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld e, l ld d, h @@ -290,7 +290,7 @@ Audio2_callchannel: ; 219f5 (8:59f5) inc hl ld [hl], d ; overwrite current address with pointer ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 1, [hl] ; set the call flag jp Audio2_endchannel @@ -303,7 +303,7 @@ Audio2_loopchannel: ; 21a2a (8:5a2a) and a jr z, .infiniteLoop ld b, $0 - ld hl, wc0be + ld hl, wChannelLoopCounters add hl, bc ld a, [hl] cp e @@ -326,7 +326,7 @@ Audio2_loopchannel: ; 21a2a (8:5a2a) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de pop af ld [hli], a @@ -340,7 +340,7 @@ Audio2_notetype: ; 21a65 (8:5a65) ld a, d ; yes and $f ld b, $0 - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, bc ld [hl], a ; store low nibble as speed ld a, c @@ -353,10 +353,10 @@ Audio2_notetype: ; 21a65 (8:5a65) jr z, .musicChannel3 cp CH6 jr nz, .notChannel3 - ld hl, wc0e7 + ld hl, wSfxWaveInstrument jr .sfxChannel3 .musicChannel3 - ld hl, wc0e6 + ld hl, wMusicWaveInstrument .sfxChannel3 ld a, d and $f @@ -371,7 +371,7 @@ Audio2_notetype: ; 21a65 (8:5a65) ; else, store volume (high nibble) and fade (low nibble) .notChannel3 ld b, $0 - ld hl, wc0de + ld hl, wChannelVolumes add hl, bc ld [hl], d .noiseChannel @@ -382,11 +382,11 @@ Audio2_toggleperfectpitch: ; 21aa4 (8:5aa4) cp $e8 ; is this command a toggleperfectpitch? jr nz, Audio2_vibrato ; no ld b, $0 ; yes - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc ld a, [hl] xor $1 - ld [hl], a ; flip bit 0 of wc02e + ld [hl], a ; flip bit 0 of wChannelFlags1 jp Audio2_endchannel Audio2_vibrato: ; 21ab6 (8:5ab6) @@ -394,10 +394,10 @@ Audio2_vibrato: ; 21ab6 (8:5ab6) jr nz, Audio2_pitchbend ; no call Audio2_GetNextMusicByte ; yes ld b, $0 - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, bc ld [hl], a ; store delay - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, bc ld [hl], a ; store delay call Audio2_GetNextMusicByte @@ -405,7 +405,7 @@ Audio2_vibrato: ; 21ab6 (8:5ab6) and $f0 swap a ld b, $0 - ld hl, wc056 + ld hl, wChannelVibratoExtents add hl, bc srl a ld e, a @@ -416,7 +416,7 @@ Audio2_vibrato: ; 21ab6 (8:5ab6) ld a, d and $f ld d, a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, bc swap a or d @@ -428,7 +428,7 @@ Audio2_pitchbend: ; 21aee (8:5aee) jr nz, Audio2_duty ; no call Audio2_GetNextMusicByte ; yes ld b, $0 - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc ld [hl], a ; store first param call Audio2_GetNextMusicByte @@ -440,14 +440,14 @@ Audio2_pitchbend: ; 21aee (8:5aee) and $f call Audio2_22017 ld b, $0 - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld [hl], d ; store unknown part of second param - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld [hl], e ; store unknown part of second param ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 4, [hl] ; set pitchbend flag call Audio2_GetNextMusicByte @@ -462,7 +462,7 @@ Audio2_duty: ; 21b26 (8:5b26) rrca and $c0 ld b, $0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld [hl], a ; store duty jp Audio2_endchannel @@ -474,25 +474,25 @@ Audio2_tempo: ; 21b3b (8:5b3b) cp CH4 jr nc, .sfxChannel call Audio2_GetNextMusicByte - ld [wc0e8], a ; store first param + ld [wMusicTempo], a ; store first param call Audio2_GetNextMusicByte - ld [wc0e9], a ; store second param + ld [wMusicTempo + 1], a ; store second param xor a - ld [wc0ce], a ; clear RAM - ld [wc0cf], a - ld [wc0d0], a - ld [wc0d1], a + ld [wChannelNoteDelayCountersFractionalPart], a ; clear RAM + ld [wChannelNoteDelayCountersFractionalPart + 1], a + ld [wChannelNoteDelayCountersFractionalPart + 2], a + ld [wChannelNoteDelayCountersFractionalPart + 3], a jr .musicChannelDone .sfxChannel call Audio2_GetNextMusicByte - ld [wc0ea], a ; store first param + ld [wSfxTempo], a ; store first param call Audio2_GetNextMusicByte - ld [wc0eb], a ; store second param + ld [wSfxTempo + 1], a ; store second param xor a - ld [wc0d2], a ; clear RAM - ld [wc0d3], a - ld [wc0d4], a - ld [wc0d5], a + ld [wChannelNoteDelayCountersFractionalPart + 4], a ; clear RAM + ld [wChannelNoteDelayCountersFractionalPart + 5], a + ld [wChannelNoteDelayCountersFractionalPart + 6], a + ld [wChannelNoteDelayCountersFractionalPart + 7], a .musicChannelDone jp Audio2_endchannel @@ -500,7 +500,7 @@ Audio2_stereopanning: ; 21b7b (8:5b7b) cp $ee ; is this command a stereopanning? jr nz, Audio2_unknownmusic0xef ; no call Audio2_GetNextMusicByte ; yes - ld [wc004], a ; store panning + ld [wStereoPanning], a ; store panning jp Audio2_endchannel ; this appears to never be used @@ -509,15 +509,15 @@ Audio2_unknownmusic0xef: ; 21b88 (8:5b88) jr nz, Audio2_dutycycle ; no call Audio2_GetNextMusicByte ; yes push bc - call Audio2_22035 + call Audio2_PlaySound pop bc - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr nz, .skip - ld a, [wc02d] - ld [wc003], a + ld a, [wChannelSoundIDs + CH7] + ld [wDisableChannelOutputWhenSfxEnds], a xor a - ld [wc02d], a + ld [wChannelSoundIDs + CH7], a .skip jp Audio2_endchannel @@ -526,14 +526,14 @@ Audio2_dutycycle: ; 21ba7 (8:5ba7) jr nz, Audio2_volume ; no call Audio2_GetNextMusicByte ; yes ld b, $0 - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, bc ld [hl], a ; store full cycle and $c0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld [hl], a ; store first duty - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 6, [hl] ; set dutycycle flag jp Audio2_endchannel @@ -542,14 +542,14 @@ Audio2_volume: ; 21bc5 (8:5bc5) cp $f0 ; is this command a volume? jr nz, Audio2_executemusic ; no call Audio2_GetNextMusicByte ; yes - ld [$ff24], a ; store volume + ld [rNR50], a ; store volume jp Audio2_endchannel Audio2_executemusic: ; 21bd1 (8:5bd1) cp $f8 ; is this command an executemusic? jr nz, Audio2_octave ; no ld b, $0 ; yes - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc set 0, [hl] jp Audio2_endchannel @@ -558,7 +558,7 @@ Audio2_octave: ; 21be0 (8:5be0) and $f0 cp $e0 ; is this command an octave? jr nz, Audio2_unknownsfx0x20 ; no - ld hl, wc0d6 ; yes + ld hl, wChannelOctaves ; yes ld b, $0 add hl, bc ld a, d @@ -573,14 +573,14 @@ Audio2_unknownsfx0x20: ; 21bf3 cp CH3 ; is this a noise or sfx channel? jr c, Audio2_unknownsfx0x10 ; no ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, Audio2_unknownsfx0x10 ; no call Audio2_notelength ld d, a ld b, $0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld a, [hl] or d @@ -619,12 +619,12 @@ Audio2_unknownsfx0x10: ; 21c40 (8:5c40) cp $10 ; is this command a unknownsfx0x10? jr nz, Audio2_note ; no ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, Audio2_note ; no call Audio2_GetNextMusicByte ; yes - ld [$ff10], a + ld [rNR10], a jp Audio2_endchannel Audio2_note: ; 21c5c (8:5c5c) @@ -654,11 +654,11 @@ Audio2_dnote: ; 21c76 (8:5c76) call Audio2_GetNextMusicByte ; get dnote instrument asm_21c7e ld d, a - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr nz, .asm_21c89 ld a, d - call Audio2_22035 + call Audio2_PlaySound .asm_21c89 pop bc pop de @@ -671,7 +671,7 @@ Audio2_notelength: ; 21c8b (8:5c8b) ld b, $0 ld e, a ; store note length (in 16ths) ld d, b - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, bc ld a, [hl] ld l, b @@ -679,9 +679,9 @@ Audio2_notelength: ; 21c8b (8:5c8b) ld a, c cp CH4 jr nc, .sfxChannel - ld a, [wc0e8] + ld a, [wMusicTempo] ld d, a - ld a, [wc0e9] + ld a, [wMusicTempo + 1] ld e, a jr .skip .sfxChannel @@ -690,31 +690,31 @@ Audio2_notelength: ; 21c8b (8:5c8b) cp CH7 jr z, .skip ; if noise channel call Audio2_21e2f - ld a, [wc0ea] + ld a, [wSfxTempo] ld d, a - ld a, [wc0eb] + ld a, [wSfxTempo + 1] ld e, a .skip ld a, l ld b, $0 - ld hl, wc0ce + ld hl, wChannelNoteDelayCountersFractionalPart add hl, bc ld l, [hl] call Audio2_22006 ld e, l ld d, h - ld hl, wc0ce + ld hl, wChannelNoteDelayCountersFractionalPart add hl, bc ld [hl], e ld a, d - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld [hl], a - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, Audio2_notepitch - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 2, [hl] jr z, Audio2_notepitch @@ -729,7 +729,7 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) ld a, c cp CH4 jr nc, .sfxChannel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a @@ -745,9 +745,9 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) ld b, $0 ld hl, Unknown_222de add hl, bc - ld a, [$ff25] + ld a, [rNR51] and [hl] - ld [$ff25], a + ld [rNR51], a jr .done .notSfxChannel3 ld b, $2 @@ -762,12 +762,12 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) .notRest swap a ld b, $0 - ld hl, wc0d6 + ld hl, wChannelOctaves add hl, bc ld b, [hl] call Audio2_22017 ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 4, [hl] jr z, .asm_21d39 @@ -777,7 +777,7 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) ld a, c cp CH4 jr nc, .skip ; if sfx channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 ld d, $0 ld e, a add hl, de @@ -790,7 +790,7 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) ret .skip ld b, $0 - ld hl, wc0de + ld hl, wChannelVolumes add hl, bc ld d, [hl] ld b, $2 @@ -800,7 +800,7 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) call Audio2_21d79 pop de ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 0, [hl] ; has toggleperfectpitch been used? jr z, .skip2 @@ -808,7 +808,7 @@ Audio2_notepitch: ; 21ce9 (8:5ce9) jr nc, .skip2 inc d .skip2 - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, bc ld [hl], e call Audio2_21dcc @@ -818,7 +818,7 @@ Audio2_21d79: ; 21d79 (8:5d79) ld b, $0 ld hl, Unknown_222e6 add hl, bc - ld a, [$ff25] + ld a, [rNR51] or [hl] ld d, a ld a, c @@ -826,18 +826,18 @@ Audio2_21d79: ; 21d79 (8:5d79) jr z, .sfxNoiseChannel cp CH4 jr nc, .skip ; if sfx channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr nz, .skip .sfxNoiseChannel - ld a, [wc004] + ld a, [wStereoPanning] ld hl, Unknown_222e6 add hl, bc and [hl] ld d, a - ld a, [$ff25] + ld a, [rNR51] ld hl, Unknown_222de add hl, bc and [hl] @@ -845,12 +845,12 @@ Audio2_21d79: ; 21d79 (8:5d79) ld d, a .skip ld a, d - ld [$ff25], a + ld [rNR51], a ret Audio2_21daa: ; 21daa (8:5daa) ld b, $0 - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld d, [hl] ld a, c @@ -861,7 +861,7 @@ Audio2_21daa: ; 21daa (8:5daa) ld a, d and $3f ld d, a - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld a, [hl] or d @@ -881,10 +881,10 @@ Audio2_21dcc: ; 21dcc (8:5dcc) ; fall through .channel3 push de - ld de, wc0e6 + ld de, wMusicWaveInstrument cp CH2 jr z, .musicChannel3 - ld de, wc0e7 + ld de, wSfxWaveInstrument .musicChannel3 ld a, [de] add a @@ -898,7 +898,7 @@ Audio2_21dcc: ; 21dcc (8:5dcc) ld hl, $ff30 ld b, $f ld a, $0 - ld [$ff1a], a + ld [rNR30], a .loop ld a, [de] inc de @@ -908,7 +908,7 @@ Audio2_21dcc: ; 21dcc (8:5dcc) and a jr nz, .loop ld a, $80 - ld [$ff1a], a + ld [rNR30], a pop de .notSfxChannel3 ld a, d @@ -935,9 +935,9 @@ Audio2_21e19: ; 21e19 (8:5e19) bit 7, a jr z, .asm_21e2e xor a - ld [wc0f1], a + ld [wFrequencyModifier], a ld a, $80 - ld [wc0f2], a + ld [wTempoModifier], a .asm_21e2e ret @@ -948,20 +948,20 @@ Audio2_21e2f: ; 21e2f (8:5e2f) jr nc, .asm_21e4c .asm_21e39 ld d, $0 - ld a, [wc0f2] + ld a, [wTempoModifier] add $80 jr nc, .asm_21e43 inc d .asm_21e43 - ld [wc0eb], a + ld [wSfxTempo + 1], a ld a, d - ld [wc0ea], a + ld [wSfxTempo], a jr .asm_21e55 .asm_21e4c xor a - ld [wc0eb], a + ld [wSfxTempo + 1], a ld a, $1 - ld [wc0ea], a + ld [wSfxTempo], a .asm_21e55 ret @@ -971,7 +971,7 @@ Audio2_21e56: ; 21e56 (8:5e56) call Audio2_21e9f jr nc, .asm_21e6c .asm_21e60 - ld a, [wc0f1] + ld a, [wFrequencyModifier] add e jr nc, .asm_21e67 inc d @@ -987,7 +987,7 @@ Audio2_21e56: ; 21e56 (8:5e56) Audio2_21e6d: ; 21e6d (8:5e6d) call Audio2_21e8b jr nc, .asm_21e88 - ld hl, wc006 + ld hl, wChannelCommandPointers ld e, c ld d, $0 sla e @@ -1008,7 +1008,7 @@ Audio2_21e6d: ; 21e6d (8:5e6d) ret Audio2_21e8b: ; 21e8b (8:5e8b) - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $14 jr nc, .asm_21e94 jr .asm_21e9a @@ -1025,9 +1025,9 @@ Audio2_21e8b: ; 21e8b (8:5e8b) ret Audio2_21e9f: ; 21e9f (8:5e9f) - ld a, [wc02d] + ld a, [wChannelSoundIDs + CH7] ld b, a - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] or b cp $9d jr nc, .asm_21ead @@ -1045,27 +1045,27 @@ Audio2_21e9f: ; 21e9f (8:5e9f) ret Audio2_ApplyPitchBend: ; 21eb8 (8:5eb8) - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 5, [hl] jp nz, .asm_21eff - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld e, [hl] - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld l, [hl] ld h, b add hl, de ld d, h ld e, l - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, bc push hl - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld a, [hl] pop hl @@ -1077,26 +1077,26 @@ Audio2_ApplyPitchBend: ; 21eb8 (8:5eb8) ld a, $0 adc d ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, [hl] cp d jp c, .asm_21f45 jr nz, .asm_21f32 - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, [hl] cp e jp c, .asm_21f45 jr .asm_21f32 .asm_21eff - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld a, [hl] - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld e, [hl] sub e @@ -1104,7 +1104,7 @@ Audio2_ApplyPitchBend: ; 21eb8 (8:5eb8) ld a, d sbc b ld d, a - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld a, [hl] add a @@ -1115,22 +1115,22 @@ Audio2_ApplyPitchBend: ; 21eb8 (8:5eb8) ld a, d sbc b ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, d cp [hl] jr c, .asm_21f45 jr nz, .asm_21f32 - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, e cp [hl] jr c, .asm_21f45 .asm_21f32 - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld [hl], e - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld [hl], d ld b, $3 @@ -1140,54 +1140,54 @@ Audio2_ApplyPitchBend: ; 21eb8 (8:5eb8) ld [hl], d ret .asm_21f45 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc res 4, [hl] res 5, [hl] ret Audio2_21f4e: ; 21f4e (8:5f4e) - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld [hl], d - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld [hl], e - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld a, [hl] - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc sub [hl] jr nc, .asm_21f66 ld a, $1 .asm_21f66 ld [hl], a - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, e sub [hl] ld e, a ld a, d sbc b - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc sub [hl] jr c, .asm_21f82 ld d, a ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 5, [hl] jr .asm_21fa5 .asm_21f82 - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld e, [hl] - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, [hl] sub e @@ -1195,17 +1195,17 @@ Audio2_21f4e: ; 21f4e (8:5f4e) ld a, d sbc b ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, [hl] sub d ld d, a ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc res 5, [hl] .asm_21fa5 - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc .asm_21fa9 inc b @@ -1224,20 +1224,20 @@ Audio2_21f4e: ; 21f4e (8:5f4e) add [hl] ld d, b ld b, $0 - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld [hl], d - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld [hl], a - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, bc ld [hl], a ret Audio2_ApplyDutyCycle: ; 21fcc (8:5fcc) ld b, $0 - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, bc ld a, [hl] rlca @@ -1258,7 +1258,7 @@ Audio2_GetNextMusicByte: ; 21fe4 (8:5fe4) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de ld a, [hli] ld e, a @@ -1325,8 +1325,8 @@ Audio2_22017: ; 22017 (8:6017) ld d, a ret -Audio2_22035:: ; 22035 (8:6035) - ld [wc001], a +Audio2_PlaySound:: ; 22035 (8:6035) + ld [wSoundID], a cp $ff jp z, Audio2_221f3 cp $e9 @@ -1337,75 +1337,75 @@ Audio2_22035:: ; 22035 (8:6035) jp nc, Audio2_2210d .asm_2204c xor a - ld [wc000], a - ld [wc003], a - ld [wc0e9], a - ld [wc0e6], a - ld [wc0e7], a + ld [wUnusedC000], a + ld [wDisableChannelOutputWhenSfxEnds], a + ld [wMusicTempo + 1], a + ld [wMusicWaveInstrument], a + ld [wSfxWaveInstrument], a ld d, $8 - ld hl, wc016 + ld hl, wChannelReturnAddresses call FillAudioRAM2 - ld hl, wc006 + ld hl, wChannelCommandPointers call FillAudioRAM2 ld d, $4 - ld hl, wc026 + ld hl, wChannelSoundIDs call FillAudioRAM2 - ld hl, wc02e + ld hl, wChannelFlags1 call FillAudioRAM2 - ld hl, wc03e + ld hl, wChannelDuties call FillAudioRAM2 - ld hl, wc046 + ld hl, wChannelDutyCycles call FillAudioRAM2 - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters call FillAudioRAM2 - ld hl, wc056 + ld hl, wChannelVibratoExtents call FillAudioRAM2 - ld hl, wc05e + ld hl, wChannelVibratoRates call FillAudioRAM2 - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes call FillAudioRAM2 - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues call FillAudioRAM2 - ld hl, wc036 + ld hl, wChannelFlags2 call FillAudioRAM2 - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers call FillAudioRAM2 - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps call FillAudioRAM2 - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart call FillAudioRAM2 - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart call FillAudioRAM2 - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes call FillAudioRAM2 - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes call FillAudioRAM2 - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes call FillAudioRAM2 - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes call FillAudioRAM2 ld a, $1 - ld hl, wc0be + ld hl, wChannelLoopCounters call FillAudioRAM2 - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters call FillAudioRAM2 - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds call FillAudioRAM2 - ld [wc0e8], a + ld [wMusicTempo], a ld a, $ff - ld [wc004], a + ld [wStereoPanning], a xor a - ld [$ff24], a + ld [rNR50], a ld a, $8 - ld [$ff10], a + ld [rNR10], a ld a, $0 - ld [$ff25], a + ld [rNR51], a xor a - ld [$ff1a], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a ld a, $77 - ld [$ff24], a + ld [rNR50], a jp Audio2_2224e Audio2_2210d: ; 2210d (8:610d) @@ -1418,9 +1418,9 @@ Audio2_2210d: ; 2210d (8:610d) ld de, SFX_Headers_2 add hl, de ld a, h - ld [wc0ec], a + ld [wSfxHeaderPointer], a ld a, l - ld [wc0ed], a + ld [wSfxHeaderPointer + 1], a ld a, [hl] and $c0 rlca @@ -1433,9 +1433,9 @@ Audio2_2210d: ; 2210d (8:610d) add c ld c, a ld b, $0 - ld a, [wc0ec] + ld a, [wSfxHeaderPointer] ld h, a - ld a, [wc0ed] + ld a, [wSfxHeaderPointer + 1] ld l, a add hl, bc ld c, d @@ -1443,7 +1443,7 @@ Audio2_2210d: ; 2210d (8:610d) and $f ld e, a ld d, $0 - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, de ld a, [hl] and a @@ -1451,7 +1451,7 @@ Audio2_2210d: ; 2210d (8:610d) ld a, e cp $7 jr nz, .asm_22159 - ld a, [wc001] + ld a, [wSoundID] cp $14 jr nc, .asm_22152 ret @@ -1461,7 +1461,7 @@ Audio2_2210d: ; 2210d (8:610d) jr z, .asm_22162 jr c, .asm_22162 .asm_22159 - ld a, [wc001] + ld a, [wSoundID] cp [hl] jr z, .asm_22162 jr c, .asm_22162 @@ -1474,84 +1474,84 @@ Audio2_2210d: ; 2210d (8:610d) add hl, hl ld d, h ld e, l - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld [hli], a ld [hl], a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de ld [hli], a ld [hl], a pop de - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, de ld [hl], a - ld hl, wc02e + ld hl, wChannelFlags1 add hl, de ld [hl], a - ld hl, wc03e + ld hl, wChannelDuties add hl, de ld [hl], a - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, de ld [hl], a - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, de ld [hl], a - ld hl, wc056 + ld hl, wChannelVibratoExtents add hl, de ld [hl], a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, de ld [hl], a - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, de ld [hl], a - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, de ld [hl], a - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, de ld [hl], a - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, de ld [hl], a - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, de ld [hl], a - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, de ld [hl], a - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, de ld [hl], a - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc036 + ld hl, wChannelFlags2 add hl, de ld [hl], a ld a, $1 - ld hl, wc0be + ld hl, wChannelLoopCounters add hl, de ld [hl], a - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, de ld [hl], a - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, de ld [hl], a ld a, e cp $4 jr nz, .asm_221ea ld a, $8 - ld [$ff10], a + ld [rNR10], a .asm_221ea ld a, c and a @@ -1561,41 +1561,41 @@ Audio2_2210d: ; 2210d (8:610d) Audio2_221f3: ; 221f3 (8:61f3) ld a, $80 - ld [$ff26], a - ld [$ff1a], a + ld [rNR52], a + ld [rNR30], a xor a - ld [$ff25], a - ld [$ff1c], a + ld [rNR51], a + ld [rNR32], a ld a, $8 - ld [$ff10], a - ld [$ff12], a - ld [$ff17], a - ld [$ff21], a + ld [rNR10], a + ld [rNR12], a + ld [rNR22], a + ld [rNR42], a ld a, $40 - ld [$ff14], a - ld [$ff19], a - ld [$ff23], a + ld [rNR14], a + ld [rNR24], a + ld [rNR44], a ld a, $77 - ld [$ff24], a + ld [rNR50], a xor a - ld [wc000], a - ld [wc003], a - ld [wc002], a - ld [wc0e9], a - ld [wc0eb], a - ld [wc0e6], a - ld [wc0e7], a + ld [wUnusedC000], a + ld [wDisableChannelOutputWhenSfxEnds], a + ld [wMuteAudioAndPauseMusic], a + ld [wMusicTempo + 1], a + ld [wSfxTempo + 1], a + ld [wMusicWaveInstrument], a + ld [wSfxWaveInstrument], a ld d, $a0 - ld hl, wc006 + ld hl, wChannelCommandPointers call FillAudioRAM2 ld a, $1 ld d, $18 - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters call FillAudioRAM2 - ld [wc0e8], a - ld [wc0ea], a + ld [wMusicTempo], a + ld [wSfxTempo], a ld a, $ff - ld [wc004], a + ld [wStereoPanning], a ret ; fills d bytes at hl with a @@ -1608,7 +1608,7 @@ FillAudioRAM2: ; 22248 (8:6248) ret Audio2_2224e: ; 2224e (8:624e) - ld a, [wc001] + ld a, [wSoundID] ld l, a ld e, a ld h, $0 @@ -1619,7 +1619,7 @@ Audio2_2224e: ; 2224e (8:624e) add hl, de ld e, l ld d, h - ld hl, wc006 + ld hl, wChannelCommandPointers ld a, [de] ; get channel number ld b, a rlca @@ -1645,14 +1645,14 @@ Audio2_2224e: ; 2224e (8:624e) push af ld b, $0 ld c, a - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc - ld a, [wc001] + ld a, [wSoundID] ld [hl], a pop af cp $3 jr c, .asm_22291 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 2, [hl] .asm_22291 @@ -1671,34 +1671,34 @@ Audio2_2224e: ; 2224e (8:624e) ld a, [de] inc de jr nz, .asm_22270 - ld a, [wc001] + ld a, [wSoundID] cp $14 jr nc, .asm_222aa jr .asm_222d4 .asm_222aa - ld a, [wc001] + ld a, [wSoundID] cp $86 jr z, .asm_222d4 jr c, .asm_222b5 jr .asm_222d4 .asm_222b5 - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 ld [hli], a ld [hli], a ld [hli], a ld [hl], a - ld hl, wc012 ; sfx noise channel pointer + ld hl, wChannelCommandPointers + CH6 * 2 ; sfx noise channel pointer ld de, Noise2_endchannel ld [hl], e inc hl ld [hl], d ; overwrite pointer to point to endchannel - ld a, [wc005] + ld a, [wSavedVolume] and a jr nz, .asm_222d4 - ld a, [$ff24] - ld [wc005], a + ld a, [rNR50] + ld [wSavedVolume], a ld a, $77 - ld [$ff24], a + ld [rNR50], a .asm_222d4 ret diff --git a/audio/engine_3.asm b/audio/engine_3.asm index 93fa62aa..c7254405 100644 --- a/audio/engine_3.asm +++ b/audio/engine_3.asm @@ -4,7 +4,7 @@ Audio3_UpdateMusic:: ; 7d177 (1f:5177) ld c, CH0 .loop ld b, $0 - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc ld a, [hl] and a @@ -12,18 +12,18 @@ Audio3_UpdateMusic:: ; 7d177 (1f:5177) ld a, c cp CH4 jr nc, .applyAffects ; if sfx channel - ld a, [wc002] + ld a, [wMuteAudioAndPauseMusic] and a jr z, .applyAffects bit 7, a jr nz, .nextChannel set 7, a - ld [wc002], a + ld [wMuteAudioAndPauseMusic], a xor a - ld [$ff25], a - ld [$ff1a], a + ld [rNR51], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a jr .nextChannel .applyAffects call Audio3_ApplyMusicAffects @@ -36,7 +36,7 @@ Audio3_UpdateMusic:: ; 7d177 (1f:5177) ; this routine checks flags for music effects currently applied ; to the channel and calls certain functions based on flags. -; known flags for wc02e: +; known flags for wChannelFlags1: ; 0: toggleperfectpitch has been used ; 1: call has been used ; 3: a toggle used only by this routine for vibrato @@ -44,7 +44,7 @@ Audio3_UpdateMusic:: ; 7d177 (1f:5177) ; 6: dutycycle flag Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) ld b, $0 - ld hl, wc0b6 ; delay until next note + ld hl, wChannelNoteDelayCounters ; delay until next note add hl, bc ld a, [hl] cp $1 ; if delay is 1, play next note @@ -54,36 +54,36 @@ Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) ld a, c cp CH4 jr nc, .startChecks ; if a sfx channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr z, .startChecks ret .startChecks - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 6, [hl] ; dutycycle jr z, .checkForExecuteMusic call Audio3_ApplyDutyCycle .checkForExecuteMusic ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, .checkForPitchBend - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 2, [hl] jr nz, .disablePitchBendVibrato .checkForPitchBend - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 4, [hl] ; pitchbend jr z, .checkVibratoDelay jp Audio3_ApplyPitchBend .checkVibratoDelay - ld hl, wc04e ; vibrato delay + ld hl, wChannelVibratoDelayCounters ; vibrato delay add hl, bc ld a, [hl] and a ; check if delay is over @@ -92,7 +92,7 @@ Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) .disablePitchBendVibrato ret .checkForVibrato - ld hl, wc056 ; vibrato rate + ld hl, wChannelVibratoExtents ; vibrato rate add hl, bc ld a, [hl] and a @@ -100,7 +100,7 @@ Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) ret ; no vibrato .vibrato ld d, a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, bc ld a, [hl] and $f @@ -113,10 +113,10 @@ Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) swap [hl] or [hl] ld [hl], a ; reset the vibrato value and start again - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, bc ld e, [hl] ; get note pitch - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 3, [hl] ; this is the only code that sets/resets bit three so jr z, .unset ; it continuously alternates which path it takes @@ -149,13 +149,13 @@ Audio3_ApplyMusicAffects: ; 7d1ac (1f:51ac) ; like tempo changes, duty changes etc. and doesn't return ; until the first note is reached Audio3_PlayNextNote: ; 7d244 (1f:5244) - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, bc ld a, [hl] - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, bc ld [hl], a - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc res 4, [hl] res 5, [hl] @@ -168,7 +168,7 @@ Audio3_endchannel: ; 7d25a (1f:525a) cp $ff ; is this command an endchannel? jp nz, Audio3_callchannel ; no ld b, $0 ; yes - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 1, [hl] jr nz, .returnFromCall @@ -178,22 +178,22 @@ Audio3_endchannel: ; 7d25a (1f:525a) jr .asm_7d2b3 .noiseOrSfxChannel res 2, [hl] - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc res 0, [hl] cp CH6 jr nz, .notSfxChannel3 ld a, $0 - ld [$ff1a], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a .notSfxChannel3 jr nz, .asm_7d296 - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr z, .asm_7d296 xor a - ld [wc003], a + ld [wDisableChannelOutputWhenSfxEnds], a jr .asm_7d2b3 .asm_7d296 jr .asm_7d2bc @@ -203,10 +203,10 @@ Audio3_endchannel: ; 7d25a (1f:525a) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de push hl ; store current channel address - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld e, l ld d, h @@ -220,16 +220,16 @@ Audio3_endchannel: ; 7d25a (1f:525a) .asm_7d2b3 ld hl, Unknown_7db93 add hl, bc - ld a, [$ff25] + ld a, [rNR51] and [hl] - ld [$ff25], a + ld [rNR51], a .asm_7d2bc - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $14 jr nc, .asm_7d2c5 jr .asm_7d2e2 .asm_7d2c5 - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $86 jr z, .asm_7d2e2 jr c, .asm_7d2d0 @@ -241,12 +241,12 @@ Audio3_endchannel: ; 7d25a (1f:525a) call Audio3_7d73b ret c .asm_7d2d9 - ld a, [wc005] - ld [$ff24], a + ld a, [wSavedVolume] + ld [rNR50], a xor a - ld [wc005], a + ld [wSavedVolume], a .asm_7d2e2 - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc ld [hl], b ret @@ -265,10 +265,10 @@ Audio3_callchannel: ; 7d2e8 (1f:52e8) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de push hl - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld e, l ld d, h @@ -283,7 +283,7 @@ Audio3_callchannel: ; 7d2e8 (1f:52e8) inc hl ld [hl], d ; overwrite current address with pointer ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 1, [hl] ; set the call flag jp Audio3_endchannel @@ -296,7 +296,7 @@ Audio3_loopchannel: ; 7d31d (1f:531d) and a jr z, .infiniteLoop ld b, $0 - ld hl, wc0be + ld hl, wChannelLoopCounters add hl, bc ld a, [hl] cp e @@ -319,7 +319,7 @@ Audio3_loopchannel: ; 7d31d (1f:531d) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de pop af ld [hli], a @@ -333,7 +333,7 @@ Audio3_notetype: ; 7d358 (1f:5358) ld a, d ; yes and $f ld b, $0 - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, bc ld [hl], a ; store low nibble as speed ld a, c @@ -346,10 +346,10 @@ Audio3_notetype: ; 7d358 (1f:5358) jr z, .musicChannel3 cp CH6 jr nz, .notChannel3 - ld hl, wc0e7 + ld hl, wSfxWaveInstrument jr .sfxChannel3 .musicChannel3 - ld hl, wc0e6 + ld hl, wMusicWaveInstrument .sfxChannel3 ld a, d and $f @@ -364,7 +364,7 @@ Audio3_notetype: ; 7d358 (1f:5358) ; else, store volume (high nibble) and fade (low nibble) .notChannel3 ld b, $0 - ld hl, wc0de + ld hl, wChannelVolumes add hl, bc ld [hl], d .noiseChannel @@ -375,11 +375,11 @@ Audio3_toggleperfectpitch: ; 7d397 (1f:5397) cp $e8 ; is this command a toggleperfectpitch? jr nz, Audio3_vibrato ; no ld b, $0 ; yes - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc ld a, [hl] xor $1 - ld [hl], a ; flip bit 0 of wc02e + ld [hl], a ; flip bit 0 of wChannelFlags1 jp Audio3_endchannel Audio3_vibrato: ; 7d3a9 (1f:53a9) @@ -387,10 +387,10 @@ Audio3_vibrato: ; 7d3a9 (1f:53a9) jr nz, Audio3_pitchbend ; no call Audio3_GetNextMusicByte ; yes ld b, $0 - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, bc ld [hl], a ; store delay - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, bc ld [hl], a ; store delay call Audio3_GetNextMusicByte @@ -398,7 +398,7 @@ Audio3_vibrato: ; 7d3a9 (1f:53a9) and $f0 swap a ld b, $0 - ld hl, wc056 + ld hl, wChannelVibratoExtents add hl, bc srl a ld e, a @@ -409,7 +409,7 @@ Audio3_vibrato: ; 7d3a9 (1f:53a9) ld a, d and $f ld d, a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, bc swap a or d @@ -421,7 +421,7 @@ Audio3_pitchbend: ; 7d3e1 (1f:53e1) jr nz, Audio3_duty ; no call Audio3_GetNextMusicByte ; yes ld b, $0 - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc ld [hl], a ; store first param call Audio3_GetNextMusicByte @@ -433,14 +433,14 @@ Audio3_pitchbend: ; 7d3e1 (1f:53e1) and $f call Audio3_7d8cc ld b, $0 - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld [hl], d ; store unknown part of second param - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld [hl], e ; store unknown part of second param ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 4, [hl] ; set pitchbend flag call Audio3_GetNextMusicByte @@ -455,7 +455,7 @@ Audio3_duty: ; 7d419 (1f:5419) rrca and $c0 ld b, $0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld [hl], a ; store duty jp Audio3_endchannel @@ -467,25 +467,25 @@ Audio3_tempo: ; 7d42e (1f:542e) cp CH4 jr nc, .sfxChannel call Audio3_GetNextMusicByte - ld [wc0e8], a ; store first param + ld [wMusicTempo], a ; store first param call Audio3_GetNextMusicByte - ld [wc0e9], a ; store second param + ld [wMusicTempo + 1], a ; store second param xor a - ld [wc0ce], a ; clear RAM - ld [wc0cf], a - ld [wc0d0], a - ld [wc0d1], a + ld [wChannelNoteDelayCountersFractionalPart], a ; clear RAM + ld [wChannelNoteDelayCountersFractionalPart + 1], a + ld [wChannelNoteDelayCountersFractionalPart + 2], a + ld [wChannelNoteDelayCountersFractionalPart + 3], a jr .musicChannelDone .sfxChannel call Audio3_GetNextMusicByte - ld [wc0ea], a ; store first param + ld [wSfxTempo], a ; store first param call Audio3_GetNextMusicByte - ld [wc0eb], a ; store second param + ld [wSfxTempo + 1], a ; store second param xor a - ld [wc0d2], a ; clear RAM - ld [wc0d3], a - ld [wc0d4], a - ld [wc0d5], a + ld [wChannelNoteDelayCountersFractionalPart + 4], a ; clear RAM + ld [wChannelNoteDelayCountersFractionalPart + 5], a + ld [wChannelNoteDelayCountersFractionalPart + 6], a + ld [wChannelNoteDelayCountersFractionalPart + 7], a .musicChannelDone jp Audio3_endchannel @@ -493,7 +493,7 @@ Audio3_stereopanning: ; 7d46e (1f:546e) cp $ee ; is this command a stereopanning? jr nz, Audio3_unknownmusic0xef ; no call Audio3_GetNextMusicByte ; yes - ld [wc004], a ; store panning + ld [wStereoPanning], a ; store panning jp Audio3_endchannel ; this appears to never be used @@ -502,15 +502,15 @@ Audio3_unknownmusic0xef: ; 7d47b (1f:547b) jr nz, Audio3_dutycycle ; no call Audio3_GetNextMusicByte ; yes push bc - call Audio3_7d8ea + call Audio3_PlaySound pop bc - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr nz, .skip - ld a, [wc02d] - ld [wc003], a + ld a, [wChannelSoundIDs + CH7] + ld [wDisableChannelOutputWhenSfxEnds], a xor a - ld [wc02d], a + ld [wChannelSoundIDs + CH7], a .skip jp Audio3_endchannel @@ -519,14 +519,14 @@ Audio3_dutycycle: ; 7d49a (1f:549a) jr nz, Audio3_volume ; no call Audio3_GetNextMusicByte ; yes ld b, $0 - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, bc ld [hl], a ; store full cycle and $c0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld [hl], a ; store first duty - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 6, [hl] ; set duty flag jp Audio3_endchannel @@ -535,14 +535,14 @@ Audio3_volume: ; 7d4b8 (1f:54b8) cp $f0 ; is this command a volume? jr nz, Audio3_executemusic ; no call Audio3_GetNextMusicByte ; yes - ld [$ff24], a ; store volume + ld [rNR50], a ; store volume jp Audio3_endchannel Audio3_executemusic: ; 7d4c4 (1f:54c4) cp $f8 ; is this command an executemusic? jr nz, Audio3_octave ; no ld b, $0 ; yes - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc set 0, [hl] jp Audio3_endchannel @@ -551,7 +551,7 @@ Audio3_octave: ; 7d4d3 (1f:54d3) and $f0 cp $e0 ; is this command an octave? jr nz, Audio3_unknownsfx0x20 ; no - ld hl, wc0d6 ; yes + ld hl, wChannelOctaves ; yes ld b, $0 add hl, bc ld a, d @@ -566,14 +566,14 @@ Audio3_unknownsfx0x20: ; 7d4e6 (1f:54e6) cp CH3 ; is this a noise or sfx channel? jr c, Audio3_unknownsfx0x10 ; no ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, Audio3_unknownsfx0x10 ; no call Audio3_notelength ; yes ld d, a ld b, $0 - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld a, [hl] or d @@ -612,12 +612,12 @@ Audio3_unknownsfx0x10: ; 7d533 (1f:5533) cp $10 ; is this command an unknownsfx0x10? jr nz, Audio3_note ; no ld b, $0 - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, Audio3_note ; no call Audio3_GetNextMusicByte ; yes - ld [$ff10], a + ld [rNR10], a jp Audio3_endchannel Audio3_note: ; 7d54f (1f:554f) @@ -647,11 +647,11 @@ Audio3_dnote: ; 7d569 (1f:5569) call Audio3_GetNextMusicByte ; get dnote instrument asm_7d571 ld d, a - ld a, [wc003] + ld a, [wDisableChannelOutputWhenSfxEnds] and a jr nz, .asm_7d57c ld a, d - call Audio3_7d8ea + call Audio3_PlaySound .asm_7d57c pop bc pop de @@ -664,7 +664,7 @@ Audio3_notelength: ; 7d57e (1f:557e) ld b, $0 ld e, a ; store note length (in 16ths) ld d, b - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, bc ld a, [hl] ld l, b @@ -672,9 +672,9 @@ Audio3_notelength: ; 7d57e (1f:557e) ld a, c cp CH4 jr nc, .sfxChannel - ld a, [wc0e8] + ld a, [wMusicTempo] ld d, a - ld a, [wc0e9] + ld a, [wMusicTempo + 1] ld e, a jr .skip .sfxChannel @@ -683,31 +683,31 @@ Audio3_notelength: ; 7d57e (1f:557e) cp CH7 jr z, .skip ; if noise channel call Audio3_7d707 - ld a, [wc0ea] + ld a, [wSfxTempo] ld d, a - ld a, [wc0eb] + ld a, [wSfxTempo + 1] ld e, a .skip ld a, l ld b, $0 - ld hl, wc0ce + ld hl, wChannelNoteDelayCountersFractionalPart add hl, bc ld l, [hl] call Audio3_7d8bb ld e, l ld d, h - ld hl, wc0ce + ld hl, wChannelNoteDelayCountersFractionalPart add hl, bc ld [hl], e ld a, d - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld [hl], a - ld hl, wc036 + ld hl, wChannelFlags2 add hl, bc bit 0, [hl] jr nz, Audio3_notepitch - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 2, [hl] jr z, Audio3_notepitch @@ -722,7 +722,7 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) ld a, c cp CH4 jr nc, .sfxChannel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a @@ -738,9 +738,9 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) ld b, $0 ld hl, Unknown_7db93 add hl, bc - ld a, [$ff25] + ld a, [rNR51] and [hl] - ld [$ff25], a + ld [rNR51], a jr .quit .notSfxChannel3 ld b, $2 @@ -755,12 +755,12 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) .notRest swap a ld b, $0 - ld hl, wc0d6 + ld hl, wChannelOctaves add hl, bc ld b, [hl] call Audio3_7d8cc ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 4, [hl] jr z, .asm_7d62c @@ -770,7 +770,7 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) ld a, c cp CH4 jr nc, .skip ; if sfx Channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 ld d, $0 ld e, a add hl, de @@ -783,7 +783,7 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) ret .skip ld b, $0 - ld hl, wc0de + ld hl, wChannelVolumes add hl, bc ld d, [hl] ld b, $2 @@ -793,7 +793,7 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) call Audio3_7d66c pop de ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 0, [hl] ; has toggleperfectpitch been used? jr z, .skip2 @@ -801,7 +801,7 @@ Audio3_notepitch: ; 7d5dc (1f:55dc) jr nc, .skip2 inc d .skip2 - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, bc ld [hl], e call Audio3_7d6bf @@ -811,7 +811,7 @@ Audio3_7d66c: ; 7d66c (1f:566c) ld b, $0 ld hl, Unknown_7db9b add hl, bc - ld a, [$ff25] + ld a, [rNR51] or [hl] ld d, a ld a, c @@ -819,18 +819,18 @@ Audio3_7d66c: ; 7d66c (1f:566c) jr z, .sfxNoiseChannel cp CH4 jr nc, .skip ; if sfx channel - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 add hl, bc ld a, [hl] and a jr nz, .skip .sfxNoiseChannel - ld a, [wc004] + ld a, [wStereoPanning] ld hl, Unknown_7db9b add hl, bc and [hl] ld d, a - ld a, [$ff25] + ld a, [rNR51] ld hl, Unknown_7db93 add hl, bc and [hl] @@ -838,12 +838,12 @@ Audio3_7d66c: ; 7d66c (1f:566c) ld d, a .skip ld a, d - ld [$ff25], a + ld [rNR51], a ret Audio3_7d69d: ; 7d69d (1f:569d) ld b, $0 - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld d, [hl] ld a, c @@ -854,7 +854,7 @@ Audio3_7d69d: ; 7d69d (1f:569d) ld a, d and $3f ld d, a - ld hl, wc03e + ld hl, wChannelDuties add hl, bc ld a, [hl] or d @@ -874,10 +874,10 @@ Audio3_7d6bf: ; 7d6bf (1f:56bf) ; fall through .channel3 push de - ld de, wc0e6 + ld de, wMusicWaveInstrument cp CH2 jr z, .musicChannel3 - ld de, wc0e7 + ld de, wSfxWaveInstrument .musicChannel3 ld a, [de] add a @@ -891,7 +891,7 @@ Audio3_7d6bf: ; 7d6bf (1f:56bf) ld hl, $ff30 ld b, $f ld a, $0 - ld [$ff1a], a + ld [rNR30], a .loop ld a, [de] inc de @@ -901,7 +901,7 @@ Audio3_7d6bf: ; 7d6bf (1f:56bf) and a jr nz, .loop ld a, $80 - ld [$ff1a], a + ld [rNR30], a pop de .notSfxChannel3 ld a, d @@ -920,27 +920,27 @@ Audio3_7d707: ; 7d707 (1f:5707) call Audio3_7d759 jr nc, .asm_7d71f ld d, $0 - ld a, [wc0f2] + ld a, [wTempoModifier] add $80 jr nc, .asm_7d716 inc d .asm_7d716 - ld [wc0eb], a + ld [wSfxTempo + 1], a ld a, d - ld [wc0ea], a + ld [wSfxTempo], a jr .asm_7d728 .asm_7d71f xor a - ld [wc0eb], a + ld [wSfxTempo + 1], a ld a, $1 - ld [wc0ea], a + ld [wSfxTempo], a .asm_7d728 ret Audio3_7d729: ; 7d729 (1f:5729) call Audio3_7d759 jr nc, .asm_7d73a - ld a, [wc0f1] + ld a, [wFrequencyModifier] add e jr nc, .asm_7d735 inc d @@ -956,7 +956,7 @@ Audio3_7d729: ; 7d729 (1f:5729) Audio3_7d73b: ; 7d73b (1f:573b) call Audio3_7d759 jr nc, .asm_7d756 - ld hl, wc006 + ld hl, wChannelCommandPointers ld e, c ld d, $0 sla e @@ -977,7 +977,7 @@ Audio3_7d73b: ; 7d73b (1f:573b) ret Audio3_7d759: ; 7d759 (1f:5759) - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $14 jr nc, .asm_7d762 jr .asm_7d768 @@ -994,27 +994,27 @@ Audio3_7d759: ; 7d759 (1f:5759) ret Audio3_ApplyPitchBend: ; 7d76d (1f:576d) - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc bit 5, [hl] jp nz, .asm_7d7b4 - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld e, [hl] - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld l, [hl] ld h, b add hl, de ld d, h ld e, l - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, bc push hl - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld a, [hl] pop hl @@ -1026,26 +1026,26 @@ Audio3_ApplyPitchBend: ; 7d76d (1f:576d) ld a, $0 adc d ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, [hl] cp d jp c, .asm_7d7fa jr nz, .asm_7d7e7 - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, [hl] cp e jp c, .asm_7d7fa jr .asm_7d7e7 .asm_7d7b4 - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld a, [hl] - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld e, [hl] sub e @@ -1053,7 +1053,7 @@ Audio3_ApplyPitchBend: ; 7d76d (1f:576d) ld a, d sbc b ld d, a - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld a, [hl] add a @@ -1064,22 +1064,22 @@ Audio3_ApplyPitchBend: ; 7d76d (1f:576d) ld a, d sbc b ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, d cp [hl] jr c, .asm_7d7fa jr nz, .asm_7d7e7 - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, e cp [hl] jr c, .asm_7d7fa .asm_7d7e7 - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld [hl], e - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld [hl], d ld b, $3 @@ -1089,54 +1089,54 @@ Audio3_ApplyPitchBend: ; 7d76d (1f:576d) ld [hl], d ret .asm_7d7fa - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc res 4, [hl] res 5, [hl] ret Audio3_7d803: ; 7d803 (1f:5803) - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld [hl], d - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld [hl], e - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, bc ld a, [hl] - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc sub [hl] jr nc, .asm_7d81b ld a, $1 .asm_7d81b ld [hl], a - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, e sub [hl] ld e, a ld a, d sbc b - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc sub [hl] jr c, .asm_7d837 ld d, a ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 5, [hl] jr .asm_7d85a .asm_7d837 - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, bc ld d, [hl] - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, bc ld e, [hl] - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, bc ld a, [hl] sub e @@ -1144,17 +1144,17 @@ Audio3_7d803: ; 7d803 (1f:5803) ld a, d sbc b ld d, a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, bc ld a, [hl] sub d ld d, a ld b, $0 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc res 5, [hl] .asm_7d85a - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, bc .asm_7d85e inc b @@ -1173,20 +1173,20 @@ Audio3_7d803: ; 7d803 (1f:5803) add [hl] ld d, b ld b, $0 - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, bc ld [hl], d - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, bc ld [hl], a - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, bc ld [hl], a ret Audio3_ApplyDutyCycle: ; 7d881 (1f:5881) ld b, $0 - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, bc ld a, [hl] rlca @@ -1207,7 +1207,7 @@ Audio3_GetNextMusicByte: ; 7d899 (1f:5899) ld a, c add a ld e, a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de ld a, [hli] ld e, a @@ -1274,8 +1274,8 @@ Audio3_7d8cc: ; 7d8cc (1f:58cc) ld d, a ret -Audio3_7d8ea:: ; 7d8ea (1f:58ea) - ld [wc001], a +Audio3_PlaySound:: ; 7d8ea (1f:58ea) + ld [wSoundID], a cp $ff jp z, Audio3_7daa8 cp $c2 @@ -1286,75 +1286,75 @@ Audio3_7d8ea:: ; 7d8ea (1f:58ea) jp nc, Audio3_7d9c2 .asm_7d901 xor a - ld [wc000], a - ld [wc003], a - ld [wc0e9], a - ld [wc0e6], a - ld [wc0e7], a + ld [wUnusedC000], a + ld [wDisableChannelOutputWhenSfxEnds], a + ld [wMusicTempo + 1], a + ld [wMusicWaveInstrument], a + ld [wSfxWaveInstrument], a ld d, $8 - ld hl, wc016 + ld hl, wChannelReturnAddresses call FillAudioRAM3 - ld hl, wc006 + ld hl, wChannelCommandPointers call FillAudioRAM3 ld d, $4 - ld hl, wc026 + ld hl, wChannelSoundIDs call FillAudioRAM3 - ld hl, wc02e + ld hl, wChannelFlags1 call FillAudioRAM3 - ld hl, wc03e + ld hl, wChannelDuties call FillAudioRAM3 - ld hl, wc046 + ld hl, wChannelDutyCycles call FillAudioRAM3 - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters call FillAudioRAM3 - ld hl, wc056 + ld hl, wChannelVibratoExtents call FillAudioRAM3 - ld hl, wc05e + ld hl, wChannelVibratoRates call FillAudioRAM3 - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes call FillAudioRAM3 - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues call FillAudioRAM3 - ld hl, wc036 + ld hl, wChannelFlags2 call FillAudioRAM3 - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers call FillAudioRAM3 - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps call FillAudioRAM3 - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart call FillAudioRAM3 - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart call FillAudioRAM3 - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes call FillAudioRAM3 - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes call FillAudioRAM3 - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes call FillAudioRAM3 - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes call FillAudioRAM3 ld a, $1 - ld hl, wc0be + ld hl, wChannelLoopCounters call FillAudioRAM3 - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters call FillAudioRAM3 - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds call FillAudioRAM3 - ld [wc0e8], a + ld [wMusicTempo], a ld a, $ff - ld [wc004], a + ld [wStereoPanning], a xor a - ld [$ff24], a + ld [rNR50], a ld a, $8 - ld [$ff10], a + ld [rNR10], a ld a, $0 - ld [$ff25], a + ld [rNR51], a xor a - ld [$ff1a], a + ld [rNR30], a ld a, $80 - ld [$ff1a], a + ld [rNR30], a ld a, $77 - ld [$ff24], a + ld [rNR50], a jp Audio3_7db03 Audio3_7d9c2: ; 7d9c2 (1f:59c2) @@ -1367,9 +1367,9 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) ld de, SFX_Headers_3 add hl, de ld a, h - ld [wc0ec], a + ld [wSfxHeaderPointer], a ld a, l - ld [wc0ed], a + ld [wSfxHeaderPointer + 1], a ld a, [hl] and $c0 rlca @@ -1382,9 +1382,9 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) add c ld c, a ld b, $0 - ld a, [wc0ec] + ld a, [wSfxHeaderPointer] ld h, a - ld a, [wc0ed] + ld a, [wSfxHeaderPointer + 1] ld l, a add hl, bc ld c, d @@ -1392,7 +1392,7 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) and $f ld e, a ld d, $0 - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, de ld a, [hl] and a @@ -1400,7 +1400,7 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) ld a, e cp $7 jr nz, .asm_7da0e - ld a, [wc001] + ld a, [wSoundID] cp $14 jr nc, .asm_7da07 ret @@ -1410,7 +1410,7 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) jr z, .asm_7da17 jr c, .asm_7da17 .asm_7da0e - ld a, [wc001] + ld a, [wSoundID] cp [hl] jr z, .asm_7da17 jr c, .asm_7da17 @@ -1423,84 +1423,84 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) add hl, hl ld d, h ld e, l - ld hl, wc016 + ld hl, wChannelReturnAddresses add hl, de ld [hli], a ld [hl], a - ld hl, wc006 + ld hl, wChannelCommandPointers add hl, de ld [hli], a ld [hl], a pop de - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, de ld [hl], a - ld hl, wc02e + ld hl, wChannelFlags1 add hl, de ld [hl], a - ld hl, wc03e + ld hl, wChannelDuties add hl, de ld [hl], a - ld hl, wc046 + ld hl, wChannelDutyCycles add hl, de ld [hl], a - ld hl, wc04e + ld hl, wChannelVibratoDelayCounters add hl, de ld [hl], a - ld hl, wc056 + ld hl, wChannelVibratoExtents add hl, de ld [hl], a - ld hl, wc05e + ld hl, wChannelVibratoRates add hl, de ld [hl], a - ld hl, wc066 + ld hl, wChannelFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc06e + ld hl, wChannelVibratoDelayCounterReloadValues add hl, de ld [hl], a - ld hl, wc076 + ld hl, wChannelPitchBendLengthModifiers add hl, de ld [hl], a - ld hl, wc07e + ld hl, wChannelPitchBendFrequencySteps add hl, de ld [hl], a - ld hl, wc086 + ld hl, wChannelPitchBendFrequencyStepsFractionalPart add hl, de ld [hl], a - ld hl, wc08e + ld hl, wChannelPitchBendCurrentFrequencyFractionalPart add hl, de ld [hl], a - ld hl, wc096 + ld hl, wChannelPitchBendCurrentFrequencyHighBytes add hl, de ld [hl], a - ld hl, wc09e + ld hl, wChannelPitchBendCurrentFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc0a6 + ld hl, wChannelPitchBendTargetFrequencyHighBytes add hl, de ld [hl], a - ld hl, wc0ae + ld hl, wChannelPitchBendTargetFrequencyLowBytes add hl, de ld [hl], a - ld hl, wc036 + ld hl, wChannelFlags2 add hl, de ld [hl], a ld a, $1 - ld hl, wc0be + ld hl, wChannelLoopCounters add hl, de ld [hl], a - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters add hl, de ld [hl], a - ld hl, wc0c6 + ld hl, wChannelNoteSpeeds add hl, de ld [hl], a ld a, e cp $4 jr nz, .asm_7da9f ld a, $8 - ld [$ff10], a + ld [rNR10], a .asm_7da9f ld a, c and a @@ -1510,41 +1510,41 @@ Audio3_7d9c2: ; 7d9c2 (1f:59c2) Audio3_7daa8: ; 7daa8 (1f:5aa8) ld a, $80 - ld [$ff26], a - ld [$ff1a], a + ld [rNR52], a + ld [rNR30], a xor a - ld [$ff25], a - ld [$ff1c], a + ld [rNR51], a + ld [rNR32], a ld a, $8 - ld [$ff10], a - ld [$ff12], a - ld [$ff17], a - ld [$ff21], a + ld [rNR10], a + ld [rNR12], a + ld [rNR22], a + ld [rNR42], a ld a, $40 - ld [$ff14], a - ld [$ff19], a - ld [$ff23], a + ld [rNR14], a + ld [rNR24], a + ld [rNR44], a ld a, $77 - ld [$ff24], a + ld [rNR50], a xor a - ld [wc000], a - ld [wc003], a - ld [wc002], a - ld [wc0e9], a - ld [wc0eb], a - ld [wc0e6], a - ld [wc0e7], a + ld [wUnusedC000], a + ld [wDisableChannelOutputWhenSfxEnds], a + ld [wMuteAudioAndPauseMusic], a + ld [wMusicTempo + 1], a + ld [wSfxTempo + 1], a + ld [wMusicWaveInstrument], a + ld [wSfxWaveInstrument], a ld d, $a0 - ld hl, wc006 + ld hl, wChannelCommandPointers call FillAudioRAM3 ld a, $1 ld d, $18 - ld hl, wc0b6 + ld hl, wChannelNoteDelayCounters call FillAudioRAM3 - ld [wc0e8], a - ld [wc0ea], a + ld [wMusicTempo], a + ld [wSfxTempo], a ld a, $ff - ld [wc004], a + ld [wStereoPanning], a ret ; fills d bytes at hl with a @@ -1557,7 +1557,7 @@ FillAudioRAM3: ; 7dafd (1f:5afd) ret Audio3_7db03: ; 7db03 (1f:5b03) - ld a, [wc001] + ld a, [wSoundID] ld l, a ld e, a ld h, $0 @@ -1568,7 +1568,7 @@ Audio3_7db03: ; 7db03 (1f:5b03) add hl, de ld e, l ld d, h - ld hl, wc006 + ld hl, wChannelCommandPointers ld a, [de] ; get channel number ld b, a rlca @@ -1594,14 +1594,14 @@ Audio3_7db03: ; 7db03 (1f:5b03) push af ld b, $0 ld c, a - ld hl, wc026 + ld hl, wChannelSoundIDs add hl, bc - ld a, [wc001] + ld a, [wSoundID] ld [hl], a pop af cp $3 jr c, .asm_7db46 - ld hl, wc02e + ld hl, wChannelFlags1 add hl, bc set 2, [hl] .asm_7db46 @@ -1620,34 +1620,34 @@ Audio3_7db03: ; 7db03 (1f:5b03) ld a, [de] inc de jr nz, .asm_7db25 - ld a, [wc001] + ld a, [wSoundID] cp $14 jr nc, .asm_7db5f jr .asm_7db89 .asm_7db5f - ld a, [wc001] + ld a, [wSoundID] cp $86 jr z, .asm_7db89 jr c, .asm_7db6a jr .asm_7db89 .asm_7db6a - ld hl, wc02a + ld hl, wChannelSoundIDs + CH4 ld [hli], a ld [hli], a ld [hli], a ld [hl], a - ld hl, wc012 ; sfx noise channel pointer + ld hl, wChannelCommandPointers + CH6 * 2 ; sfx noise channel pointer ld de, Noise3_endchannel ld [hl], e inc hl ld [hl], d ; overwrite pointer to point to endchannel - ld a, [wc005] + ld a, [wSavedVolume] and a jr nz, .asm_7db89 - ld a, [$ff24] - ld [wc005], a + ld a, [rNR50] + ld [wSavedVolume], a ld a, $77 - ld [$ff24], a + ld [rNR50], a .asm_7db89 ret diff --git a/constants/hardware_constants.asm b/constants/hardware_constants.asm index f9e3fe19..21a3ad93 100644 --- a/constants/hardware_constants.asm +++ b/constants/hardware_constants.asm @@ -107,4 +107,3 @@ rUNKNOWN5 EQU $ff75 ; (8Fh) - Bit 4-6 (Read/Write) rUNKNOWN6 EQU $ff76 ; (00h) - Always 00h (Read Only) rUNKNOWN7 EQU $ff77 ; (00h) - Always 00h (Read Only) rIE EQU $ffff ; Interrupt Enable (R/W) - diff --git a/constants/music_constants.asm b/constants/music_constants.asm index f239acea..57ad230d 100644 --- a/constants/music_constants.asm +++ b/constants/music_constants.asm @@ -1,3 +1,42 @@ +; HW sound channel register base addresses +HW_CH1_BASE EQU (rNR10 % $100) +HW_CH2_BASE EQU ((rNR21 % $100) - 1) +HW_CH3_BASE EQU (rNR30 % $100) +HW_CH4_BASE EQU ((rNR41 % $100) - 1) + +; HW sound channel enable bit masks +HW_CH1_ENABLE_MASK EQU %00010001 +HW_CH2_ENABLE_MASK EQU %00100010 +HW_CH3_ENABLE_MASK EQU %01000100 +HW_CH4_ENABLE_MASK EQU %10001000 + +; HW sound channel disable bit masks +HW_CH1_DISABLE_MASK EQU (~HW_CH1_ENABLE_MASK & $ff) +HW_CH2_DISABLE_MASK EQU (~HW_CH2_ENABLE_MASK & $ff) +HW_CH3_DISABLE_MASK EQU (~HW_CH3_ENABLE_MASK & $ff) +HW_CH4_DISABLE_MASK EQU (~HW_CH4_ENABLE_MASK & $ff) + +REG_DUTY_SOUND_LEN EQU 1 +REG_VOLUME_ENVELOPE EQU 2 +REG_FREQUENCY_LO EQU 3 + +MAX_SFX_ID EQU $B9 + +CRY_SFX_START EQU $14 +CRY_SFX_END EQU $86 + +; wChannelFlags1 constants +BIT_PERFECT_PITCH EQU 0 ; controlled by toggleperfectpitch command +BIT_CHANNEL_CALL EQU 1 ; if in channel call +BIT_NOISE_OR_SFX EQU 2 ; if channel is the music noise channel or an SFX channel +BIT_VIBRATO_DIRECTION EQU 3 ; if the pitch is above or below normal (cycles) +BIT_PITCH_BEND_ON EQU 4 ; if pitch bend is active +BIT_PITCH_BEND_DECREASING EQU 5 ; if the pitch bend frequency is decreasing (instead of increasing) +BIT_ROTATE_DUTY EQU 6 ; if rotating duty + +; wChannelFlags2 constant (only has one flag) +BIT_EXECUTE_MUSIC EQU 0 ; if in execute music + ; Song ids are calculated by address to save space. music_const: MACRO diff --git a/engine/battle/animations.asm b/engine/battle/animations.asm index b46842ec..1bd48988 100755 --- a/engine/battle/animations.asm +++ b/engine/battle/animations.asm @@ -772,7 +772,7 @@ DoBallTossSpecialEffects: ; 78f3e (1e:4f3e) dec b jr nz,.loop ld a,%00001000 - ld [$ff10],a ; Channel 1 sweep register + ld [rNR10],a ; Channel 1 sweep register ret .isTrainerBattle ; if it's a trainer battle, shorten the animation by one frame ld a,[W_SUBANIMCOUNTER] @@ -2335,19 +2335,19 @@ GetMoveSound: ; 7986f (1e:586f) call GetCryData ld b,a pop hl - ld a,[wc0f1] + ld a,[wFrequencyModifier] add [hl] - ld [wc0f1],a + ld [wFrequencyModifier],a inc hl - ld a,[wc0f2] + ld a,[wTempoModifier] add [hl] - ld [wc0f2],a + ld [wTempoModifier],a jr .done .NotCryMove ld a,[hli] - ld [wc0f1],a + ld [wFrequencyModifier],a ld a,[hli] - ld [wc0f2],a + ld [wTempoModifier],a .done ld a,b ret @@ -3029,8 +3029,8 @@ PlayApplyingAttackSound: ; 79e6a (1e:5e6a) ld b, $1 ld c, SFX_NOT_VERY_EFFECTIVE .playSound - ld [wc0f1], a + ld [wFrequencyModifier], a ld a, b - ld [wc0f2], a + ld [wTempoModifier], a ld a, c jp PlaySound diff --git a/engine/battle/common_text.asm b/engine/battle/common_text.asm index a00e9d59..a1afcb75 100644 --- a/engine/battle/common_text.asm +++ b/engine/battle/common_text.asm @@ -61,9 +61,9 @@ PrintBeginningBattleText: ; 58d99 (16:4d99) .playSFX xor a - ld [wc0f1], a + ld [wFrequencyModifier], a ld a, $80 - ld [wc0f2], a + ld [wTempoModifier], a ld a, SFX_SILPH_SCOPE call PlaySound jp WaitForSoundToFinish diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 004859da..22a47908 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -867,12 +867,12 @@ FaintEnemyPokemon: ; 0x3c567 dec a jr z, .wild_win xor a - ld [wc0f1], a - ld [wc0f2], a + ld [wFrequencyModifier], a + ld [wTempoModifier], a ld a, SFX_FAINT_FALL call PlaySoundWaitForCurrent .sfxwait - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp SFX_FAINT_FALL jr z, .sfxwait ld a, SFX_FAINT_THUD @@ -952,7 +952,7 @@ EnemyMonFaintedText: ; 0x3c63e EndLowHealthAlarm: ; 3c643 (f:4643) xor a ld [wLowHealthAlarm], a ;disable low health alarm - ld [wc02a], a + ld [wChannelSoundIDs + CH4], a inc a ld [wccf6], a ret @@ -1045,7 +1045,7 @@ TrainerDefeatedText: ; 3c6e9 (f:46e9) PlayBattleVictoryMusic: ; 3c6ee (f:46ee) push af ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySoundWaitForCurrent ld c, BANK(Music_DefeatedTrainer) pop af @@ -1944,7 +1944,7 @@ DrawPlayerHUDAndHPBar: ; 3cd60 (f:4d60) ld [hl], $0 ret z xor a - ld [wc02a], a + ld [wChannelSoundIDs + CH4], a ret .asm_3cde6 ld hl, wLowHealthAlarm @@ -6993,8 +6993,8 @@ _LoadTrainerPic: ; 3f04b (f:704b) ; unreferenced ResetCryModifiers: ; 3f069 (f:7069) xor a - ld [wc0f1], a - ld [wc0f2], a + ld [wFrequencyModifier], a + ld [wTempoModifier], a jp PlaySound ; animates the mon "growing" out of the pokeball diff --git a/engine/battle/end_of_battle.asm b/engine/battle/end_of_battle.asm index c642d206..f1de313c 100755 --- a/engine/battle/end_of_battle.asm +++ b/engine/battle/end_of_battle.asm @@ -46,7 +46,7 @@ EndOfBattle: ; 137aa (4:77aa) .resetVariables xor a ld [wLowHealthAlarm], a ;disable low health alarm - ld [wc02a], a + ld [wChannelSoundIDs + CH4], a ld [W_ISINBATTLE], a ld [W_BATTLETYPE], a ld [W_MOVEMISSED], a diff --git a/engine/cable_club.asm b/engine/cable_club.asm index 078ae5c2..dec18fe3 100755 --- a/engine/cable_club.asm +++ b/engine/cable_club.asm @@ -824,12 +824,12 @@ TradeCenter_Trade: add hl, bc ld a, [hl] ld [wTradedEnemyMonSpecies], a - ld a, $a - ld [wMusicHeaderPointer], a + ld a, 10 + ld [wAudioFadeOutControl], a ld a, $2 - ld [wc0f0], a + ld [wAudioSavedROMBank], a ld a, MUSIC_SAFARI_ZONE - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld c, 100 call DelayFrames @@ -915,12 +915,12 @@ CableClub_Run: ; 5a5f (1:5a5f) inc a ; LINK_STATE_IN_CABLE_CLUB ld [wLinkState], a ld [$ffb5], a - ld a, $a - ld [wMusicHeaderPointer], a + ld a, 10 + ld [wAudioFadeOutControl], a ld a, BANK(Music_Celadon) - ld [wc0f0], a + ld [wAudioSavedROMBank], a ld a, MUSIC_CELADON - ld [wc0ee], a + ld [wNewSoundID], a jp PlaySound EmptyFunc3: ; 5aaf (1:5aaf) diff --git a/engine/evolution.asm b/engine/evolution.asm index 720e77cd..8fbf568a 100755 --- a/engine/evolution.asm +++ b/engine/evolution.asm @@ -8,9 +8,9 @@ EvolveMon: ; 7bde9 (1e:7de9) push af xor a ld [wLowHealthAlarm], a - ld [wc02a], a + ld [wChannelSoundIDs + CH4], a dec a - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld a, $1 ld [H_AUTOBGTRANSFERENABLED], a @@ -68,7 +68,7 @@ EvolveMon: ; 7bde9 (1e:7de9) .done ld [wcf1d], a ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld a, [wcf1d] call PlayCry diff --git a/engine/hall_of_fame.asm b/engine/hall_of_fame.asm index ce1430e3..293c756f 100755 --- a/engine/hall_of_fame.asm +++ b/engine/hall_of_fame.asm @@ -280,9 +280,9 @@ HoFRecordMonInfo: ; 70404 (1c:4404) jp CopyData HoFFadeOutScreenAndMusic: ; 70423 (1c:4423) - ld a, $a - ld [wcfc8], a - ld [wcfc9], a + ld a, 10 + ld [wAudioFadeOutCounterReloadValue], a + ld [wAudioFadeOutCounter], a ld a, $ff - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a jp GBFadeOutToWhite diff --git a/engine/hidden_object_functions7.asm b/engine/hidden_object_functions7.asm index 0753531e..67e75301 100755 --- a/engine/hidden_object_functions7.asm +++ b/engine/hidden_object_functions7.asm @@ -63,14 +63,14 @@ SafariZoneGameStillGoing: ; 1e9ab (7:69ab) SafariZoneGameOver: ; 1e9b0 (7:69b0) call EnableAutoTextBoxDrawing xor a - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a dec a call PlaySound ld c, BANK(SFX_Safari_Zone_PA) ld a, SFX_SAFARI_ZONE_PA call PlayMusic .asm_1e9c2 - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $b9 jr nz, .asm_1e9c2 ld a, TEXT_SAFARI_GAME_OVER @@ -374,7 +374,7 @@ BillsHouseInitiatedText: ; 1ebe2 (7:6be2) db $06 TX_ASM ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld c, 16 call DelayFrames diff --git a/engine/intro.asm b/engine/intro.asm index 154c41fd..572d51fa 100755 --- a/engine/intro.asm +++ b/engine/intro.asm @@ -325,10 +325,10 @@ PlayShootingStar: ; 4188a (10:588a) call DelayFrames .next ld a, BANK(Music_IntroBattle) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a ld a, MUSIC_INTRO_BATTLE - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound call IntroClearMiddleOfScreen call ClearSprites diff --git a/engine/items/items.asm b/engine/items/items.asm index a45b9185..84490521 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -856,7 +856,7 @@ ItemUseMedicine: ; dabb (3:5abb) .notFullHP ; if the pokemon's current HP doesn't equal its max HP xor a ld [wLowHealthAlarm],a ;disable low health alarm - ld [wc02a],a + ld [wChannelSoundIDs + CH4],a push hl push de ld bc,32 @@ -1643,7 +1643,7 @@ ItemUsePokeflute: ; e140 (3:6140) call WaitForSoundToFinish ; wait for sound to end callba Music_PokeFluteInBattle ; play in-battle pokeflute music .musicWaitLoop ; wait for music to finish playing - ld a,[wc02c] + ld a,[wChannelSoundIDs + CH6] and a ; music off? jr nz,.musicWaitLoop .skipMusic @@ -1716,8 +1716,8 @@ PlayedFluteHadEffectText: ; e215 (3:6215) ld c, BANK(SFX_Pokeflute) call PlayMusic .musicWaitLoop ; wait for music to finish playing - ld a,[wc028] - cp a,$b8 + ld a,[wChannelSoundIDs + CH2] + cp a, SFX_POKEFLUE jr z,.musicWaitLoop call PlayDefaultMusic ; start playing normal music again .done diff --git a/engine/menu/pokedex.asm b/engine/menu/pokedex.asm index b5ebd83e..fd8a928d 100755 --- a/engine/menu/pokedex.asm +++ b/engine/menu/pokedex.asm @@ -397,7 +397,7 @@ ShowPokedexDataInternal: ; 402e2 (10:42e2) ld hl,wd72c set 1,[hl] ld a,$33 ; 3/7 volume - ld [$ff24],a + ld [rNR50],a call GBPalWhiteOut ; zero all palettes call ClearScreen ld a,[wd11e] ; pokemon ID @@ -566,7 +566,7 @@ ShowPokedexDataInternal: ; 402e2 (10:42e2) ld hl,wd72c res 1,[hl] ld a,$77 ; max volume - ld [$ff24],a + ld [rNR50],a ret HeightWeightText: ; 40448 (10:4448) diff --git a/engine/menu/status_screen.asm b/engine/menu/status_screen.asm index c13d7c85..bc58ba21 100755 --- a/engine/menu/status_screen.asm +++ b/engine/menu/status_screen.asm @@ -80,7 +80,7 @@ StatusScreen: ; 12953 (4:6953) ld hl, wd72c set 1, [hl] ld a, $33 - ld [$ff24], a ; Reduce the volume + ld [rNR50], a ; Reduce the volume call GBPalWhiteOutWithDelay3 call ClearScreen call UpdateSprites @@ -430,7 +430,7 @@ StatusScreen2: ; 12b57 (4:6b57) ld hl, wd72c res 1, [hl] ld a, $77 - ld [$ff24], a + ld [rNR50], a call GBPalWhiteOut jp ClearScreen diff --git a/engine/oak_speech.asm b/engine/oak_speech.asm index 98499d7f..566bd880 100755 --- a/engine/oak_speech.asm +++ b/engine/oak_speech.asm @@ -129,12 +129,12 @@ OakSpeech: ; 6115 (1:6115) ld a,[H_LOADEDROMBANK] push af ld a, BANK(Music_PalletTown) - ld [wc0ef],a - ld [wc0f0],a - ld a,$A - ld [wMusicHeaderPointer],a + ld [wAudioROMBank],a + ld [wAudioSavedROMBank],a + ld a, 10 + ld [wAudioFadeOutControl],a ld a,$FF - ld [wc0ee],a + ld [wNewSoundID],a call PlaySound ; stop music pop af ld [H_LOADEDROMBANK],a diff --git a/engine/overworld/elevator.asm b/engine/overworld/elevator.asm index eb62fee7..05a9cc4e 100755 --- a/engine/overworld/elevator.asm +++ b/engine/overworld/elevator.asm @@ -33,7 +33,7 @@ ShakeElevator: ; 7bf15 (1e:7f15) ld a, SFX_SAFARI_ZONE_PA call PlayMusic .musicLoop - ld a, [wc02a] + ld a, [wChannelSoundIDs + CH4] cp $b9 jr z, .musicLoop call UpdateSprites diff --git a/engine/overworld/healing_machine.asm b/engine/overworld/healing_machine.asm index d3513b0d..0c04ff0e 100755 --- a/engine/overworld/healing_machine.asm +++ b/engine/overworld/healing_machine.asm @@ -15,44 +15,44 @@ AnimateHealingMachine: ; 70433 (1c:4433) ld hl, wOAMBuffer + $84 ld de, PokeCenterOAMData call CopyHealingMachineOAM - ld a, $4 - ld [wMusicHeaderPointer], a + ld a, 4 + ld [wAudioFadeOutControl], a ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound -.asm_70464 - ld a, [wMusicHeaderPointer] - and a - jr nz, .asm_70464 +.waitLoop + ld a, [wAudioFadeOutControl] + and a ; is fade-out finished? + jr nz, .waitLoop ; if not, check again ld a, [wPartyCount] ld b, a -.asm_7046e +.partyLoop call CopyHealingMachineOAM ld a, SFX_HEALING_MACHINE call PlaySound ld c, 30 call DelayFrames dec b - jr nz, .asm_7046e - ld a, [wc0ef] + jr nz, .partyLoop + ld a, [wAudioROMBank] cp BANK(Audio3_UpdateMusic) - ld [wc0f0], a - jr nz, .asm_70495 + ld [wAudioSavedROMBank], a + jr nz, .next ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld a, BANK(Music_PkmnHealed) - ld [wc0ef], a -.asm_70495 + ld [wAudioROMBank], a +.next ld a, MUSIC_PKMN_HEALED - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld d, $28 call FlashSprite8Times -.asm_704a2 - ld a, [wc026] - cp MUSIC_PKMN_HEALED - jr z, .asm_704a2 +.waitLoop2 + ld a, [wChannelSoundIDs] + cp MUSIC_PKMN_HEALED ; is the healed music still playing? + jr z, .waitLoop2 ; if so, check gain ld c, 32 call DelayFrames pop af diff --git a/engine/overworld/npc_movement.asm b/engine/overworld/npc_movement.asm index 0c01e38c..fa5ac222 100755 --- a/engine/overworld/npc_movement.asm +++ b/engine/overworld/npc_movement.asm @@ -163,10 +163,10 @@ PewterMuseumGuyMovementScriptPointerTable: ; 1a510 (6:6510) PewterMovementScript_WalkToMuseum: ; 1a514 (6:6514) ld a, BANK(Music_MuseumGuy) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a ld a, MUSIC_MUSEUM_GUY - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld a, [wSpriteIndex] swap a @@ -219,10 +219,10 @@ PewterGymGuyMovementScriptPointerTable: ; 1a57d (6:657d) PewterMovementScript_WalkToGym: ; 1a581 (6:6581) ld a, BANK(Music_MuseumGuy) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a ld a, MUSIC_MUSEUM_GUY - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld a, [wSpriteIndex] swap a diff --git a/engine/overworld/pokecenter.asm b/engine/overworld/pokecenter.asm index 5b2e4cbb..f302d994 100755 --- a/engine/overworld/pokecenter.asm +++ b/engine/overworld/pokecenter.asm @@ -24,12 +24,12 @@ DisplayPokemonCenterDialogue_: ; 6fe6 (1:6fe6) predef HealParty callba AnimateHealingMachine ; do the healing machine animation xor a - ld [wMusicHeaderPointer], a - ld a, [wc0f0] - ld [wc0ef], a - ld a, [wd35b] - ld [wcfca], a - ld [wc0ee], a + ld [wAudioFadeOutControl], a + ld a, [wAudioSavedROMBank] + ld [wAudioROMBank], a + ld a, [wMapMusicSoundID] + ld [wLastMusicSoundID], a + ld [wNewSoundID], a call PlaySound ld hl, PokemonFightingFitText call PrintText diff --git a/engine/slot_machine.asm b/engine/slot_machine.asm index 3b392dde..b68b9294 100755 --- a/engine/slot_machine.asm +++ b/engine/slot_machine.asm @@ -411,7 +411,7 @@ SlotMachine_CheckForMatches: ; 37588 (d:7588) call PrintText .done xor a - ld [wc002], a + ld [wMuteAudioAndPauseMusic], a ret .rollWheel3DownByOneSymbol call SlotMachine_AnimWheel3 @@ -654,7 +654,7 @@ SlotMachine_PrintPayoutCoins: ; 3775f (d:775f) SlotMachine_PayCoinsToPlayer: ; 3776b (d:776b) ld a, $1 - ld [wc002], a + ld [wMuteAudioAndPauseMusic], a call WaitForSoundToFinish ; Put 1 in the temp coins variable. This value is added to the player's coins diff --git a/engine/titlescreen.asm b/engine/titlescreen.asm index df47275b..17609786 100755 --- a/engine/titlescreen.asm +++ b/engine/titlescreen.asm @@ -18,8 +18,8 @@ SetDefaultNamesBeforeTitlescreen: ; 42b7 (1:42b7) ld [hli], a ld [hl], a ld a, BANK(Music_TitleScreen) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a DisplayTitleScreen: ; 42dd (1:42dd) call GBPalWhiteOut @@ -219,7 +219,7 @@ ENDC call Delay3 call WaitForSoundToFinish ld a, MUSIC_TITLE_SCREEN - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound xor a ld [wcc5b], a diff --git a/home.asm b/home.asm index b18a4ec3..e850c858 100644 --- a/home.asm +++ b/home.asm @@ -332,9 +332,9 @@ GetCryData:: ; 13d9 (0:13d9) ld a, [hli] ld b, a ; cry id ld a, [hli] - ld [wc0f1], a + ld [wFrequencyModifier], a ld a, [hl] - ld [wc0f2], a + ld [wTempoModifier], a call BankswitchBack ; Cry headers have 3 channels, @@ -998,27 +998,27 @@ ResetPlayerSpriteData_ClearSpriteData:: ; 28c4 (0:28c4) xor a jp FillMemory -Func_28cb:: ; 28cb (0:28cb) - ld a, [wMusicHeaderPointer] +FadeOutAudio:: ; 28cb (0:28cb) + ld a, [wAudioFadeOutControl] and a jr nz, .asm_28dc ld a, [wd72c] bit 1, a ret nz ld a, $77 - ld [$ff24], a + ld [rNR50], a ret .asm_28dc - ld a, [wcfc9] + ld a, [wAudioFadeOutCounter] and a - jr z, .asm_28e7 + jr z, .counterReachedZero dec a - ld [wcfc9], a + ld [wAudioFadeOutCounter], a ret -.asm_28e7 - ld a, [wcfc8] - ld [wcfc9], a - ld a, [$ff24] +.counterReachedZero + ld a, [wAudioFadeOutCounterReloadValue] + ld [wAudioFadeOutCounter], a + ld a, [rNR50] and a jr z, .asm_2903 ld b, a @@ -1031,20 +1031,20 @@ Func_28cb:: ; 28cb (0:28cb) dec a swap a or c - ld [$ff24], a + ld [rNR50], a ret .asm_2903 - ld a, [wMusicHeaderPointer] + ld a, [wAudioFadeOutControl] ld b, a xor a - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound - ld a, [wc0f0] - ld [wc0ef], a + ld a, [wAudioSavedROMBank] + ld [wAudioROMBank], a ld a, b - ld [wc0ee], a + ld [wNewSoundID], a jp PlaySound ; this function is used to display sign messages, sprite dialog, etc. @@ -2604,12 +2604,12 @@ PlayTrainerMusic:: ; 33e8 (0:33e8) and a ret nz xor a - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a ld a, $ff call PlaySound ld a, BANK(Music_MeetEvilTrainer) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a ld a, [wEngagedTrainerClass] ld b, a ld hl, EvilTrainerList @@ -2634,7 +2634,7 @@ PlayTrainerMusic:: ; 33e8 (0:33e8) .maleTrainer ld a, MUSIC_MEET_MALE_TRAINER .PlaySound - ld [wc0ee], a + ld [wNewSoundID], a jp PlaySound INCLUDE "data/trainer_types.asm" @@ -3217,8 +3217,8 @@ WaitForSoundToFinish:: ; 3748 (0:3748) and $80 ret nz push hl -.asm_374f - ld hl, wc02a +.waitLoop + ld hl, wChannelSoundIDs + CH4 xor a or [hl] inc hl @@ -3226,7 +3226,7 @@ WaitForSoundToFinish:: ; 3748 (0:3748) inc hl inc hl or [hl] - jr nz, .asm_374f + jr nz, .waitLoop pop hl ret diff --git a/home/audio.asm b/home/audio.asm index 033f4067..2c46ec7a 100644 --- a/home/audio.asm +++ b/home/audio.asm @@ -3,112 +3,139 @@ PlayDefaultMusic:: ; 2307 (0:2307) xor a ld c, a ld d, a - ld [wcfca], a - jr Func_2324 + ld [wLastMusicSoundID], a + jr PlayDefaultMusicCommon -Func_2312:: ; 2312 (0:2312) - ld c, $a - ld d, $0 +PlayDefaultMusicFadeOutCurrent:: ; 2312 (0:2312) +; Fade out the current music and then play the default music. + ld c, 10 + ld d, 0 ld a, [wd72e] - bit 5, a - jr z, Func_2324 + bit 5, a ; has a battle just ended? + jr z, PlayDefaultMusicCommon xor a - ld [wcfca], a - ld c, $8 + ld [wLastMusicSoundID], a + ld c, 8 ld d, c -Func_2324:: ; 2324 (0:2324) + +PlayDefaultMusicCommon:: ; 2324 (0:2324) ld a, [wWalkBikeSurfState] and a - jr z, .asm_2343 + jr z, .walking cp $2 - jr z, .asm_2332 + jr z, .surfing ld a, MUSIC_BIKE_RIDING - jr .asm_2334 -.asm_2332 + jr .next + +.surfing ld a, MUSIC_SURFING -.asm_2334 + +.next ld b, a ld a, d - and a + and a ; should current music be faded out first? ld a, BANK(Music_BikeRiding) - jr nz, .asm_233e - ld [wc0ef], a -.asm_233e - ld [wc0f0], a - jr .asm_234c -.asm_2343 - ld a, [wd35b] + jr nz, .next2 + +; Only change the audio ROM bank if the current music isn't going to be faded +; out before the default music begins. + ld [wAudioROMBank], a + +.next2 +; [wAudioSavedROMBank] will be copied to [wAudioROMBank] after fading out the +; current music (if the current music is faded out). + ld [wAudioSavedROMBank], a + jr .next3 + +.walking + ld a, [wMapMusicSoundID] ld b, a - call Func_2385 - jr c, .asm_2351 -.asm_234c - ld a, [wcfca] - cp b - ret z -.asm_2351 + call CompareMapMusicBankWithCurrentBank + jr c, .next4 + +.next3 + ld a, [wLastMusicSoundID] + cp b ; is the default music already playing? + ret z ; if so, do nothing + +.next4 ld a, c - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a ld a, b - ld [wcfca], a - ld [wc0ee], a + ld [wLastMusicSoundID], a + ld [wNewSoundID], a jp PlaySound -Func_235f:: ; 235f (0:235f) - ld a, [wc0ef] +UpdateMusic6Times:: ; 235f (0:235f) +; This is called when entering a map, before fading out the current music and +; playing the default music (i.e. the map's music or biking/surfing music). + ld a, [wAudioROMBank] ld b, a cp BANK(Audio1_UpdateMusic) jr nz, .checkForAudio2 -.audio1 + +; audio 1 ld hl, Audio1_UpdateMusic - jr .asm_2378 + jr .next + .checkForAudio2 cp BANK(Audio2_UpdateMusic) jr nz, .audio3 -.audio2 + +; audio 2 ld hl, Audio2_UpdateMusic - jr .asm_2378 + jr .next + .audio3 ld hl, Audio3_UpdateMusic -.asm_2378 - ld c, $6 -.asm_237a + +.next + ld c, 6 +.loop push bc push hl call Bankswitch pop hl pop bc dec c - jr nz, .asm_237a + jr nz, .loop ret -Func_2385:: ; 2385 (0:2385) - ld a, [wd35c] +CompareMapMusicBankWithCurrentBank:: ; 2385 (0:2385) +; Compares the map music's audio ROM bank with the current audio ROM bank +; and updates the audio ROM bank variables. +; Returns whether the banks are different in carry. + ld a, [wMapMusicROMBank] ld e, a - ld a, [wc0ef] + ld a, [wAudioROMBank] cp e - jr nz, .asm_2394 - ld [wc0f0], a + jr nz, .differentBanks + ld [wAudioSavedROMBank], a and a ret -.asm_2394 - ld a, c +.differentBanks + ld a, c ; this is a fade-out counter value and it's always non-zero and a ld a, e - jr nz, .asm_239c - ld [wc0ef], a -.asm_239c - ld [wc0f0], a + jr nz, .next +; If the fade-counter is non-zero, we don't change the audio ROM bank because +; it's needed to keep playing the music as it fades out. The FadeOutAudio +; routine will take care of copying [wAudioSavedROMBank] to [wAudioROMBank] +; when the music has faded out. + ld [wAudioROMBank], a +.next + ld [wAudioSavedROMBank], a scf ret PlayMusic:: ; 23a1 (0:23a1) ld b, a - ld [wc0ee], a + ld [wNewSoundID], a xor a - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a ld a, c - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a ld a, b ; plays music specified by a. If value is $ff, music is stopped @@ -117,66 +144,74 @@ PlaySound:: ; 23b1 (0:23b1) push de push bc ld b, a - ld a, [wc0ee] + ld a, [wNewSoundID] and a - jr z, .asm_23c8 + jr z, .next xor a - ld [wc02a], a - ld [wc02b], a - ld [wc02c], a - ld [wc02d], a -.asm_23c8 - ld a, [wMusicHeaderPointer] - and a - jr z, .asm_23e3 - ld a, [wc0ee] - and a - jr z, .asm_2425 + ld [wChannelSoundIDs + CH4], a + ld [wChannelSoundIDs + CH5], a + ld [wChannelSoundIDs + CH6], a + ld [wChannelSoundIDs + CH7], a +.next + ld a, [wAudioFadeOutControl] + and a ; has a fade-out length been specified? + jr z, .noFadeOut + ld a, [wNewSoundID] + and a ; is the new sound ID 0? + jr z, .done ; if so, do nothing xor a - ld [wc0ee], a - ld a, [wcfca] - cp $ff - jr nz, .asm_2414 + ld [wNewSoundID], a + ld a, [wLastMusicSoundID] + cp $ff ; has the music been stopped? + jr nz, .fadeOut ; if not, fade out the current music +; If it has been stopped, start playing the new music immediately. xor a - ld [wMusicHeaderPointer], a -.asm_23e3 + ld [wAudioFadeOutControl], a +.noFadeOut xor a - ld [wc0ee], a + ld [wNewSoundID], a ld a, [H_LOADEDROMBANK] - ld [$ffb9], a - ld a, [wc0ef] + ld [hSavedROMBank], a + ld a, [wAudioROMBank] ld [H_LOADEDROMBANK], a ld [MBC1RomBank], a - cp BANK(Audio1_9876) + cp BANK(Audio1_PlaySound) jr nz, .checkForAudio2 -.audio1 + +; audio 1 ld a, b - call Audio1_9876 - jr .asm_240b + call Audio1_PlaySound + jr .next2 + .checkForAudio2 - cp BANK(Audio2_22035) + cp BANK(Audio2_PlaySound) jr nz, .audio3 -.audio2 + +; audio 2 ld a, b - call Audio2_22035 - jr .asm_240b + call Audio2_PlaySound + jr .next2 + .audio3 ld a, b - call Audio3_7d8ea -.asm_240b - ld a, [$ffb9] + call Audio3_PlaySound + +.next2 + ld a, [hSavedROMBank] ld [H_LOADEDROMBANK], a ld [MBC1RomBank], a - jr .asm_2425 -.asm_2414 + jr .done + +.fadeOut ld a, b - ld [wcfca], a - ld a, [wMusicHeaderPointer] - ld [wcfc8], a - ld [wcfc9], a + ld [wLastMusicSoundID], a + ld a, [wAudioFadeOutControl] + ld [wAudioFadeOutCounterReloadValue], a + ld [wAudioFadeOutCounter], a ld a, b - ld [wMusicHeaderPointer], a -.asm_2425 + ld [wAudioFadeOutControl], a + +.done pop bc pop de pop hl diff --git a/home/init.asm b/home/init.asm index 624a4d6a..cb5c6583 100644 --- a/home/init.asm +++ b/home/init.asm @@ -98,8 +98,8 @@ rLCDC_DEFAULT EQU %11100011 predef LoadSGB ld a, BANK(SFX_Shooting_Star) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a ld a, $9c ld [H_AUTOBGTRANSFERDEST + 1], a xor a @@ -127,11 +127,11 @@ ClearVram: StopAllSounds:: ld a, BANK(Audio1_UpdateMusic) - ld [wc0ef], a - ld [wc0f0], a + ld [wAudioROMBank], a + ld [wAudioSavedROMBank], a xor a - ld [wMusicHeaderPointer], a - ld [wc0ee], a - ld [wcfca], a + ld [wAudioFadeOutControl], a + ld [wNewSoundID], a + ld [wLastMusicSoundID], a dec a jp PlaySound diff --git a/home/overworld.asm b/home/overworld.asm index f8d6e7e1..eba47df2 100644 --- a/home/overworld.asm +++ b/home/overworld.asm @@ -658,7 +658,7 @@ CheckMapConnections:: ; 07ba (0:07ba) ld [wCurrentTileBlockMapViewPointer + 1],a .loadNewMap ; load the connected map that was entered call LoadMapHeader - call Func_2312 ; music + call PlayDefaultMusicFadeOutCurrent ld b,$09 call GoPAL_SET ; Since the sprite set shouldn't change, this will just update VRAM slots at @@ -750,16 +750,16 @@ HandleBlackOut:: ld [MBC1RomBank], a call ResetStatusAndHalveMoneyOnBlackout call SpecialWarpIn - call Func_2312 + call PlayDefaultMusicFadeOutCurrent jp SpecialEnterMap StopMusic:: - ld [wMusicHeaderPointer], a + ld [wAudioFadeOutControl], a ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound .wait - ld a, [wMusicHeaderPointer] + ld a, [wAudioFadeOutControl] and a jr nz, .wait jp StopAllSounds @@ -1224,7 +1224,7 @@ CollisionCheckOnLand:: ; 0bd1 (0:0bd1) call CheckTilePassable jr nc,.noCollision .collision - ld a,[wc02a] + ld a,[wChannelSoundIDs + CH4] cp a,SFX_COLLISION ; check if collision sound is already playing jr z,.setCarry ld a,SFX_COLLISION @@ -1927,7 +1927,7 @@ CollisionCheckOnWater:: ; 0fb7 (0:0fb7) jr z,.stopSurfing ; stop surfing if the tile is passable jr .loop .collision - ld a,[wc02a] + ld a,[wChannelSoundIDs + CH4] cp a,SFX_COLLISION ; check if collision sound is already playing jr z,.setCarry ld a,SFX_COLLISION @@ -2279,9 +2279,9 @@ LoadMapHeader:: ; 107c (0:107c) add hl,bc add hl,bc ld a,[hli] - ld [wd35b],a ; music 1 + ld [wMapMusicSoundID],a ; music 1 ld a,[hl] - ld [wd35c],a ; music 2 + ld [wMapMusicROMBank],a ; music 2 pop af ld [H_LOADEDROMBANK],a ld [MBC1RomBank],a @@ -2352,8 +2352,8 @@ LoadMapData:: ; 1241 (0:1241) ld a,[W_FLAGS_D733] bit 1,a jr nz,.restoreRomBank - call Func_235f ; music related - call Func_2312 ; music related + call UpdateMusic6Times + call PlayDefaultMusicFadeOutCurrent .restoreRomBank pop af ld [H_LOADEDROMBANK],a diff --git a/home/vblank.asm b/home/vblank.asm index 6abc3756..3bdbe7cb 100644 --- a/home/vblank.asm +++ b/home/vblank.asm @@ -38,21 +38,21 @@ VBlank:: ld a, [H_VBLANKOCCURRED] and a - jr z, .vblanked + jr z, .skipZeroing xor a ld [H_VBLANKOCCURRED], a -.vblanked +.skipZeroing ld a, [H_FRAMECOUNTER] and a - jr z, .decced + jr z, .skipDec dec a ld [H_FRAMECOUNTER], a -.decced - call Func_28cb +.skipDec + call FadeOutAudio - ld a, [wc0ef] ; music ROM bank + ld a, [wAudioROMBank] ; music ROM bank ld [H_LOADEDROMBANK], a ld [MBC1RomBank], a diff --git a/hram.asm b/hram.asm index 2f70b91a..3f331cfb 100644 --- a/hram.asm +++ b/hram.asm @@ -182,7 +182,9 @@ hJoy5 EQU $FFB5 hJoy6 EQU $FFB6 hJoy7 EQU $FFB7 -H_LOADEDROMBANK EQU $FFB8 +H_LOADEDROMBANK EQU $FFB8 + +hSavedROMBank EQU $FFB9 ; is automatic background transfer during V-blank enabled? ; if nonzero, yes diff --git a/scripts/ceruleancity.asm b/scripts/ceruleancity.asm index 158a683d..d5aa57c1 100755 --- a/scripts/ceruleancity.asm +++ b/scripts/ceruleancity.asm @@ -65,7 +65,7 @@ CeruleanCityScript0: ; 194c8 (6:54c8) and a jr z, .asm_19512 ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound .asm_19512 ld c, BANK(Music_MeetRival) @@ -172,7 +172,7 @@ CeruleanCityScript2: ; 195b1 (6:55b1) ld [hSpriteIndexOrTextID], a call DisplayTextID ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld a, $1 diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm index c52f00cf..db6fa696 100755 --- a/scripts/oakslab.asm +++ b/scripts/oakslab.asm @@ -511,7 +511,7 @@ OaksLabScript15: ; 1ceb0 (7:4eb0) ld [hJoyHeld], a call EnableAutoTextBoxDrawing ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld a, $15 @@ -612,7 +612,7 @@ OaksLabScript16: ; 1cf12 (7:4f12) call FillMemory ld [hl], $ff ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld a, $1 diff --git a/scripts/pewterpokecenter.asm b/scripts/pewterpokecenter.asm index 584878eb..25c07be6 100755 --- a/scripts/pewterpokecenter.asm +++ b/scripts/pewterpokecenter.asm @@ -59,9 +59,9 @@ PewterPokecenterText3: ; 5c59b (17:459b) ld c, 24 call DelayFrames - ld a, [wc026] + ld a, [wChannelSoundIDs] ld b, a - ld a, [wc027] + ld a, [wChannelSoundIDs + CH1] or b jr nz, .loop diff --git a/scripts/pokemontower2.asm b/scripts/pokemontower2.asm index a569b60b..5422d887 100755 --- a/scripts/pokemontower2.asm +++ b/scripts/pokemontower2.asm @@ -23,7 +23,7 @@ PokemonTower2Script0: ; 6050f (18:450f) call ArePlayerCoordsInArray ret nc ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld c, BANK(Music_MeetRival) ld a, MUSIC_MEET_RIVAL @@ -77,7 +77,7 @@ PokemonTower2Script1: ; 60563 (18:4563) ld [H_SPRITEINDEX], a call MoveSprite ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld a, $2 diff --git a/scripts/redshouse1f.asm b/scripts/redshouse1f.asm index 09ce97dc..f9c7193f 100755 --- a/scripts/redshouse1f.asm +++ b/scripts/redshouse1f.asm @@ -29,14 +29,14 @@ MomHealPokemon: ; 4818a (12:418a) call ReloadMapData predef HealParty ld a, MUSIC_PKMN_HEALED - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound .next - ld a, [wc026] + ld a, [wChannelSoundIDs] cp MUSIC_PKMN_HEALED jr z, .next - ld a, [wd35b] - ld [wc0ee], a + ld a, [wMapMusicSoundID] + ld [wNewSoundID], a call PlaySound call GBFadeInFromWhite ld hl, MomHealText2 diff --git a/scripts/route22.asm b/scripts/route22.asm index 041f75e6..f6f6778e 100755 --- a/scripts/route22.asm +++ b/scripts/route22.asm @@ -89,7 +89,7 @@ Route22Script0: ; 50f00 (14:4f00) and a jr z, .asm_50f4e ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound .asm_50f4e ld c, BANK(Music_MeetRival) @@ -168,7 +168,7 @@ Route22Script2: ; 50fb5 (14:4fb5) ld [hSpriteIndexOrTextID], a call DisplayTextID ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld a, [wcf0d] @@ -242,11 +242,11 @@ Route22Script_5104e: ; 5104e (14:504e) and a jr z, .skipYVisibilityTesta ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound .skipYVisibilityTesta ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateTempo ld a, $2 @@ -327,7 +327,7 @@ Route22Script5: ; 510df (14:50df) ld [hSpriteIndexOrTextID], a call DisplayTextID ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStartAndTempo ld a, [wcf0d] diff --git a/scripts/silphco7.asm b/scripts/silphco7.asm index 525405c7..0de4b324 100755 --- a/scripts/silphco7.asm +++ b/scripts/silphco7.asm @@ -131,7 +131,7 @@ SilphCo7Script0: ; 51c23 (14:5c23) ld a, PLAYER_DIR_DOWN ld [wPlayerMovingDirection], a ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld c, BANK(Music_MeetRival) ld a, MUSIC_MEET_RIVAL @@ -220,7 +220,7 @@ SilphCo7Script4: ; 51cc8 (14:5cc8) ld [hSpriteIndexOrTextID], a call DisplayTextID ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld de, MovementData_51d1d diff --git a/scripts/ssanne2.asm b/scripts/ssanne2.asm index b95c5723..c4afd9d0 100755 --- a/scripts/ssanne2.asm +++ b/scripts/ssanne2.asm @@ -25,7 +25,7 @@ SSAnne2Script0: ; 613be (18:53be) call ArePlayerCoordsInArray ret nc ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld c, BANK(Music_MeetRival) ld a, MUSIC_MEET_RIVAL @@ -146,7 +146,7 @@ SSAnne2Script2: ; 6146d (18:546d) ld [H_SPRITEINDEX], a call MoveSprite ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound callba Music_RivalAlternateStart ld a, $3 diff --git a/scripts/ssanne7.asm b/scripts/ssanne7.asm index b99f5bb2..911dac7f 100755 --- a/scripts/ssanne7.asm +++ b/scripts/ssanne7.asm @@ -44,21 +44,21 @@ SSAnne7Text1: ; 618ad (18:58ad) SSAnne7RubText: ; 618ec (18:58ec) TX_FAR _SSAnne7RubText TX_ASM - ld a, [wc0ef] + ld a, [wAudioROMBank] cp BANK(Audio3_UpdateMusic) - ld [wc0f0], a + ld [wAudioSavedROMBank], a jr nz, .asm_61908 ld a, $ff - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld a, Bank(Music_PkmnHealed) - ld [wc0ef], a + ld [wAudioROMBank], a .asm_61908 ld a, MUSIC_PKMN_HEALED - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound .asm_61910 - ld a, [wc026] + ld a, [wChannelSoundIDs] cp MUSIC_PKMN_HEALED jr z, .asm_61910 call PlayDefaultMusic diff --git a/scripts/vermiliondock.asm b/scripts/vermiliondock.asm index a65b3603..8c2173cc 100755 --- a/scripts/vermiliondock.asm +++ b/scripts/vermiliondock.asm @@ -40,7 +40,7 @@ VermilionDock_1db9b: ; 1db9b (7:5b9b) SetEventForceReuseHL EVENT_SS_ANNE_LEFT ld a, $ff ld [wJoyIgnore], a - ld [wc0ee], a + ld [wNewSoundID], a call PlaySound ld c, BANK(Music_Surfing) ld a, MUSIC_SURFING diff --git a/wram.asm b/wram.asm index 872d1e8e..2fc94e8d 100755 --- a/wram.asm +++ b/wram.asm @@ -61,66 +61,146 @@ ENDM SECTION "WRAM Bank 0", WRAM0 -wc000:: ds 1 -wc001:: ds 1 -wc002:: ds 1 -wc003:: ds 1 -wc004:: ds 1 -wc005:: ds 1 -wc006:: ds 8 -wc00e:: ds 4 -wc012:: ds 4 -wc016:: ds 16 -wc026:: ds 1 -wc027:: ds 1 -wc028:: ds 2 -wc02a:: ds 1 -wc02b:: ds 1 -wc02c:: ds 1 -wc02d:: ds 1 -wc02e:: ds 8 -wc036:: ds 8 -wc03e:: ds 8 -wc046:: ds 8 -wc04e:: ds 8 -wc056:: ds 8 -wc05e:: ds 8 -wc066:: ds 8 -wc06e:: ds 8 -wc076:: ds 8 -wc07e:: ds 8 -wc086:: ds 8 -wc08e:: ds 8 -wc096:: ds 8 -wc09e:: ds 8 -wc0a6:: ds 8 -wc0ae:: ds 8 -wc0b6:: ds 8 -wc0be:: ds 8 -wc0c6:: ds 8 -wc0ce:: ds 1 -wc0cf:: ds 1 -wc0d0:: ds 1 -wc0d1:: ds 1 -wc0d2:: ds 1 -wc0d3:: ds 1 -wc0d4:: ds 1 -wc0d5:: ds 1 -wc0d6:: ds 8 -wc0de:: ds 8 -wc0e6:: ds 1 -wc0e7:: ds 1 -wc0e8:: ds 1 -wc0e9:: ds 1 -wc0ea:: ds 1 -wc0eb:: ds 1 -wc0ec:: ds 1 -wc0ed:: ds 1 -wc0ee:: ds 1 -wc0ef:: ds 1 -wc0f0:: ds 1 -wc0f1:: ds 1 -wc0f2:: ds 14 +wUnusedC000:: ; c000 + ds 1 + +wSoundID:: ; c001 + ds 1 + +wMuteAudioAndPauseMusic:: ; c002 +; bit 7: whether sound has been muted +; all bits: whether the effective is active +; Store 1 to activate effect (any value in the range [1, 127] works). +; All audio is muted and music is paused. Sfx continues playing until it +; ends normally. +; Store 0 to resume music. + ds 1 + +wDisableChannelOutputWhenSfxEnds:: ; c003 + ds 1 + +wStereoPanning:: ; c004 + ds 1 + +wSavedVolume:: ; c005 + ds 1 + +wChannelCommandPointers:: ; c006 + ds 16 + +wChannelReturnAddresses:: ; c016 + ds 16 + +wChannelSoundIDs:: ; c026 + ds 8 + +wChannelFlags1:: ; c02e + ds 8 + +wChannelFlags2:: ; c036 + ds 8 + +wChannelDuties:: ; c03e + ds 8 + +wChannelDutyCycles:: ; c046 + ds 8 + +wChannelVibratoDelayCounters:: ; c04e +; reloaded at the beginning of a note. counts down until the vibrato begins. + ds 8 + +wChannelVibratoExtents:: ; c056 + ds 8 + +wChannelVibratoRates:: ; c05e +; high nybble is rate (counter reload value) and low nybble is counter. +; time between applications of vibrato. + ds 8 + +wChannelFrequencyLowBytes:: ; c066 + ds 8 + +wChannelVibratoDelayCounterReloadValues:: ; c06e +; delay of the beginning of the vibrato from the start of the note + ds 8 + +wChannelPitchBendLengthModifiers:: ; c076 + ds 8 + +wChannelPitchBendFrequencySteps:: ; c07e + ds 8 + +wChannelPitchBendFrequencyStepsFractionalPart:: ; c086 + ds 8 + +wChannelPitchBendCurrentFrequencyFractionalPart:: ; c08e + ds 8 + +wChannelPitchBendCurrentFrequencyHighBytes:: ; c096 + ds 8 + +wChannelPitchBendCurrentFrequencyLowBytes:: ; c09e + ds 8 + +wChannelPitchBendTargetFrequencyHighBytes:: ; c0a6 + ds 8 + +wChannelPitchBendTargetFrequencyLowBytes:: ; c0ae + ds 8 + +wChannelNoteDelayCounters:: ; c0b6 +; Note delays are stored as 16-bit fixed-point numbers where the integer part +; is 8 bits and the fractional part is 8 bits. + ds 8 + +wChannelLoopCounters:: ; c0be + ds 8 + +wChannelNoteSpeeds:: ; c0c6 + ds 8 + +wChannelNoteDelayCountersFractionalPart:: ; c0ce + ds 8 + +wChannelOctaves:: ; c0d6 + ds 8 + +wChannelVolumes:: ; c0de +; also includes fade for hardware channels that support it + ds 8 + +wMusicWaveInstrument:: + ds 1 + +wSfxWaveInstrument:: + ds 1 + +wMusicTempo:: ; c0e8 + ds 2 + +wSfxTempo:: ; c0ea + ds 2 + +wSfxHeaderPointer:: ; c0ec + ds 2 + +wNewSoundID:: ; c0ee + ds 1 + +wAudioROMBank:: ; c0ef + ds 1 + +wAudioSavedROMBank:: ; c0f0 + ds 1 + +wFrequencyModifier:: ; c0f1 + ds 1 + +wTempoModifier:: ; c0f2 + ds 1 + + ds 13 SECTION "Sprite State Data", WRAM0[$c100] @@ -1289,13 +1369,35 @@ wTileInFrontOfPlayer:: ; cfc6 ; background tile number in front of the player (either 1 or 2 steps ahead) ds 1 -wMusicHeaderPointer:: ; cfc7 -; (the current music channel address - $4000) / 3 +wAudioFadeOutControl:: ; cfc7 +; The desired fade counter reload value is stored here prior to calling +; PlaySound in order to cause the current music to fade out before the new +; music begins playing. Storing 0 causes no fade out to occur and the new music +; to begin immediately. +; This variable has another use related to fade-out, as well. PlaySound stores +; the sound ID of the music that should be played after the fade-out is finished +; in this variable. FadeOutAudio checks if it's non-zero every V-Blank and +; fades out the current audio if it is. Once it has finished fading out the +; audio, it zeroes this variable and starts playing the sound ID stored in it. ds 1 -wcfc8:: ds 1 ; used with audio -wcfc9:: ds 1 ; also used with audio -wcfca:: ds 1 ; also used with audio too +wAudioFadeOutCounterReloadValue:: ; cfc8 + ds 1 + +wAudioFadeOutCounter:: ; cfc9 + ds 1 + +wLastMusicSoundID:: ; cfca +; This is used to determine whether the default music is already playing when +; attempting to play the default music (in order to avoid restarting the same +; music) and whether the music has already been stopped when attempting to +; fade out the current music (so that the new music can be begin immediately +; instead of waiting). +; It sometimes contains the sound ID of the last music played, but it may also +; contain $ff (if the music has been stopped) or 0 (because some routines zero +; it in order to prevent assumptions from being made about the current state of +; the music). + ds 1 wUpdateSpritesEnabled:: ; cfcb ; $00 = causes sprites to be hidden and the value to change to $ff @@ -2126,8 +2228,11 @@ wLetterPrintingDelayFlags:: ; d358 wPlayerID:: ; d359 ds 2 -wd35b:: ds 1 ; used with audio stuff -wd35c:: ds 1 ; storage for audio bank for current map? +wMapMusicSoundID:: ; d35b + ds 1 + +wMapMusicROMBank:: ; d35c + ds 1 wMapPalOffset:: ; d35d ; offset subtracted from FadePal4 to get the background and object palettes for the current map -- cgit v1.3.1-sl0p