| 281 | } |
| 282 | |
| 283 | Window_Interpreter::UiAction Window_Interpreter::GetSelectedAction() const { |
| 284 | if (GetIndex() >= lines_without_stack) { |
| 285 | return UiAction::ShowStackItem; |
| 286 | } |
| 287 | if (GetIndex() == 1 && sub_actions.IsVisible()) { |
| 288 | return sub_actions.GetSelectedAction(); |
| 289 | } |
| 290 | return UiAction::None; |
| 291 | } |
| 292 | |
| 293 | int Window_Interpreter::GetSelectedStackFrameLine() const { |
| 294 | if (GetIndex() < lines_without_stack) { |