| 218 | } |
| 219 | |
| 220 | void Window_Message::StartNumberInputProcessing() { |
| 221 | number_input_window->SetMaxDigits(pending_message.GetNumberInputDigits()); |
| 222 | if (IsFaceEnabled() && !Main_Data::game_system->IsMessageFaceRightPosition()) { |
| 223 | number_input_window->SetX(Player::message_box_offset_x + LeftMargin + FaceSize + RightFaceMargin); |
| 224 | } else { |
| 225 | number_input_window->SetX(x); |
| 226 | } |
| 227 | number_input_window->SetY(y + contents_y - 2); |
| 228 | number_input_window->SetActive(true); |
| 229 | if (IsVisible() && !IsOpeningOrClosing()) { |
| 230 | number_input_window->SetVisible(true); |
| 231 | } |
| 232 | number_input_window->Update(); |
| 233 | } |
| 234 | |
| 235 | void Window_Message::ShowGoldWindow() { |
| 236 | if (Game_Battle::IsBattleRunning()) { |
nothing calls this directly
no test coverage detected