Logo
Explore Help
Sign In
pokehacks/pokecrystal-board
0
0
Fork 0
You've already forked pokecrystal-board
mirror of https://gitlab.com/xCrystal/pokecrystal-board.git synced 2025-04-09 05:44:44 -07:00
Code Issues Packages Projects Releases Wiki Activity
pokecrystal-board/engine/events/checktime.asm

20 lines
223 B
NASM
Raw Normal View History

Remove all address comments
2018-06-24 16:09:41 +02:00
CheckTime::
Prefix wram labels with w, part 2.
2018-01-23 17:39:09 -05:00
ld a, [wTimeOfDay]
Remove all code from main.asm (some labeled INCBINs, like out-of-context graphics, are still present) engine/routines/ stores isolated out-of-context routines as individual files. It might be preferable later to append them to their related engine/ files in unique little SECTIONs, relying on the linkerscript to place them appropriately; or some other organization method. In the meantime, they're now easily findable apart from main.asm's other content.
2017-12-24 19:35:35 -05:00
ld hl, .TimeOfDayTable
Move more contiguous related code blocks from main.asm to engine/ and events/
2017-12-15 20:10:54 -05:00
ld de, 2
call IsInArray
inc hl
ld c, [hl]
ret c
xor a
ld c, a
ret
Remove all address comments
2018-06-24 16:09:41 +02:00
.TimeOfDayTable:
Move more contiguous related code blocks from main.asm to engine/ and events/
2017-12-15 20:10:54 -05:00
db MORN_F, MORN
db DAY_F, DAY
db NITE_F, NITE
db NITE_F, NITE
db -1
Reference in New Issue Copy Permalink
Powered by Gitea Page: 119ms Template: 5ms
English
English
Licenses API