You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Labeled every function in ROM0 that's referenced in the source
This commit is contained in:
@@ -157,9 +157,9 @@ BattleTower_ExecuteJumptable: ; 8b25b
|
||||
; 8b281
|
||||
|
||||
.GetTextPointers: ; 8b281
|
||||
rept 3
|
||||
inc de
|
||||
endr
|
||||
inc de
|
||||
inc de
|
||||
ld a, [de]
|
||||
ld l, a
|
||||
inc de
|
||||
|
||||
@@ -340,9 +340,9 @@ ComputeAIContestantScores: ; 138b0
|
||||
jr z, .loop2
|
||||
ld c, a
|
||||
ld b, 0
|
||||
rept 3
|
||||
add hl, bc
|
||||
endr
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
ld a, [hli]
|
||||
ld [wBugContestTempMon], a
|
||||
ld a, [hli]
|
||||
|
||||
@@ -55,9 +55,9 @@ Special_CelebiShrineEvent: ; 4989a
|
||||
ld c, $4
|
||||
.OAMloop:
|
||||
ld [hli], a
|
||||
rept 3
|
||||
inc hl
|
||||
endr
|
||||
inc hl
|
||||
inc hl
|
||||
inc a
|
||||
dec c
|
||||
jr nz, .OAMloop
|
||||
|
||||
@@ -398,9 +398,9 @@ FlyToAnim: ; 8cb33
|
||||
ld c, $4
|
||||
.loop2
|
||||
ld [hli], a
|
||||
rept 3
|
||||
inc hl
|
||||
endr
|
||||
inc hl
|
||||
inc hl
|
||||
inc a
|
||||
dec c
|
||||
jr nz, .loop2
|
||||
|
||||
@@ -67,9 +67,9 @@ ChangeHappiness: ; 71c2
|
||||
dec c
|
||||
ld b, 0
|
||||
ld hl, .Actions
|
||||
rept 3
|
||||
add hl, bc
|
||||
endr
|
||||
add hl, bc
|
||||
add hl, bc
|
||||
ld d, 0
|
||||
add hl, de
|
||||
ld a, [hl]
|
||||
|
||||
@@ -48,7 +48,7 @@ Special_MagnetTrain: ; 8cc04
|
||||
callab PlaySpriteAnimations
|
||||
call MagnetTrain_Jumptable
|
||||
call MagnetTrain_UpdateLYOverrides
|
||||
call Function3b0c
|
||||
call PushLYOverrides
|
||||
call DelayFrame
|
||||
jr .loop
|
||||
|
||||
@@ -149,9 +149,9 @@ MagntTrain_LoadGFX_PlayMusic: ; 8ccc9
|
||||
xor a
|
||||
ld [hli], a
|
||||
ld a, [wMagnetTrainInitPosition]
|
||||
rept 3
|
||||
ld [hli], a
|
||||
endr
|
||||
ld [hli], a
|
||||
ld [hli], a
|
||||
ld de, MUSIC_MAGNET_TRAIN
|
||||
call PlayMusic2
|
||||
ret
|
||||
@@ -426,7 +426,7 @@ MagnetTrain_Jumptable_FirstRunThrough: ; 8ceae
|
||||
callba PlaySpriteAnimations
|
||||
call MagnetTrain_Jumptable
|
||||
call MagnetTrain_UpdateLYOverrides
|
||||
call Function3b0c
|
||||
call PushLYOverrides
|
||||
call DelayFrame
|
||||
ld a, [rSVBK]
|
||||
push af
|
||||
|
||||
@@ -588,9 +588,9 @@ Function16571: ; 16571
|
||||
push de
|
||||
ld e, a
|
||||
ld d, 0
|
||||
rept 3
|
||||
add hl, de
|
||||
endr
|
||||
add hl, de
|
||||
add hl, de
|
||||
pop de
|
||||
ret
|
||||
; 16613
|
||||
|
||||
@@ -188,9 +188,9 @@ MassageOrHaircut: ; 7420
|
||||
.loop
|
||||
sub [hl]
|
||||
jr c, .ok
|
||||
rept 3
|
||||
inc hl
|
||||
endr
|
||||
inc hl
|
||||
inc hl
|
||||
jr .loop
|
||||
|
||||
.ok
|
||||
|
||||
Reference in New Issue
Block a user