All functions in main.asm have non-generic names

This commit is contained in:
pikalaxalt
2016-05-08 14:11:24 -04:00
parent bb58230ca7
commit e95d42e0af
34 changed files with 537 additions and 551 deletions

View File

@@ -33,7 +33,7 @@ UpdateGameTimer:: ; 20ad
; Don't update if game logic is paused.
ld a, [wc2cd]
ld a, [wGameLogicPaused]
and a
ret nz

View File

@@ -33,7 +33,7 @@ Joypad:: ; 935
ret nz
; If we're saving, input is disabled.
ld a, [wc2cd]
ld a, [wGameLogicPaused]
and a
ret nz

View File

@@ -8,8 +8,6 @@ InitName:: ; 2ef9
; Intended for names, so this function is limited to ten characters.
push hl
ld c, 10
; 2efc
_InitString:: ; 2efc
; if the string pointed to by hl is empty (defined as "zero or more spaces
; followed by a null"), then initialize it to the string pointed to by de.
@@ -31,6 +29,7 @@ _InitString:: ; 2efc
inc c
call CopyBytes
ret
.notblank
pop bc
pop hl

View File

@@ -182,7 +182,7 @@ BuenaPrintText:: ; 105a
PrintTextBoxText:: ; 1065
bccoord TEXTBOX_INNERX, TEXTBOX_INNERY
call PlaceWholeStringInBoxAtOnce
call PlaceHLTextAtBC
ret
; 106c
@@ -708,7 +708,7 @@ PokeFluteTerminatorCharacter:: ; 13e0
; 13e5
PlaceWholeStringInBoxAtOnce:: ; 13e5
PlaceHLTextAtBC:: ; 13e5
ld a, [TextBoxFlags]
push af
set 1, a