| 1007 | } |
| 1008 | |
| 1009 | void Scene_Debug::DoSwitch() { |
| 1010 | const auto sw_id = GetFrame().value; |
| 1011 | if (Main_Data::game_switches->IsValid(sw_id)) { |
| 1012 | Main_Data::game_switches->Flip(sw_id); |
| 1013 | Game_Map::SetNeedRefresh(true); |
| 1014 | |
| 1015 | RefreshDetailWindow(); |
| 1016 | } |
| 1017 | } |
| 1018 | |
| 1019 | void Scene_Debug::DoVariable() { |
| 1020 | const auto var_id = GetFrame(1).value; |