| 354 | } |
| 355 | |
| 356 | bool Game_Event::CheckEventCollision() { |
| 357 | if (GetTrigger() == lcf::rpg::EventPage::Trigger_collision |
| 358 | && GetLayer() != lcf::rpg::EventPage::Layers_same |
| 359 | && !Main_Data::game_player->IsMoveRouteOverwritten() |
| 360 | && !Game_Map::GetInterpreter().IsRunning() |
| 361 | && Main_Data::game_player->GetX() == GetX() |
| 362 | && Main_Data::game_player->GetY() == GetY()) |
| 363 | { |
| 364 | ScheduleForegroundExecution(false, true); |
| 365 | SetStopCount(0); |
| 366 | return true; |
| 367 | } |
| 368 | return false; |
| 369 | } |
| 370 | |
| 371 | void Game_Event::CheckCollisonOnMoveFailure() { |
| 372 | if (Game_Map::GetInterpreter().IsRunning()) { |
nothing calls this directly
no test coverage detected