Simplify comments

This commit is contained in:
thibautbus
2026-08-11 15:23:32 +02:00
parent cc43bd77d2
commit ab94b96a79
4 changed files with 28 additions and 54 deletions
+4 -6
View File
@@ -453,12 +453,10 @@ function OverworldState:setMap(mapId, x, y, facing, opts)
-- walks out of the warp, not beside him (#863)
require("src.world.PikachuFollower").onMapEntered(Game, self, opts, true)
-- opts.keepMusic: the Oak-escort warp keeps whatever cutscene song is
-- already playing going into the lab instead of cutting to it
-- (BIT_NO_MAP_MUSIC in wStatusFlags7) -- MUSIC_MUSEUM_GUY in Yellow
-- (started in escortToLab when Oak begins walking), MUSIC_MEET_PROF_OAK
-- in Red/Blue (pokered never switches songs for this walk); keepMusicOnce
-- is the play_music opts.keep one-shot of the same bit
-- opts.keepMusic preserves the Oak-escort song across the lab warp,
-- matching BIT_NO_MAP_MUSIC: MUSIC_MUSEUM_GUY in Yellow and
-- MUSIC_MEET_PROF_OAK in Red/Blue. keepMusicOnce is the equivalent
-- one-shot set by play_music opts.keep.
local keepMusic = (opts and opts.keepMusic) or self.keepMusicOnce
self.keepMusicOnce = nil
if not keepMusic then