You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
This commit is contained in:
@@ -40,7 +40,6 @@ PokeGear:
|
||||
call .InitTilemap
|
||||
call DelayFrame
|
||||
.loop
|
||||
call UpdateTime
|
||||
call JoyTextDelay
|
||||
ld a, [wJumptableIndex]
|
||||
bit 7, a
|
||||
@@ -276,7 +275,6 @@ InitPokegearTilemap:
|
||||
hlcoord 0, 12
|
||||
lb bc, 4, 18
|
||||
call Textbox
|
||||
call Pokegear_UpdateClock
|
||||
ret
|
||||
|
||||
.switch
|
||||
@@ -409,7 +407,6 @@ PokegearClock_Init:
|
||||
ret
|
||||
|
||||
PokegearClock_Joypad:
|
||||
call .UpdateClock
|
||||
ld hl, hJoyLast
|
||||
ld a, [hl]
|
||||
and A_BUTTON | B_BUTTON | START | SELECT
|
||||
@@ -447,36 +444,6 @@ PokegearClock_Joypad:
|
||||
set 7, [hl]
|
||||
ret
|
||||
|
||||
.UpdateClock:
|
||||
xor a
|
||||
ldh [hBGMapMode], a
|
||||
call Pokegear_UpdateClock
|
||||
ld a, $1
|
||||
ldh [hBGMapMode], a
|
||||
ret
|
||||
|
||||
Pokegear_UpdateClock:
|
||||
hlcoord 3, 5
|
||||
lb bc, 5, 14
|
||||
call ClearBox
|
||||
ldh a, [hHours]
|
||||
ld b, a
|
||||
ldh a, [hMinutes]
|
||||
ld c, a
|
||||
decoord 6, 8
|
||||
farcall PrintHoursMins
|
||||
ld hl, .GearTodayText
|
||||
bccoord 6, 6
|
||||
call PlaceHLTextAtBC
|
||||
ret
|
||||
|
||||
db "ごぜん@"
|
||||
db "ごご@"
|
||||
|
||||
.GearTodayText:
|
||||
text_far _GearTodayText
|
||||
text_end
|
||||
|
||||
PokegearMap_CheckRegion:
|
||||
ld a, POKEGEARSTATE_JOHTOMAPINIT
|
||||
ld [wJumptableIndex], a
|
||||
@@ -1849,7 +1816,6 @@ PlayRadioStationPointers:
|
||||
assert_table_length NUM_MAP_RADIO_STATIONS
|
||||
|
||||
LoadStation_PokemonChannel:
|
||||
call UpdateTime
|
||||
ld a, [wTimeOfDay]
|
||||
and a
|
||||
jp z, LoadStation_PokedexShow
|
||||
|
@@ -1701,9 +1701,9 @@ BuenasPassword21:
|
||||
jp NextRadioLine
|
||||
|
||||
BuenasPasswordCheckTime:
|
||||
call UpdateTime
|
||||
ldh a, [hHours]
|
||||
cp NITE_HOUR
|
||||
ld a, [wTimeOfDay]
|
||||
maskbits NUM_DAYTIMES
|
||||
cp NITE
|
||||
ret
|
||||
|
||||
BuenasPasswordChannelName:
|
||||
|
Reference in New Issue
Block a user