changed more labels
This commit is contained in:
241
main.asm
241
main.asm
@@ -1579,7 +1579,7 @@ Function64db: ; 64db
|
||||
; 6508
|
||||
|
||||
LearnMove: ; 6508
|
||||
call Function309d
|
||||
call LoadTileMapToTempTileMap
|
||||
ld a, [CurPartyMon]
|
||||
ld hl, PartyMonNicknames
|
||||
call GetNick
|
||||
@@ -1741,7 +1741,7 @@ ForgetMove: ; 65d3
|
||||
ld [wcfa7], a
|
||||
call Function1bc9
|
||||
push af
|
||||
call Function30b4
|
||||
call Call_LoadTempTileMapToTileMap
|
||||
pop af
|
||||
pop hl
|
||||
bit 1, a
|
||||
@@ -3177,7 +3177,7 @@ Function8000: ; 8000
|
||||
ld a, $7
|
||||
call ByteFill
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 8029
|
||||
|
||||
@@ -9726,7 +9726,7 @@ Functione443: ; e443 (3:6443)
|
||||
ld a, $1
|
||||
.asm_e44b
|
||||
ld [wcf88], a
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
xor a
|
||||
ld [wcf76], a
|
||||
ld [hBGMapMode], a ; $ff00+$d4
|
||||
@@ -9946,7 +9946,7 @@ ClearPCItemScreen: ; e58b
|
||||
ld bc, $0412
|
||||
call TextBox
|
||||
call Function3200
|
||||
call Function32f9 ; load regular palettes?
|
||||
call SetPalettes ; load regular palettes?
|
||||
ret
|
||||
; 0xe5bb
|
||||
|
||||
@@ -10918,7 +10918,7 @@ Function116f8: ; 116f8
|
||||
call Function1171d
|
||||
call WaitBGMap
|
||||
call WaitTop
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function11be0
|
||||
ret
|
||||
; 1171d
|
||||
@@ -12693,7 +12693,7 @@ Function124fa: ; 124fa
|
||||
Function1250a: ; 1250a
|
||||
ld b, $0
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 12513
|
||||
|
||||
@@ -13004,7 +13004,7 @@ endr
|
||||
|
||||
.Clear ; 126b7
|
||||
call WhiteBGMap
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
call Function2bae
|
||||
call .DrawMenuAccount_
|
||||
call MenuFunc_1e7f
|
||||
@@ -13403,7 +13403,7 @@ StartMenu_Pokemon: ; 12976
|
||||
callba WritePartyMenuTilemap
|
||||
callba PrintPartyMenuText
|
||||
call WaitBGMap
|
||||
call Function32f9 ; load regular palettes?
|
||||
call SetPalettes ; load regular palettes?
|
||||
call DelayFrame
|
||||
callba PartyMenuSelect
|
||||
jr c, .return ; if cancelled or pressed B
|
||||
@@ -13625,7 +13625,7 @@ SwitchPartyMons: ; 12aec
|
||||
call AddNTimes
|
||||
ld [hl], "▷"
|
||||
call WaitBGMap
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
|
||||
callba PartyMenuSelect
|
||||
@@ -14082,7 +14082,7 @@ OpenPartyStats: ; 12e00
|
||||
call LowVolume
|
||||
predef StatsScreenInit
|
||||
call MaxVolume
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
ld a, 0
|
||||
ret
|
||||
; 12e1b
|
||||
@@ -14253,19 +14253,19 @@ Function12f05: ; 12f05
|
||||
ld a, PartyMon1MaxHP - PartyMon1
|
||||
call GetPartyParamLocation
|
||||
ld a, [hli]
|
||||
ld [hProduct], a
|
||||
ld [hDividend + 0], a
|
||||
ld a, [hl]
|
||||
ld [hMultiplicand], a
|
||||
ld [hDividend + 1], a
|
||||
ld a, $5
|
||||
ld [hMultiplier], a
|
||||
ld [hDivisor], a
|
||||
ld b, $2
|
||||
call Divide
|
||||
ld a, PartyMon1HP + 1 - PartyMon1
|
||||
call GetPartyParamLocation
|
||||
ld a, [$ffb6]
|
||||
ld a, [hQuotient + 2]
|
||||
sub [hl]
|
||||
dec hl
|
||||
ld a, [$ffb5]
|
||||
ld a, [hQuotient + 1]
|
||||
sbc [hl]
|
||||
ret
|
||||
; 12f26
|
||||
@@ -14665,7 +14665,7 @@ Function131ef: ; 131ef
|
||||
hlcoord 10, 4
|
||||
predef Function50c50
|
||||
call WaitBGMap
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld a, [wd0eb]
|
||||
inc a
|
||||
ld [wcfa3], a
|
||||
@@ -21684,7 +21684,7 @@ Function16be4: ; 16be4
|
||||
|
||||
ld b, $1c
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
|
||||
.asm_16c6b
|
||||
call Functiona57
|
||||
@@ -22592,7 +22592,7 @@ Function17254: ; 17254 (5:7254)
|
||||
predef FillBox
|
||||
pop af
|
||||
call Function17363
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
jp WaitBGMap
|
||||
|
||||
Function1727f: ; 1727f (5:727f)
|
||||
@@ -26001,7 +26001,7 @@ Function2513b: ; 2513b (9:513b)
|
||||
call WaitBGMap
|
||||
ld b, $15
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call WaitBGMap
|
||||
ld hl, wcf63
|
||||
xor a
|
||||
@@ -28283,7 +28283,7 @@ Function2715c: ; 2715c
|
||||
call WriteBackup
|
||||
call Function1d6e
|
||||
call WaitBGMap
|
||||
jp Function32f9
|
||||
jp SetPalettes
|
||||
; 27192
|
||||
|
||||
Function27192: ; 27192
|
||||
@@ -29743,7 +29743,7 @@ Function2891c: ; 2891c
|
||||
; 28926
|
||||
|
||||
Function28926: ; 28926
|
||||
call Function309d
|
||||
call LoadTileMapToTempTileMap
|
||||
ld a, [wcfa9]
|
||||
push af
|
||||
hlcoord 0, 15
|
||||
@@ -29784,7 +29784,7 @@ Function28926: ; 28926
|
||||
.asm_28983
|
||||
pop af
|
||||
ld [wcfa9], a
|
||||
call Function30b4
|
||||
call Call_LoadTempTileMapToTileMap
|
||||
jp Function2888b
|
||||
|
||||
.asm_2898d
|
||||
@@ -29822,7 +29822,7 @@ Function28926: ; 28926
|
||||
ld [wd263], a
|
||||
callab Function50db9
|
||||
callba Function4d319
|
||||
call Function30b4
|
||||
call Call_LoadTempTileMapToTileMap
|
||||
hlcoord 6, 1
|
||||
ld bc, $0601
|
||||
ld a, $7f
|
||||
@@ -30091,7 +30091,7 @@ Function28b87: ; 28b87
|
||||
callba Function4d354
|
||||
call Function1bd3
|
||||
push af
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
call Function3200
|
||||
pop af
|
||||
bit 1, a
|
||||
@@ -30404,7 +30404,7 @@ Function28ef8: ; 28ef8
|
||||
|
||||
Function28eff: ; 28eff
|
||||
callba Function16d6a7
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 28f09
|
||||
|
||||
@@ -32894,7 +32894,7 @@ endr
|
||||
|
||||
CheckRepelEffect:: ; 2a1df
|
||||
; If there is no active Repel, there's no need to be here.
|
||||
ld a, [wdca1]
|
||||
ld a, [RepelStepsLeft]
|
||||
and a
|
||||
jr z, .encounter
|
||||
; Get the first Pokemon in your party that isn't fainted.
|
||||
@@ -33663,13 +33663,13 @@ Function2b9a6: ; 2b9a6
|
||||
jr z, .asm_2b9d7
|
||||
dec hl
|
||||
xor a
|
||||
ld [hProduct], a
|
||||
ld [hDividend + 0], a
|
||||
ld a, [hli]
|
||||
ld [hMultiplicand], a
|
||||
ld [hDividend + 1], a
|
||||
ld a, [hli]
|
||||
ld [$ffb5], a
|
||||
ld [hDividend + 2], a
|
||||
xor a
|
||||
ld [$ffb6], a
|
||||
ld [hDividend + 3], a
|
||||
ld a, [hli]
|
||||
ld b, a
|
||||
ld a, [hld]
|
||||
@@ -33677,13 +33677,13 @@ Function2b9a6: ; 2b9a6
|
||||
rr a
|
||||
srl b
|
||||
rr a
|
||||
ld [hMultiplier], a
|
||||
ld [hDivisor], a
|
||||
ld b, $4
|
||||
call Divide
|
||||
ld a, [$ffb6]
|
||||
ld a, [hQuotient + 2]
|
||||
add e
|
||||
ld e, a
|
||||
ld a, [$ffb5]
|
||||
ld a, [hQuotient + 1]
|
||||
adc d
|
||||
ld d, a
|
||||
dec hl
|
||||
@@ -34020,7 +34020,7 @@ Function2c1b2: ; 2c1b2
|
||||
callba Function2c10d
|
||||
ld b, $8
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld a, $e4
|
||||
ld [rOBP0], a
|
||||
ret
|
||||
@@ -34559,7 +34559,7 @@ Function2c80a: ; 2c80a
|
||||
callba WritePartyMenuTilemap
|
||||
callba PrintPartyMenuText
|
||||
call WaitBGMap
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
callba PartyMenuSelect
|
||||
push af
|
||||
@@ -36764,7 +36764,7 @@ AIChooseMove: ; 440ce
|
||||
ret nz
|
||||
|
||||
; No use picking a move if there's no choice.
|
||||
callba Function3e8d1
|
||||
callba CheckSubstatus_RechargeChargedRampageBideRollout
|
||||
ret nz
|
||||
|
||||
|
||||
@@ -37768,7 +37768,7 @@ Function4484a: ; 0x4484a
|
||||
callba WritePartyMenuTilemap
|
||||
callba PrintPartyMenuText
|
||||
call WaitBGMap
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
callba PartyMenuSelect
|
||||
jr c, .asm_44939
|
||||
@@ -37987,7 +37987,7 @@ Function4802f: ; 4802f (12:402f)
|
||||
call PlaceString
|
||||
call Function48187
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function1bc9
|
||||
ld hl, wcfa9
|
||||
ld b, [hl]
|
||||
@@ -39673,11 +39673,11 @@ Function48d4a: ; 48d4a (12:4d4a)
|
||||
Function48d94: ; 48d94 (12:4d94)
|
||||
xor a
|
||||
ld [hDividend + 0], a
|
||||
ld [hQuotient], a ; $ff00+$b4 (aliases: hMultiplicand)
|
||||
ld [hDividend + 1], a ; $ff00+$b4 (aliases: hMultiplicand)
|
||||
ld a, [hli]
|
||||
ld [hDividend + 0], a
|
||||
ld a, [hl]
|
||||
ld [hQuotient], a ; $ff00+$b4 (aliases: hMultiplicand)
|
||||
ld [hDividend + 1], a ; $ff00+$b4 (aliases: hMultiplicand)
|
||||
ld a, 100
|
||||
ld [hDivisor], a ; $ff00+$b7 (aliases: hMultiplier)
|
||||
ld b, 2
|
||||
@@ -39707,7 +39707,7 @@ Function48dcb: ; 48dcb (12:4dcb)
|
||||
call Function48e47
|
||||
call Function48e64
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld hl, UnknownText_0x48e0f
|
||||
call PrintText
|
||||
ld hl, MenuDataHeader_0x48dfc
|
||||
@@ -40921,7 +40921,7 @@ MainMenu: ; 49cdc
|
||||
call Function49ed0
|
||||
ld b, $8
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld hl, GameTimerPause
|
||||
res 0, [hl]
|
||||
call Function49da4
|
||||
@@ -41302,7 +41302,7 @@ Function49f16: ; 49f16
|
||||
hlcoord 1, 14
|
||||
call PlaceString
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function1bc9
|
||||
ld hl, wcfa9
|
||||
ld b, [hl]
|
||||
@@ -41449,7 +41449,7 @@ Function4a098: ; 4a098 (12:6098)
|
||||
call WaitBGMap
|
||||
call Function1d6e
|
||||
callba Function89de0
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
call Function49351
|
||||
call Function4a485
|
||||
pop bc
|
||||
@@ -41558,7 +41558,7 @@ Function4a149: ; 4a149 (12:6149)
|
||||
hlcoord 1, 14
|
||||
call PlaceString
|
||||
callba Function104148
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function1bc9
|
||||
ld hl, wcfa9
|
||||
ld b, [hl]
|
||||
@@ -41696,7 +41696,7 @@ Function4a28a: ; 4a28a (12:628a)
|
||||
.asm_4a2df
|
||||
callba Function11765d
|
||||
call WhiteBGMap
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
call Functione5f
|
||||
scf
|
||||
ret
|
||||
@@ -41730,7 +41730,7 @@ Function4a28a: ; 4a28a (12:628a)
|
||||
.asm_4a338
|
||||
call ExitMenu
|
||||
.asm_4a33b
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
callba Function104148
|
||||
xor a
|
||||
ret
|
||||
@@ -41807,7 +41807,7 @@ Function4a39a: ; 4a39a
|
||||
call Function4a485
|
||||
call Function4a492
|
||||
call Function4a3aa
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 4a3a7
|
||||
|
||||
@@ -41987,7 +41987,7 @@ Function4a4c4: ; 4a4c4 (12:64c4)
|
||||
hlcoord 1, 16
|
||||
call PlaceString
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function1bc9
|
||||
ld hl, wcfa9
|
||||
ld b, [hl]
|
||||
@@ -42631,7 +42631,7 @@ Function4a94e: ; 4a94e
|
||||
ld [wd019], a
|
||||
ld b, $14
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function4aa22
|
||||
jr c, .asm_4a985
|
||||
jr z, .asm_4a9a1
|
||||
@@ -42762,7 +42762,7 @@ Function4aa34: ; 4aa34
|
||||
callba PrintPartyMenuText
|
||||
call Function4aab6
|
||||
call WaitBGMap
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
call Function4ab1a
|
||||
jr z, .asm_4aa66
|
||||
@@ -45652,7 +45652,7 @@ Function4dfb6: ; 4dfb6 (13:5fb6)
|
||||
ld hl, wcf64
|
||||
bit 4, [hl]
|
||||
jr nz, .asm_4dfd6
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
.asm_4dfd6
|
||||
call Function4e226
|
||||
@@ -45965,14 +45965,14 @@ Function4e226: ; 4e226 (13:6226)
|
||||
jr .asm_4e246
|
||||
.asm_4e238
|
||||
call Function4e271
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
.asm_4e23f
|
||||
call Function4e253
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
.asm_4e246
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function4e253
|
||||
ld a, [CurPartySpecies]
|
||||
call PlayCry2
|
||||
@@ -46156,7 +46156,7 @@ EggStatsScreen: ; 4e33a
|
||||
call PlaceString
|
||||
ld hl, wcf64
|
||||
set 5, [hl]
|
||||
call Function32f9 ; pals
|
||||
call SetPalettes ; pals
|
||||
call DelayFrame
|
||||
hlcoord 0, 0
|
||||
call Function3786
|
||||
@@ -46799,7 +46799,7 @@ Function4e881: ; 4e881
|
||||
ld hl, UnknownText_0x4e8bd
|
||||
call PrintText
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 4e8bd
|
||||
|
||||
@@ -46839,7 +46839,7 @@ Function4e8c2: ; 4e8c2
|
||||
ld [hSCX], a
|
||||
call EnableLCD
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 4e906
|
||||
|
||||
@@ -47157,7 +47157,7 @@ SelectMonFromParty: ; 50000
|
||||
call WhiteBGMap
|
||||
call Function5003f
|
||||
call WaitBGMap
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
call PartyMenuSelect
|
||||
call Function2b74
|
||||
@@ -47174,7 +47174,7 @@ Function5001d: ; 5001d
|
||||
call WaitBGMap
|
||||
ld b, $a
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call DelayFrame
|
||||
call PartyMenuSelect
|
||||
call Function2b74
|
||||
@@ -48230,7 +48230,7 @@ Function5067b: ; 5067b
|
||||
ld a, [PartyCount]
|
||||
cp [hl]
|
||||
jr nz, .asm_50682
|
||||
predef Function3d873
|
||||
predef CheckPlayerPartyForFitPkmn
|
||||
ld a, d
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
@@ -49385,15 +49385,15 @@ endr
|
||||
|
||||
ld a, [hli]
|
||||
and $f
|
||||
ld [hMultiplier], a
|
||||
ld [hDivisor], a
|
||||
ld b, $4
|
||||
call Divide
|
||||
|
||||
ld a, [hMultiplicand + 0]
|
||||
ld a, [hQuotient + 0]
|
||||
push af
|
||||
ld a, [hMultiplicand + 1]
|
||||
ld a, [hQuotient + 1]
|
||||
push af
|
||||
ld a, [hMultiplicand + 2]
|
||||
ld a, [hQuotient + 2]
|
||||
push af
|
||||
|
||||
call Function50eed
|
||||
@@ -53774,11 +53774,11 @@ Function84560: ; 84560
|
||||
ld [hl], $4
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
call Function309d
|
||||
call LoadTileMapToTempTileMap
|
||||
callba Function16dac
|
||||
ld a, $0
|
||||
call Function84419
|
||||
call Function30b4
|
||||
call Call_LoadTempTileMapToTileMap
|
||||
call Function84742
|
||||
ld a, $9
|
||||
ld [wcf65], a
|
||||
@@ -53806,7 +53806,7 @@ Function84560: ; 84560
|
||||
pop af
|
||||
ld [hVBlank], a
|
||||
call Function84411
|
||||
call Function30b4
|
||||
call Call_LoadTempTileMapToTileMap
|
||||
xor a
|
||||
ld [rIF], a
|
||||
pop af
|
||||
@@ -53939,13 +53939,13 @@ Function84688: ; 84688
|
||||
call Function84411
|
||||
ld c, $c
|
||||
call DelayFrames
|
||||
call Function309d
|
||||
call LoadTileMapToTempTileMap
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
callba Function1dd7ae
|
||||
ld a, $3
|
||||
call Function84419
|
||||
call Function30b4
|
||||
call Call_LoadTempTileMapToTileMap
|
||||
call Function84742
|
||||
ld a, $9
|
||||
ld [wcf65], a
|
||||
@@ -54716,7 +54716,7 @@ endr
|
||||
ld [hBGMapMode], a
|
||||
ld b, $1a
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function86635
|
||||
xor a
|
||||
ld [wc2c6], a
|
||||
@@ -54854,7 +54854,7 @@ Function86692: ; 86692
|
||||
call WaitBGMap
|
||||
ld b, $1a
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
decoord 6, 5
|
||||
ld c, $6
|
||||
predef Functiond066e
|
||||
@@ -55015,7 +55015,7 @@ Function86810: ; 86810
|
||||
ld [CurPartySpecies], a
|
||||
ld b, $1a
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function86635
|
||||
xor a
|
||||
ld [wc2c6], a
|
||||
@@ -55135,7 +55135,7 @@ Function88018: ; 88018
|
||||
call Function88161
|
||||
|
||||
.asm_88051
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
ret
|
||||
; 88055
|
||||
|
||||
@@ -56433,7 +56433,7 @@ Function894ca: ; 894ca (22:54ca)
|
||||
call Function895c7
|
||||
call Function8949c
|
||||
call Function8a60d
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
pop bc
|
||||
ret
|
||||
|
||||
@@ -57085,7 +57085,7 @@ Function89844: ; 89844
|
||||
call Function897af
|
||||
push bc
|
||||
call Function3200
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
pop bc
|
||||
ret
|
||||
; 89856
|
||||
@@ -57594,9 +57594,9 @@ Function89b28: ; 89b28 (22:5b28)
|
||||
call Function891de
|
||||
call WhiteBGMap
|
||||
call Function893e2
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
call Function891ab
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
|
||||
Function89b3b: ; 89b3b (22:5b3b)
|
||||
@@ -57945,7 +57945,7 @@ Function89d0d: ; 89d0d (22:5d0d)
|
||||
call CopyBytes
|
||||
pop af
|
||||
ld [rSVBK], a ; $ff00+$70
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
callba Function845db
|
||||
call Function89240
|
||||
ld c, $18
|
||||
@@ -58151,7 +58151,7 @@ Function89e6f: ; 89e6f (22:5e6f)
|
||||
hlcoord 10, 4, AttrMap
|
||||
call Function8a5a3
|
||||
call Function891ab
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
jp Function89e36
|
||||
|
||||
Function89e9a: ; 89e9a (22:5e9a)
|
||||
@@ -58188,7 +58188,7 @@ Function89eb9: ; 89eb9 (22:5eb9)
|
||||
hlcoord 10, 4, AttrMap
|
||||
call Function8a5a3
|
||||
call Function891ab
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
jp Function89e36
|
||||
|
||||
Function89ee1: ; 89ee1 (22:5ee1)
|
||||
@@ -58369,7 +58369,7 @@ Function89fce: ; 89fce (22:5fce)
|
||||
hlcoord 10, 4, AttrMap
|
||||
call Function8a5a3
|
||||
call Function89448
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function891ab
|
||||
jp Function89e36
|
||||
|
||||
@@ -58716,7 +58716,7 @@ Function8a241: ; 8a241 (22:6241)
|
||||
.asm_8a254
|
||||
call Function891de
|
||||
call WhiteBGMap
|
||||
call Function1d7d
|
||||
call Call_ExitMenu
|
||||
call Function891de
|
||||
and a
|
||||
ret
|
||||
@@ -58743,7 +58743,7 @@ Function8a262: ; 8a262 (22:6262)
|
||||
call Function8b36c
|
||||
call Function8b493
|
||||
call Function891ab
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function8b5e7
|
||||
ret
|
||||
|
||||
@@ -58841,7 +58841,7 @@ Function8a31c: ; 8a31c (22:631c)
|
||||
call Function8a4d3
|
||||
call Function8a4fc
|
||||
call Function891ab
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
call Function8a383
|
||||
jr c, .asm_8a370
|
||||
jr z, .asm_8a34e
|
||||
@@ -61780,7 +61780,7 @@ Function8b677: ; 8b677
|
||||
call Function8b6ed
|
||||
call EnableLCD
|
||||
call Function891ab
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 8b690
|
||||
|
||||
@@ -69325,7 +69325,7 @@ Function909de: ; 909de
|
||||
ld a, [wd002]
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, Unknown_909f2
|
||||
ld hl, WeekdaysStrings
|
||||
rept 2
|
||||
add hl, de
|
||||
endr
|
||||
@@ -69337,7 +69337,7 @@ endr
|
||||
ret
|
||||
; 909f2
|
||||
|
||||
Unknown_909f2: ; 909f2
|
||||
WeekdaysStrings: ; 909f2
|
||||
dw Sunday
|
||||
dw Monday
|
||||
dw Tuesday
|
||||
@@ -69397,13 +69397,13 @@ UnknownText_0x90a6c: ; 90a6c
|
||||
ld c, a
|
||||
decoord 1, 14
|
||||
callba Function1dd6bb
|
||||
ld hl, UnknownText_0x90a83
|
||||
ld hl, TextJump_DSTIsThatOK
|
||||
ret
|
||||
; 90a83 (24:4a83)
|
||||
|
||||
UnknownText_0x90a83: ; 0x90a83
|
||||
TextJump_DSTIsThatOK: ; 0x90a83
|
||||
; DST, is that OK?
|
||||
text_jump UnknownText_0x1c5fde
|
||||
text_jump Text_DSTIsThatOK
|
||||
db "@"
|
||||
; 0x90a88
|
||||
|
||||
@@ -69655,7 +69655,7 @@ Function90bea: ; 90bea (24:4bea)
|
||||
call Function90da8
|
||||
ld b, $2
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld a, [hCGB]
|
||||
and a
|
||||
ret z
|
||||
@@ -71442,7 +71442,7 @@ Function9191c: ; 9191c
|
||||
ld [wd005], a
|
||||
ld b, $2
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld a, [hCGB]
|
||||
and a
|
||||
jr z, .asm_9198b
|
||||
@@ -71696,7 +71696,7 @@ _FlyMap: ; 91af3
|
||||
call Function91c8f
|
||||
ld b, $2
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
.loop
|
||||
call Functiona57
|
||||
ld hl, hJoyPressed
|
||||
@@ -72118,7 +72118,7 @@ Function91d11: ; 91d11
|
||||
call TownMapBGUpdate
|
||||
ld b, $2
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
xor a
|
||||
@@ -72628,7 +72628,7 @@ Function92311: ; 92311
|
||||
ld [wd004], a
|
||||
ld b, $2
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
.loop
|
||||
call Functiona57
|
||||
ld hl, hJoyPressed
|
||||
@@ -75771,7 +75771,7 @@ Functionb9237: ; b9237
|
||||
ld a, [wd1ec]
|
||||
ld e, a
|
||||
callba Function8cb4
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
xor a
|
||||
ld [hJoyPressed], a
|
||||
call Functionb929a
|
||||
@@ -76979,7 +76979,7 @@ Functioncc000: ; cc000
|
||||
call WaitBGMap
|
||||
ld b, $8
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; cc0a7
|
||||
|
||||
@@ -83069,7 +83069,7 @@ _OptionsMenu: ; e41d0
|
||||
call WaitBGMap
|
||||
ld b, $8
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
.asm_e4217
|
||||
call Functiona57
|
||||
ld a, [hJoyPressed]
|
||||
@@ -83636,7 +83636,7 @@ Functione4579: ; e4579
|
||||
call WaitBGMap
|
||||
ld b, $19
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ld c, 10
|
||||
call DelayFrames
|
||||
callab Copyright
|
||||
@@ -86753,7 +86753,7 @@ Functionfb8c8: ; fb8c8
|
||||
ld [TempMonDVs + 1], a
|
||||
ld b, $1c
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; fb8f1
|
||||
|
||||
@@ -89503,7 +89503,7 @@ DoMysteryGift: ; 1048ba (41:48ba)
|
||||
call WaitBGMap
|
||||
ld b, $8
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
pop de
|
||||
hlcoord 2, 8
|
||||
ld a, d
|
||||
@@ -90803,7 +90803,7 @@ Function105153: ; 105153 (41:5153)
|
||||
call WaitBGMap
|
||||
ld b, $1d
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
|
||||
Function10522e: ; 10522e (41:522e)
|
||||
@@ -90981,7 +90981,7 @@ Function105777: ; 105777 (41:5777)
|
||||
call WaitBGMap
|
||||
ld b, $8
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
|
||||
Function10578c: ; 10578c (41:578c)
|
||||
@@ -91106,7 +91106,7 @@ Function1057d7: ; 1057d7 (41:57d7)
|
||||
call WaitBGMap
|
||||
ld b, $2
|
||||
callba Function4930f
|
||||
jp Function32f9
|
||||
jp SetPalettes
|
||||
|
||||
Function1058c6: ; 1058c6 (41:58c6)
|
||||
ld b, $6
|
||||
@@ -92241,10 +92241,11 @@ endr
|
||||
ld [$ffbb], a
|
||||
ret
|
||||
|
||||
Function1062f7
|
||||
Function1062f7:
|
||||
ld a, [$ffbc]
|
||||
bit 7, a
|
||||
ret z
|
||||
|
||||
ld [hl], $f6
|
||||
ret
|
||||
; 1062ff
|
||||
@@ -92950,7 +92951,7 @@ Function1dc381: ; 1dc381
|
||||
call WaitBGMap
|
||||
ld b, $3
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 1dc47b
|
||||
|
||||
@@ -93002,7 +93003,7 @@ Function1dc47b: ; 1dc47b
|
||||
call WaitBGMap
|
||||
ld b, $3
|
||||
call GetSGBLayout
|
||||
call Function32f9
|
||||
call SetPalettes
|
||||
ret
|
||||
; 1dc507
|
||||
|
||||
@@ -93144,18 +93145,18 @@ Function1dd6bb: ; 1dd6bb (77:56bb)
|
||||
ld bc, $8102
|
||||
call PrintNum
|
||||
pop bc
|
||||
ld de, String_1dd6fc
|
||||
ld de, String_AM
|
||||
pop af
|
||||
jr c, .asm_1dd6f7
|
||||
ld de, String_1dd6ff
|
||||
ld de, String_PM
|
||||
.asm_1dd6f7
|
||||
inc hl
|
||||
call PlaceString
|
||||
ret
|
||||
; 1dd6fc (77:56fc)
|
||||
|
||||
String_1dd6fc: db "AM@"
|
||||
String_1dd6ff: db "PM@"
|
||||
String_AM: db "AM@" ; 1dd6fc
|
||||
String_PM: db "PM@" ; 1dd6ff
|
||||
; 1dd702
|
||||
|
||||
|
||||
@@ -93333,22 +93334,22 @@ Function1de27f: ; 1de27f
|
||||
|
||||
|
||||
|
||||
Function1de28a:: ; 1de28a
|
||||
Start_DudeAutoInput_A:: ; 1de28a
|
||||
ld hl, DudeAutoInput_A
|
||||
jr Function1de299
|
||||
jr CallStartAutoInput
|
||||
; 1de28f
|
||||
|
||||
Function1de28f: ; 1de28f
|
||||
Start_DudeAutoInput_RightA: ; 1de28f
|
||||
ld hl, DudeAutoInput_RightA
|
||||
jr Function1de299
|
||||
jr CallStartAutoInput
|
||||
; 1de294
|
||||
|
||||
Function1de294: ; 1de294
|
||||
Start_DudeAutoInput_DownA: ; 1de294
|
||||
ld hl, DudeAutoInput_DownA
|
||||
jr Function1de299
|
||||
jr CallStartAutoInput
|
||||
; 1de299
|
||||
|
||||
Function1de299: ; 1de299
|
||||
CallStartAutoInput: ; 1de299
|
||||
ld a, BANK(DudeAutoInputs)
|
||||
call StartAutoInput
|
||||
ret
|
||||
|
Reference in New Issue
Block a user