pokemon_trade.c 645 B

123456789101112131415161718192021
  1. #include <src/include/pokemon_app.h>
  2. #include <src/scenes/include/pokemon_scene.h>
  3. void pokemon_scene_trade_on_enter(void* context) {
  4. PokemonFap* pokemon_fap = (PokemonFap*)context;
  5. // switch to select pokemon scene
  6. // Note for the future, this might make sense to setup and teardown each view
  7. // at runtime rather than at the start?
  8. view_dispatcher_switch_to_view(pokemon_fap->view_dispatcher, AppViewTrade);
  9. }
  10. bool pokemon_scene_trade_on_event(void* context, SceneManagerEvent event) {
  11. UNUSED(context);
  12. UNUSED(event);
  13. return false;
  14. }
  15. void pokemon_scene_trade_on_exit(void* context) {
  16. UNUSED(context);
  17. }