-- gameplay score frame local scoreFrame = "normal" -- todo: show oni on life meter battery as well if GAMESTATE:GetPlayMode() == 'PlayMode_Oni' then scoreFrame = "oni" end if GAMESTATE:IsExtraStage() or GAMESTATE:IsExtraStage2() then scoreFrame = "extra" end return Def.ActorFrame{ LoadActor(scoreFrame); };