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

@@ -1,4 +1,4 @@
Elevator:: ; 1342d
Elevator::
call .LoadPointer
call .FindCurrentFloor
jr c, .quit
@@ -15,9 +15,8 @@ Elevator:: ; 1342d
.quit
scf
ret
; 1344a
.LoadPointer: ; 1344a
.LoadPointer:
ld a, b
ld [wElevatorPointerBank], a
ld a, e
@@ -26,9 +25,8 @@ Elevator:: ; 1342d
ld [wElevatorPointer + 1], a
call .LoadFloors
ret
; 1345a
.LoadFloors: ; 1345a
.LoadFloors:
ld de, wCurElevator
ld bc, 4
ld hl, wElevatorPointer
@@ -49,9 +47,8 @@ Elevator:: ; 1342d
cp -1
jr nz, .loop
ret
; 1347d
.FindCurrentFloor: ; 1347d
.FindCurrentFloor:
ld hl, wElevatorPointer
ld a, [hli]
ld h, [hl]
@@ -98,9 +95,8 @@ Elevator:: ; 1342d
.fail
scf
ret
; 134c0
Elevator_GoToFloor: ; 134c0
Elevator_GoToFloor:
push af
ld hl, wElevatorPointer
ld a, [hli]
@@ -116,9 +112,8 @@ Elevator_GoToFloor: ; 134c0
ld bc, 3
call FarCopyBytes
ret
; 134dd
Elevator_AskWhichFloor: ; 134dd
Elevator_AskWhichFloor:
call LoadStandardMenuHeader
ld hl, Elevator_WhichFloorText
call PrintText
@@ -141,7 +136,6 @@ Elevator_AskWhichFloor: ; 134dd
.cancel
scf
ret
; 1350d
Elevator_WhichFloorText: ; 0x1350d
; Which floor?
@@ -150,7 +144,7 @@ Elevator_WhichFloorText: ; 0x1350d
; 0x13512
Elevator_GetCurrentFloorText: ; 13512
Elevator_GetCurrentFloorText:
ld hl, wOptions
ld a, [hl]
push af
@@ -167,14 +161,12 @@ Elevator_GetCurrentFloorText: ; 13512
pop af
ld [wOptions], a
ret
; 13537
Elevator_CurrentFloorText: ; 13537
Elevator_CurrentFloorText:
db "Now on:@"
; 1353f
Elevator_GetCurrentFloorString: ; 1353f
Elevator_GetCurrentFloorString:
push hl
ld a, [wElevatorOriginFloor]
ld e, a
@@ -185,7 +177,6 @@ Elevator_GetCurrentFloorString: ; 1353f
pop de
call GetFloorString
ret
; 13550
Elevator_MenuHeader: ; 0x13550
db MENU_BACKUP_TILES ; flags
@@ -202,20 +193,18 @@ Elevator_MenuData: ; 0x13558
dba GetElevatorFloorStrings
dba NULL
dba NULL
; 13568
GetElevatorFloorStrings: ; 13568
GetElevatorFloorStrings:
ld a, [wMenuSelection]
GetFloorString: ; 1356b
GetFloorString:
push de
call FloorToString
ld d, h
ld e, l
pop hl
jp PlaceString
; 13575
FloorToString: ; 13575
FloorToString:
push de
ld e, a
ld d, 0
@@ -227,6 +216,5 @@ FloorToString: ; 13575
ld l, a
pop de
ret
; 13583
INCLUDE "data/events/elevator_floors.asm"