Advertisement
wolfboyft

glitchy

Jan 11th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. .script ; 96a04
  2. call LoadStandardFont
  3. ld a, 0
  4. ld [CurPlayMode], a
  5. ld hl, .BugContestHeader
  6. call LoadMenuDataHeader
  7. call InterpretMenu
  8. call WriteBackup
  9. ld a, [MenuSelection]
  10. ld [CurPlayMode], a
  11. cp 0
  12. call LoadMoveSprites
  13. ret z
  14. ld hl, MAPOBJECT_SCRIPT_POINTER
  15. add hl, bc
  16. ld a, [hli]
  17. ld h, [hl]
  18. ld l, a
  19. call GetMapScriptHeaderBank
  20. call CallScript
  21. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement