You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
script commands if_greater_than and if_less_than were swapped
This commit is contained in:
@@ -9,8 +9,8 @@ ScriptCommandTable: ; 0x96cb1
|
||||
dw Script_if_not_equal
|
||||
dw Script_iffalse
|
||||
dw Script_iftrue
|
||||
dw Script_if_less_than
|
||||
dw Script_if_greater_than
|
||||
dw Script_if_less_than
|
||||
dw Script_jumpstd
|
||||
dw Script_callstd
|
||||
dw Script_3callasm
|
||||
@@ -1734,7 +1734,7 @@ Script_if_not_equal: ; 0x9754b
|
||||
jr SkipTwoScriptBytes ; 0x97554 $40
|
||||
; 0x97556
|
||||
|
||||
Script_if_less_than: ; 0x97556
|
||||
Script_if_greater_than: ; 0x97556
|
||||
; script command 0xa
|
||||
; parameters:
|
||||
; byte (SingleByteParam)
|
||||
@@ -1748,7 +1748,7 @@ Script_if_less_than: ; 0x97556
|
||||
jr SkipTwoScriptBytes ; 0x97560 $34
|
||||
; 0x97562
|
||||
|
||||
Script_if_greater_than: ; 0x97562
|
||||
Script_if_less_than: ; 0x97562
|
||||
; script command 0xb
|
||||
; parameters:
|
||||
; byte (SingleByteParam)
|
||||
|
@@ -2298,8 +2298,8 @@ UnknownScript_0xbce7f: ; 0xbce7f
|
||||
faceplayer
|
||||
loadfont
|
||||
special $0059
|
||||
if_greater_than $32, UnknownScript_0xbce9a
|
||||
if_greater_than $96, UnknownScript_0xbce93
|
||||
if_less_than $32, UnknownScript_0xbce9a
|
||||
if_less_than $96, UnknownScript_0xbce93
|
||||
3writetext $6c, $492a
|
||||
closetext
|
||||
loadmovesprites
|
||||
@@ -2497,7 +2497,7 @@ BillPhoneScript1: ; 0xbcfc5
|
||||
checkcode $10
|
||||
RAM2MEM $0
|
||||
if_equal $0, .full
|
||||
if_greater_than $6, .nearlyfull
|
||||
if_less_than $6, .nearlyfull
|
||||
3writetext BANK(BillPhoneNotFullText), BillPhoneNotFullText
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user