more accurate script names: refreshscreen -> reanchormap, and reloadmappart -> refreshmap (#1078)

This commit is contained in:
xCrystal
2024-01-07 14:37:46 +01:00
parent f72f078c0e
commit 7f3b87950a
42 changed files with 115 additions and 115 deletions

View File

@@ -136,7 +136,7 @@ ScriptCommandTable:
dw Script_itemnotify ; 45
dw Script_pocketisfull ; 46
dw Script_opentext ; 47
dw Script_refreshscreen ; 48
dw Script_reanchormap ; 48
dw Script_closetext ; 49
dw Script_writeunusedbyte ; 4a
dw Script_farwritetext ; 4b
@@ -188,7 +188,7 @@ ScriptCommandTable:
dw Script_changemapblocks ; 79
dw Script_changeblock ; 7a
dw Script_reloadmap ; 7b
dw Script_reloadmappart ; 7c
dw Script_refreshmap ; 7c
dw Script_writecmdqueue ; 7d
dw Script_delcmdqueue ; 7e
dw Script_playmusic ; 7f
@@ -2157,7 +2157,7 @@ Script_changeblock:
call BufferScreen
ret
Script_reloadmappart::
Script_refreshmap::
xor a
ldh [hBGMapMode], a
call LoadOverworldTilemapAndAttrmapPals
@@ -2192,8 +2192,8 @@ Script_opentext:
call OpenText
ret
Script_refreshscreen:
call RefreshScreen
Script_reanchormap:
call ReanchorMap
call GetScriptByte
ret

View File

@@ -139,7 +139,7 @@ UseRegisteredItem:
ret
.Party:
call RefreshScreen
call ReanchorMap
call FadeToMenu
call DoItemEffect
call CloseSubmenu
@@ -148,7 +148,7 @@ UseRegisteredItem:
ret
.Overworld:
call RefreshScreen
call ReanchorMap
ld a, 1
ld [wUsingItemWithSelect], a
call DoItemEffect
@@ -163,7 +163,7 @@ UseRegisteredItem:
ret
.CantUse:
call RefreshScreen
call ReanchorMap
._cantuse
call CantUseItem