Remove all address comments

This commit is contained in:
mid-kid
2018-06-24 16:09:41 +02:00
parent 131875d3e3
commit 1d9a68dbdd
616 changed files with 12133 additions and 20380 deletions

View File

@@ -15,7 +15,7 @@
const SEERACTION_CANT_TELL_2
const SEERACTION_LEVEL_ONLY
PokeSeer: ; 4f0bc
PokeSeer:
ld a, SEER_INTRO
call PrintSeerText
call JoyWaitAorB
@@ -47,34 +47,30 @@ PokeSeer: ; 4f0bc
ld a, SEER_EGG
call PrintSeerText
ret
; 4f0ee
SeerAction: ; 4f0ee
SeerAction:
ld a, [wSeerAction]
ld hl, SeerActions
rst JumpTable
ret
; 4f0f6
SeerActions: ; 4f0f6
SeerActions:
dw SeerAction0
dw SeerAction1
dw SeerAction2
dw SeerAction3
dw SeerAction4
; 4f100
SeerAction0: ; 4f100
SeerAction0:
ld a, SEER_MET_AT
call PrintSeerText
ld a, SEER_TIME_LEVEL
call PrintSeerText
call SeerAdvice
ret
; 4f10e
SeerAction1: ; 4f10e
SeerAction1:
call GetCaughtOT
ld a, SEER_TRADED
call PrintSeerText
@@ -82,28 +78,24 @@ SeerAction1: ; 4f10e
call PrintSeerText
call SeerAdvice
ret
; 4f11f
SeerAction2: ; 4f11f
SeerAction2:
ld a, SEER_CANT_TELL
call PrintSeerText
ret
; 4f125
SeerAction3: ; 4f125
SeerAction3:
ld a, SEER_CANT_TELL
call PrintSeerText
ret
; 4f12b
SeerAction4: ; 4f12b
SeerAction4:
ld a, SEER_LEVEL_ONLY
call PrintSeerText
call SeerAdvice
ret
; 4f134
ReadCaughtData: ; 4f134
ReadCaughtData:
ld a, MON_CAUGHTDATA
call GetPartyParamLocation
ld a, [hli]
@@ -143,9 +135,8 @@ ReadCaughtData: ; 4f134
ld a, SEERACTION_CANT_TELL_1
ld [wSeerAction], a
ret
; 4f176
GetCaughtName: ; 4f176
GetCaughtName:
ld a, [wCurPartyMon]
ld hl, wPartyMonNicknames
ld bc, MON_NAME_LENGTH
@@ -154,9 +145,8 @@ GetCaughtName: ; 4f176
ld bc, MON_NAME_LENGTH
call CopyBytes
ret
; 4f18c
GetCaughtLevel: ; 4f18c
GetCaughtLevel:
ld a, "@"
ld hl, wSeerCaughtLevelString
ld bc, 4
@@ -185,13 +175,11 @@ GetCaughtLevel: ; 4f18c
ld bc, 4
call CopyBytes
ret
; 4f1c1
.unknown_level ; 4f1c1
.unknown_level
db "???@"
; 4f1c5
GetCaughtTime: ; 4f1c5
GetCaughtTime:
ld a, [wSeerCaughtData]
and CAUGHT_TIME_MASK
jr z, .none
@@ -212,26 +200,22 @@ GetCaughtTime: ; 4f1c5
ld de, wSeerTimeOfDay
call UnknownCaughtData
ret
; 4f1e6
.times ; 4f1e6
.times
db "Morning@"
db "Day@"
db "Night@"
; 4f1f8
UnknownCaughtData: ; 4f1f8
UnknownCaughtData:
ld hl, .unknown
ld bc, NAME_LENGTH
call CopyBytes
ret
; 4f202
.unknown ; 4f202
.unknown
db "Unknown@"
; 4f20a
GetCaughtLocation: ; 4f20a
GetCaughtLocation:
ld a, [wSeerCaughtGender]
and CAUGHT_LOCATION_MASK
jr z, .Unknown
@@ -263,9 +247,8 @@ GetCaughtLocation: ; 4f20a
ld [wSeerAction], a
scf
ret
; 4f242
GetCaughtOT: ; 4f242
GetCaughtOT:
ld a, [wCurPartyMon]
ld hl, wPartyMonOT
ld bc, NAME_LENGTH
@@ -286,15 +269,13 @@ GetCaughtOT: ; 4f242
ld a, "@"
ld [de], a
ret
; 4f26b
.male ; 4f26b
.male
db "@"
.female ; 4f26c
.female
db "@"
; 4f26d
PrintSeerText: ; 4f26d
PrintSeerText:
ld e, a
ld d, 0
ld hl, SeerTexts
@@ -305,9 +286,8 @@ PrintSeerText: ; 4f26d
ld l, a
call PrintText
ret
; 4f27c
SeerTexts: ; 4f27c
SeerTexts:
dw SeerIntroText
dw SeerCantTellText
dw SeerMetAtText
@@ -316,7 +296,6 @@ SeerTexts: ; 4f27c
dw SeerCancelText
dw SeerEggText
dw SeerLevelOnlyText
; 4f28c
SeerIntroText: ; 0x4f28c
; I see all. I know all… Certainly, I know of your #MON!
@@ -367,7 +346,7 @@ SeerCancelText: ; 0x4f2af
; 0x4f2b4
SeerAdvice: ; 4f2b4
SeerAdvice:
ld a, MON_LEVEL
call GetPartyParamLocation
ld a, [wSeerCaughtLevel]
@@ -392,9 +371,8 @@ SeerAdvice: ; 4f2b4
ld l, a
call PrintText
ret
; 4f2d6
SeerAdviceTexts: ; 4f2d6
SeerAdviceTexts:
; level, text
dbw 9, SeerAdvice1
dbw 29, SeerAdvice2
@@ -402,7 +380,6 @@ SeerAdviceTexts: ; 4f2d6
dbw 89, SeerAdvice4
dbw 100, SeerAdvice5
dbw 255, SeerAdvice1
; 4f2e8
SeerAdvice1: ; 0x4f2e8
; Incidentally… It would be wise to raise your #MON with a little more care.
@@ -435,7 +412,7 @@ SeerAdvice5: ; 0x4f2fc
; 0x4f301
GetCaughtGender: ; 4f301
GetCaughtGender:
ld hl, MON_CAUGHTGENDER
add hl, bc
@@ -458,4 +435,3 @@ GetCaughtGender: ; 4f301
.genderless
ld c, CAUGHT_BY_UNKNOWN
ret
; 4f31c