diff options
| author | dannye <33dannye@gmail.com> | 2019-07-27 23:21:39 -0500 | 
|---|---|---|
| committer | dannye <33dannye@gmail.com> | 2019-07-27 23:21:39 -0500 | 
| commit | 20c4116788d4d29b14c85ffce77e65faf89716b7 (patch) | |
| tree | 7dcc36a1b3568ebe5b98b3cc7ddb8344a2162cc9 /engine | |
| parent | 36597a7917144bbf5d9ae63a0f9d537f6f58eb74 (diff) | |
Update audio macro names
change audio channel numbers from 0-7 back to 1-8
change all note macros back to single note macro
todo: fix comments with old macro names, update noise macros/instrument names
Diffstat (limited to 'engine')
| -rwxr-xr-x | engine/battle/core.asm | 6 | ||||
| -rwxr-xr-x | engine/battle/end_of_battle.asm | 2 | ||||
| -rwxr-xr-x | engine/evolution.asm | 2 | ||||
| -rwxr-xr-x | engine/hidden_object_functions7.asm | 2 | ||||
| -rwxr-xr-x | engine/items/items.asm | 6 | ||||
| -rwxr-xr-x | engine/overworld/elevator.asm | 2 | 
6 files changed, 10 insertions, 10 deletions
| diff --git a/engine/battle/core.asm b/engine/battle/core.asm index 04336810..2b00a812 100755 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -872,7 +872,7 @@ FaintEnemyPokemon:  	ld a, SFX_FAINT_FALL  	call PlaySoundWaitForCurrent  .sfxwait -	ld a, [wChannelSoundIDs + Ch4] +	ld a, [wChannelSoundIDs + Ch5]  	cp SFX_FAINT_FALL  	jr z, .sfxwait  	ld a, SFX_FAINT_THUD @@ -956,7 +956,7 @@ EndLowHealthAlarm:  ; the low health alarm and prevents it from reactivating until the next battle.  	xor a  	ld [wLowHealthAlarm], a ; turn off low health alarm -	ld [wChannelSoundIDs + Ch4], a +	ld [wChannelSoundIDs + Ch5], a  	inc a  	ld [wLowHealthAlarmDisabled], a ; prevent it from reactivating  	ret @@ -1954,7 +1954,7 @@ DrawPlayerHUDAndHPBar:  	ld [hl], $0  	ret z  	xor a -	ld [wChannelSoundIDs + Ch4], a +	ld [wChannelSoundIDs + Ch5], a  	ret  .setLowHealthAlarm  	ld hl, wLowHealthAlarm diff --git a/engine/battle/end_of_battle.asm b/engine/battle/end_of_battle.asm index c77e3b39..830a23a1 100755 --- a/engine/battle/end_of_battle.asm +++ b/engine/battle/end_of_battle.asm @@ -46,7 +46,7 @@ EndOfBattle:  .resetVariables  	xor a  	ld [wLowHealthAlarm], a ;disable low health alarm -	ld [wChannelSoundIDs + Ch4], a +	ld [wChannelSoundIDs + Ch5], a  	ld [wIsInBattle], a  	ld [wBattleType], a  	ld [wMoveMissed], a diff --git a/engine/evolution.asm b/engine/evolution.asm index a2c52765..731735c5 100755 --- a/engine/evolution.asm +++ b/engine/evolution.asm @@ -8,7 +8,7 @@ EvolveMon:  	push af  	xor a  	ld [wLowHealthAlarm], a -	ld [wChannelSoundIDs + Ch4], a +	ld [wChannelSoundIDs + Ch5], a  	dec a  	ld [wNewSoundID], a  	call PlaySound diff --git a/engine/hidden_object_functions7.asm b/engine/hidden_object_functions7.asm index 491be861..89be94fc 100755 --- a/engine/hidden_object_functions7.asm +++ b/engine/hidden_object_functions7.asm @@ -71,7 +71,7 @@ SafariZoneGameOver:  	ld a, SFX_SAFARI_ZONE_PA  	call PlayMusic  .waitForMusicToPlay -	ld a, [wChannelSoundIDs + Ch4] +	ld a, [wChannelSoundIDs + Ch5]  	cp SFX_SAFARI_ZONE_PA  	jr nz, .waitForMusicToPlay  	ld a, TEXT_SAFARI_GAME_OVER diff --git a/engine/items/items.asm b/engine/items/items.asm index 38e8a704..ec51a0d4 100755 --- a/engine/items/items.asm +++ b/engine/items/items.asm @@ -990,7 +990,7 @@ ItemUseMedicine:  .notFullHP ; if the pokemon's current HP doesn't equal its max HP  	xor a  	ld [wLowHealthAlarm], a ;disable low health alarm -	ld [wChannelSoundIDs + Ch4], a +	ld [wChannelSoundIDs + Ch5], a  	push hl  	push de  	ld bc, wPartyMon1MaxHP - (wPartyMon1HP + 1) @@ -1777,7 +1777,7 @@ ItemUsePokeflute:  	call WaitForSoundToFinish ; wait for sound to end  	callba Music_PokeFluteInBattle ; play in-battle pokeflute music  .musicWaitLoop ; wait for music to finish playing -	ld a, [wChannelSoundIDs + Ch6] +	ld a, [wChannelSoundIDs + Ch7]  	and a ; music off?  	jr nz, .musicWaitLoop  .skipMusic @@ -1850,7 +1850,7 @@ PlayedFluteHadEffectText:  	ld c, BANK(SFX_Pokeflute)  	call PlayMusic  .musicWaitLoop ; wait for music to finish playing -	ld a, [wChannelSoundIDs + Ch2] +	ld a, [wChannelSoundIDs + Ch3]  	cp SFX_POKEFLUTE  	jr z, .musicWaitLoop  	call PlayDefaultMusic ; start playing normal music again diff --git a/engine/overworld/elevator.asm b/engine/overworld/elevator.asm index 7ff4ff71..d68e4f81 100755 --- a/engine/overworld/elevator.asm +++ b/engine/overworld/elevator.asm @@ -33,7 +33,7 @@ ShakeElevator:  	ld a, SFX_SAFARI_ZONE_PA  	call PlayMusic  .musicLoop -	ld a, [wChannelSoundIDs + Ch4] +	ld a, [wChannelSoundIDs + Ch5]  	cp SFX_SAFARI_ZONE_PA  	jr z, .musicLoop  	call UpdateSprites | 
