Rename several script commands

This commit is contained in:
PikalaxALT
2015-11-25 10:16:29 -05:00
parent f599e477fc
commit 01792e00d2
327 changed files with 2935 additions and 2926 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -150,13 +150,13 @@ Function891fe: ; 891fe
Function89209: ; 89209
ld a, 1
ld [wc2ce], a
ld [wSpriteUpdatesEnabled], a
ret
; 8920f
Function8920f: ; 8920f
ld a, 0
ld [wc2ce], a
ld [wSpriteUpdatesEnabled], a
ret
; 89215

View File

@@ -838,7 +838,7 @@ Jumptable_10052a: ; 10052a
Function100534: ; 100534
call Function100513
call UpdateSprites
call Function321c
call ApplyTilemap
ld a, [wcd28]
inc a
ld [wcd28], a
@@ -1847,7 +1847,7 @@ Function100b7a: ; 100b7a
callba Function24085
callba MobileTextBorder
call UpdateSprites
call Function321c
call ApplyTilemap
callba Function2411a
ld hl, wcfa5
set 7, [hl]
@@ -6006,7 +6006,7 @@ Function1027eb: ; 1027eb
ld c, $12
ld d, h
ld e, l
callba Function16d61d
callba _LinkTextbox
ld de, String_102804
hlcoord 2, 16
call PlaceString
@@ -6302,7 +6302,7 @@ Function1029cf: ; 1029cf
ld c, $8
ld d, h
ld e, l
callba Function16d61d
callba _LinkTextbox
ld de, String_102a26
hlcoord 12, 8
call PlaceString
@@ -6812,7 +6812,7 @@ Function102dc3: ; 102dc3
ld c, $12
ld d, h
ld e, l
callba Function16d61d
callba _LinkTextbox
ret
; 102dd3
@@ -6855,7 +6855,7 @@ Function102e07: ; 102e07
ld c, $b
ld d, h
ld e, l
callba Function16d61d
callba _LinkTextbox
.asm_102e28
ld de, String_102e32

View File

@@ -1290,7 +1290,7 @@ Function118936:
call LoadMenuDataHeader
call MenuBox
call MenuBoxCoord2Tile
call Function321c
call ApplyTilemap
hlcoord 16, 8, AttrMap
ld a, $40
or [hl]
@@ -4745,7 +4745,7 @@ Function11a207: ; 11a207
call LoadMenuDataHeader
call MenuBox
call MenuBoxCoord2Tile
call Function321c
call ApplyTilemap
hlcoord 16, 8
ld de, String_11a2cf
call PlaceString

View File

@@ -908,22 +908,21 @@ INCBIN "gfx/unknown/16d5cd.tilemap"
Tilemap_16d5f5:
INCBIN "gfx/unknown/16d5f5.tilemap"
Function16d61d: ; 16d61d
_LinkTextbox: ; 16d61d
ld h, d
ld l, e
push bc
push hl
call Function16d640
call .draw_border
pop hl
pop bc
ld de, AttrMap - TileMap
add hl, de
rept 2
inc b
endr
rept 2
inc b
inc c
inc c
endr
ld a, $7
.loop
push bc
@@ -941,43 +940,44 @@ endr
ret
; 16d640
Function16d640: ; 16d640
.draw_border: ; 16d640
push hl
ld a, $30
ld [hli], a
inc a
call Function16d66d
call .fill_row
inc a
ld [hl], a
pop hl
ld de, SCREEN_WIDTH
add hl, de
.loop
.loop3
push hl
ld a, $33
ld [hli], a
ld a, " "
call Function16d66d
call .fill_row
ld [hl], $34
pop hl
ld de, SCREEN_WIDTH
add hl, de
dec b
jr nz, .loop
jr nz, .loop3
ld a, $35
ld [hli], a
ld a, $36
call Function16d66d
call .fill_row
ld [hl], $37
ret
; 16d66d
Function16d66d: ; 16d66d
.fill_row: ; 16d66d
ld d, c
.loop
.loop4
ld [hli], a
dec d
jr nz, .loop
jr nz, .loop4
ret
; 16d673
@@ -1028,8 +1028,8 @@ Function16d6ae: ; 16d6ae
ret
; 16d6ca
Function16d6ca: ; 16d6ca
call Function16d61d
LinkTextbox: ; 16d6ca
call _LinkTextbox
ret
; 16d6ce
@@ -1046,7 +1046,7 @@ Function16d6e1: ; 16d6e1
hlcoord 4, 10
ld b, 1
ld c, 10
predef Function28eef
predef Predef_LinkTextbox
hlcoord 5, 11
ld de, .Waiting
call PlaceString