| 68 | } |
| 69 | |
| 70 | void ScriptTileOverlay::update(const InputState& input) |
| 71 | { |
| 72 | if (input.kDown & HidNpadButton_Y) { |
| 73 | ScriptScreen::toggleLogFocus(); |
| 74 | return; |
| 75 | } |
| 76 | // With the log focused the pad belongs to the transcript (main.cpp scrolls |
| 77 | // it), so no key can answer the request by accident while the card that |
| 78 | // asked it is off screen. |
| 79 | if (!ScriptScreen::logFocused()) { |
| 80 | handleInput(input); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | void ScriptTileOverlay::answer(UiResponse resp) |
| 85 | { |
nothing calls this directly
no outgoing calls
no test coverage detected