feat(OakSpeech): use field.playerSprites.walk in shrink step

This commit is contained in:
Yukita Mayako
2026-08-07 00:19:27 -04:00
parent 112120e8fe
commit f1661b62b3
+2 -1
View File
@@ -265,7 +265,8 @@ function OakSpeech.new(game, onDone)
or "assets/generated/intro/shrink2.png")
-- RedSprite: the walking sprite the pic shrinks into (frame 0 =
-- standing, facing down)
local red = game.data.sprites and game.data.sprites.SPRITE_RED
local playerSprites = (game.data.field and game.data.field.playerSprites) or {}
local red = game.data.sprites and game.data.sprites[playerSprites.walk or "SPRITE_RED"] or game.data.sprites.SPRITE_RED
self.walkSheet = tryImage(red and red.image)
return self
end