22#ifndef HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SCENE1060_H
23#define HOLLYWOOD_MONSTERS_SCENES_PLAYABLE_SCENE1060_H
25#include "hollywood/monsters/scenes/playable/playable_scene.h"
37 kLargeBackgroundLayer,
44 void initializeCustomPreviewState()
override;
45 void runCustomEntrySequence()
override;
46 void prepareCustomGameplayLoop()
override;
47 void advanceCustomGameplayLoop(uint32 delta)
override;
48 void advancePrimarySpeechAnimation(uint32 delta)
override;
49 bool dispatchCustomSceneAction(uint16 handlerId)
override;
50 bool applyCustomSceneStateToHotspotsAndPatches(
byte selector)
override;
51 bool shouldAnimatePrimarySpeechLine()
const override;
52 byte primarySpeechAnimationBaseFrame(
byte animationGroup)
const override;
53 void setPrimarySpeechAnimationFrame(
byte animationGroup,
byte frameIndex)
override;
56 void resetAnimationLayers();
57 void advanceLargeBackground(uint32 delta);
58 void advanceFlyDoctorAmbientAudio();
59 void advanceFlyDoctorModeAndInvisibleMan(uint32 delta);
60 void advanceA06PrimaryDialogueSpeechFrame(uint32 delta);
61 void advanceFlyDoctor(uint32 delta);
62 void advanceFlyDoctorIdle(uint32 delta);
63 void advanceFlySlimeDrip(uint32 delta);
64 void advanceTicketPickupFrame(uint32 delta);
65 void advanceSmallTrigger(uint32 delta);
66 void restartSmallTriggerLayerFromFlyDoctorFrame(
byte flyDoctorFrame);
67 byte juniorIdleFrame()
const;
68 void runJuniorPoseTransition(
bool opening);
69 void replaceColorMapItem(
byte sourceItem,
byte destinationItem);
70 void copyStageSmallRow(
byte sourceRow,
byte destinationRow);
71 byte pickRandomFrameExcluding(
byte frameCount,
byte previousFrame);
72 void prepareDrMoscaConversation();
73 void prepareInvisibleManConversation();
74 void runInvisibleManTransition(
bool entering);
75 void runJuniorConversation();
76 void runDrMoscaConversation();
77 void runInvisibleManConversation();
80 void beginDrMoscaPrimarySpeech(
byte frameIndex);
81 void beginInvisibleManPrimarySpeech(
byte frameIndex,
bool allowRandomTransition);
82 void finishCharacterConversation();
83 void handlePocketPaperPickup();
84 void runPocketPaperPickupSequence();
85 void handleCloakroomTicketPickup();
86 void handlePocketPaperLook();
87 void handleSkullcrackerExchange();
88 void handleFlySlimeExchange();
89 ResourceSpriteLayer &largeBackgroundLayer() {
return _sceneLayers.layer(kLargeBackgroundLayer); }
102 uint _smallLoopTrack;
103 byte _largeBackgroundMode;
104 uint16 _largeBackgroundIdleCounter;
106 byte _invisibleManMode;
107 byte _lastInvisibleManRandomFrame;
108 byte _lastFlyDoctorIdleFrame;
109 byte _lastFlyDoctorIdleSound;
110 byte _lastFlyDoctorDripSound;
111 byte _smallTriggerMode;
112 bool _ticketPickupSequenceActive;
113 bool _pocketPaperPickupSequenceActive;
114 bool _juniorPoseSequenceActive;
115 bool _juniorConversationActive;
Definition: hollywood.h:47
Definition: playable_scene.h:84
Definition: scene1060.h:31
Definition: ambient_audio.h:44
Definition: animation_layers.h:33
Definition: animation_channels.h:34