lol its in c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
508 B

  1. #include "actor.h"
  2. #include "game.h"
  3. #include "intro.h"
  4. #include "map.h"
  5. #include "player.h"
  6. #include "sdk/hardware.h"
  7. #include "sdk/joypad.h"
  8. #include "sdk/oam.h"
  9. #include "sdk/video.h"
  10. #include "vram.h"
  11. void level(void) {
  12. lcd_disable();
  13. map_load(&map_intro);
  14. player_init();
  15. actor_init();
  16. lcd_enable();
  17. while (1) {
  18. joypad_update();
  19. player_update();
  20. actor_update();
  21. HALT();
  22. rIF = 0;
  23. vram_update();
  24. oam_dma_copy();
  25. }
  26. }