VioletPokecenter1F.asm: Rename an NPC constant

"VIOLETPOKECENTER1F_SCIENTIST" --> "VIOLETPOKECENTER1F_ELMS_AIDE"
This commit is contained in:
DeeDeeG 2019-08-22 20:54:45 -04:00
parent b907eeeab0
commit 3234cb1117

View File

@ -3,7 +3,7 @@
const VIOLETPOKECENTER1F_GAMEBOY_KID
const VIOLETPOKECENTER1F_GENTLEMAN
const VIOLETPOKECENTER1F_YOUNGSTER
const VIOLETPOKECENTER1F_SCIENTIST
const VIOLETPOKECENTER1F_ELMS_AIDE
VioletPokecenter1F_MapScripts:
db 0 ; scene scripts
@ -37,18 +37,18 @@ VioletPokecenter1F_ElmsAideScript:
readvar VAR_FACING
ifequal UP, .AideWalksAroundPlayer
turnobject PLAYER, DOWN
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideWalksStraightOutOfPokecenter
applymovement VIOLETPOKECENTER1F_ELMS_AIDE, MovementData_AideWalksStraightOutOfPokecenter
playsound SFX_EXIT_BUILDING
disappear VIOLETPOKECENTER1F_SCIENTIST
disappear VIOLETPOKECENTER1F_ELMS_AIDE
waitsfx
end
.AideWalksAroundPlayer:
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideWalksLeftToExitPokecenter
applymovement VIOLETPOKECENTER1F_ELMS_AIDE, MovementData_AideWalksLeftToExitPokecenter
turnobject PLAYER, DOWN
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideFinishesLeavingPokecenter
applymovement VIOLETPOKECENTER1F_ELMS_AIDE, MovementData_AideFinishesLeavingPokecenter
playsound SFX_EXIT_BUILDING
disappear VIOLETPOKECENTER1F_SCIENTIST
disappear VIOLETPOKECENTER1F_ELMS_AIDE
waitsfx
end