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-12-11 05:02:16 -08:00
Code Issues Packages Projects Releases Wiki Activity
Files
97e4725b4e5c54713fb149b81d2e6ebff7e546f2
pokecrystal-board/engine/events/checktime.asm

20 lines
222 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
Create a fourth time of day (#2)
2023-07-31 12:27:53 +02:00
db EVE_F, EVE
Move more contiguous related code blocks from main.asm to engine/ and events/
2017-12-15 20:10:54 -05:00
db -1
Reference in New Issue Copy Permalink
Powered by Gitea Page: 98ms Template: 5ms
English
English
Licenses API