You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
rename bit2 script commands to flag
This commit is contained in:
@@ -23,7 +23,7 @@ BugsyScript_0x18ec1e: ; 0x18ec1e
|
||||
2writetext UnknownText_0x18ee14
|
||||
playsound $009c
|
||||
waitbutton
|
||||
setbit2 $001c
|
||||
setflag $001c
|
||||
checkcode $7
|
||||
2call UnknownScript_0x18ec73
|
||||
UnknownScript_0x18ec48: ; 0x18ec48
|
||||
@@ -230,7 +230,7 @@ AzaleaGymGuyScript: ; 0x18ece6
|
||||
; 0x18ecfb
|
||||
|
||||
MapAzaleaGymSignpost1Script: ; 0x18ecfb
|
||||
checkbit2 $001c
|
||||
checkflag $001c
|
||||
iftrue UnknownScript_0x18ed04
|
||||
jumpstd $002d
|
||||
; 0x18ed04
|
||||
|
@@ -28,7 +28,7 @@ UnknownScript_0x198013: ; 0x198013
|
||||
; 0x198014
|
||||
|
||||
UnknownScript_0x198014: ; 0x198014
|
||||
setbit2 $0044
|
||||
setflag $0044
|
||||
return
|
||||
; 0x198018
|
||||
|
||||
@@ -175,7 +175,7 @@ UnknownScript_0x1980e5: ; 0x1980e5
|
||||
closetext
|
||||
verbosegiveitem GS_BALL, 1
|
||||
spriteface $d, $2
|
||||
setbit2 $0064
|
||||
setflag $0064
|
||||
clearevent $06ed
|
||||
setevent $06eb
|
||||
dotrigger $0
|
||||
|
@@ -13,7 +13,7 @@ BlackthornCity_MapScriptHeader: ; 0x1a46d0
|
||||
; 0x1a46d8
|
||||
|
||||
UnknownScript_0x1a46d8: ; 0x1a46d8
|
||||
setbit2 $004b
|
||||
setflag $004b
|
||||
return
|
||||
; 0x1a46dc
|
||||
|
||||
|
@@ -29,7 +29,7 @@ UnknownScript_0x194e23: ; 0x194e23
|
||||
ClairScript_0x194e24: ; 0x194e24
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit2 $0022
|
||||
checkflag $0022
|
||||
iftrue UnknownScript_0x194e69
|
||||
checkevent EVENT_BEAT_CLAIR
|
||||
iftrue UnknownScript_0x194e63
|
||||
@@ -200,7 +200,7 @@ BlackthornGymGuyScript: ; 0x194ed6
|
||||
; 0x194eea
|
||||
|
||||
MapBlackthornGym1FSignpost1Script: ; 0x194eea
|
||||
checkbit2 $0022
|
||||
checkflag $0022
|
||||
iftrue UnknownScript_0x194ef3
|
||||
jumpstd $002d
|
||||
; 0x194ef3
|
||||
|
@@ -18,7 +18,7 @@ DaisyScript_0x19b0d0: ; 0x19b0d0
|
||||
; 0x19b0de
|
||||
|
||||
UnknownScript_0x19b0de: ; 0x19b0de
|
||||
checkbit2 $005c
|
||||
checkflag $005c
|
||||
iftrue UnknownScript_0x19b11e
|
||||
2writetext UnknownText_0x19b1b6
|
||||
yesorno
|
||||
@@ -28,7 +28,7 @@ UnknownScript_0x19b0de: ; 0x19b0de
|
||||
special $0063
|
||||
if_equal $0, UnknownScript_0x19b124
|
||||
if_equal $1, UnknownScript_0x19b12a
|
||||
setbit2 $005c
|
||||
setflag $005c
|
||||
2writetext UnknownText_0x19b266
|
||||
closetext
|
||||
loadmovesprites
|
||||
|
@@ -11,7 +11,7 @@ CeladonCity_MapScriptHeader: ; 0x1a9f3a
|
||||
; 0x1a9f3f
|
||||
|
||||
UnknownScript_0x1a9f3f: ; 0x1a9f3f
|
||||
setbit2 $003d
|
||||
setflag $003d
|
||||
return
|
||||
; 0x1a9f43
|
||||
|
||||
|
@@ -9,7 +9,7 @@ CeladonGym_MapScriptHeader: ; 0x72a68
|
||||
ErikaScript_0x72a6a: ; 0x72a6a
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit2 $0026
|
||||
checkflag $0026
|
||||
iftrue UnknownScript_0x72a9b
|
||||
2writetext UnknownText_0x72b28
|
||||
closetext
|
||||
@@ -27,7 +27,7 @@ ErikaScript_0x72a6a: ; 0x72a6a
|
||||
2writetext UnknownText_0x72c96
|
||||
playsound $009c
|
||||
waitbutton
|
||||
setbit2 $0026
|
||||
setflag $0026
|
||||
UnknownScript_0x72a9b: ; 0x72a9b
|
||||
checkevent EVENT_GOT_TM19_GIGA_DRAIN
|
||||
iftrue UnknownScript_0x72aae
|
||||
@@ -189,7 +189,7 @@ TwinsJoandzoe2Script: ; 0x72b10
|
||||
; 0x72b18
|
||||
|
||||
MapCeladonGymSignpost1Script: ; 0x72b18
|
||||
checkbit2 $0026
|
||||
checkflag $0026
|
||||
iftrue UnknownScript_0x72b21
|
||||
jumpstd $002d
|
||||
; 0x72b21
|
||||
|
@@ -11,7 +11,7 @@ CeruleanCity_MapScriptHeader: ; 0x184000
|
||||
; 0x184005
|
||||
|
||||
UnknownScript_0x184005: ; 0x184005
|
||||
setbit2 $0038
|
||||
setflag $0038
|
||||
return
|
||||
; 0x184009
|
||||
|
||||
|
@@ -59,7 +59,7 @@ UnknownScript_0x1883de: ; 0x1883de
|
||||
MistyScript_0x188432: ; 0x188432
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit2 $0024
|
||||
checkflag $0024
|
||||
iftrue UnknownScript_0x188460
|
||||
2writetext UnknownText_0x188674
|
||||
closetext
|
||||
@@ -76,7 +76,7 @@ MistyScript_0x188432: ; 0x188432
|
||||
2writetext UnknownText_0x188768
|
||||
playsound $009c
|
||||
waitbutton
|
||||
setbit2 $0024
|
||||
setflag $0024
|
||||
UnknownScript_0x188460: ; 0x188460
|
||||
2writetext UnknownText_0x188782
|
||||
closetext
|
||||
@@ -215,7 +215,7 @@ MapCeruleanGymSignpost2Script: ; 0x1884c6
|
||||
; 0x1884d3
|
||||
|
||||
UnknownScript_0x1884d3: ; 0x1884d3
|
||||
checkbit2 $0024
|
||||
checkflag $0024
|
||||
iftrue UnknownScript_0x1884dc
|
||||
jumpstd $002d
|
||||
; 0x1884dc
|
||||
|
@@ -23,7 +23,7 @@ UnknownScript_0x19c00e: ; 0x19c00e
|
||||
; 0x19c00f
|
||||
|
||||
UnknownScript_0x19c00f: ; 0x19c00f
|
||||
setbit2 $0042
|
||||
setflag $0042
|
||||
return
|
||||
; 0x19c013
|
||||
|
||||
@@ -75,7 +75,7 @@ UnknownScript_0x19c01f: ; 0x19c01f
|
||||
keeptextopen
|
||||
stringtotext .mapcardname, $1
|
||||
2call .UnknownScript_0x19c097
|
||||
setbit2 $0001
|
||||
setflag $0001
|
||||
2writetext UnknownText_0x19c438
|
||||
keeptextopen
|
||||
2writetext UnknownText_0x19c451
|
||||
@@ -192,7 +192,7 @@ UnknownScript_0x19c12f: ; 0x19c12f
|
||||
TeacherScript_0x19c146: ; 0x19c146
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit2 $0001
|
||||
checkflag $0001
|
||||
iftrue UnknownScript_0x19c154
|
||||
2writetext UnknownText_0x19c650
|
||||
closetext
|
||||
@@ -210,7 +210,7 @@ UnknownScript_0x19c154: ; 0x19c154
|
||||
YoungsterScript_0x19c15a: ; 0x19c15a
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit2 $000b
|
||||
checkflag $000b
|
||||
iftrue UnknownScript_0x19c168
|
||||
2writetext UnknownText_0x19c6d6
|
||||
closetext
|
||||
|
@@ -23,7 +23,7 @@ UnknownScript_0x1a000e: ; 0x1a000e
|
||||
; 0x1a000f
|
||||
|
||||
UnknownScript_0x1a000f: ; 0x1a000f
|
||||
setbit2 $0045
|
||||
setflag $0045
|
||||
setevent $07aa
|
||||
checkevent $0333
|
||||
iffalse UnknownScript_0x1a001d
|
||||
|
@@ -38,7 +38,7 @@ ChuckScript_0x9d60f: ; 0x9d60f
|
||||
2writetext UnknownText_0x9d835
|
||||
playsound $009c
|
||||
waitbutton
|
||||
setbit2 $0020
|
||||
setflag $0020
|
||||
checkcode $7
|
||||
2call UnknownScript_0x9d681
|
||||
UnknownScript_0x9d656: ; 0x9d656
|
||||
@@ -202,7 +202,7 @@ BoulderScript_0x9d6e0: ; 0x9d6e0
|
||||
; 0x9d6e3
|
||||
|
||||
MapCianwoodGymSignpost1Script: ; 0x9d6e3
|
||||
checkbit2 $0020
|
||||
checkflag $0020
|
||||
iftrue UnknownScript_0x9d6ec
|
||||
jumpstd $002d
|
||||
; 0x9d6ec
|
||||
|
@@ -11,7 +11,7 @@ CinnabarIsland_MapScriptHeader: ; 0x1ac9a7
|
||||
; 0x1ac9ac
|
||||
|
||||
UnknownScript_0x1ac9ac: ; 0x1ac9ac
|
||||
setbit2 $003f
|
||||
setflag $003f
|
||||
return
|
||||
; 0x1ac9b0
|
||||
|
||||
|
@@ -11,7 +11,7 @@ CopycatsHouse2F_MapScriptHeader: ; 0x18ae9a
|
||||
; 0x18ae9f
|
||||
|
||||
UnknownScript_0x18ae9f: ; 0x18ae9f
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18aeac
|
||||
disappear $7
|
||||
appear $2
|
||||
@@ -33,7 +33,7 @@ CopycatScript_0x18aeb1: ; 0x18aeb1
|
||||
iftrue UnknownScript_0x18af5b
|
||||
checkitem LOST_ITEM
|
||||
iftrue UnknownScript_0x18af4a
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18aed4
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
faceplayer
|
||||
@@ -50,7 +50,7 @@ UnknownScript_0x18aedc: ; 0x18aedc
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x18af16
|
||||
loadfont
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18aef2
|
||||
2writetext UnknownText_0x18afda
|
||||
2jump UnknownScript_0x18aef5
|
||||
@@ -61,7 +61,7 @@ UnknownScript_0x18aef2: ; 0x18aef2
|
||||
UnknownScript_0x18aef5: ; 0x18aef5
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18af04
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
2jump UnknownScript_0x18af08
|
||||
@@ -82,7 +82,7 @@ UnknownScript_0x18af08: ; 0x18af08
|
||||
|
||||
UnknownScript_0x18af16: ; 0x18af16
|
||||
loadfont
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18af23
|
||||
2writetext UnknownText_0x18b064
|
||||
2jump UnknownScript_0x18af26
|
||||
@@ -93,7 +93,7 @@ UnknownScript_0x18af23: ; 0x18af23
|
||||
UnknownScript_0x18af26: ; 0x18af26
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18af35
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
2jump UnknownScript_0x18af39
|
||||
@@ -138,7 +138,7 @@ UnknownScript_0x18af5c: ; 0x18af5c
|
||||
; 0x18af6f
|
||||
|
||||
UnknownScript_0x18af6f: ; 0x18af6f
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18af80
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
faceplayer
|
||||
@@ -153,7 +153,7 @@ UnknownScript_0x18af80: ; 0x18af80
|
||||
UnknownScript_0x18af88: ; 0x18af88
|
||||
special $005e
|
||||
loadfont
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18af98
|
||||
2writetext UnknownText_0x18b298
|
||||
2jump UnknownScript_0x18af9b
|
||||
@@ -164,7 +164,7 @@ UnknownScript_0x18af98: ; 0x18af98
|
||||
UnknownScript_0x18af9b: ; 0x18af9b
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x18afaa
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
2jump UnknownScript_0x18afae
|
||||
|
@@ -172,7 +172,7 @@ GentlemanScript_0x994c6: ; 0x994c6
|
||||
; 0x994f3
|
||||
|
||||
UnknownScript_0x994f3: ; 0x994f3
|
||||
checkbit2 $0063
|
||||
checkflag $0063
|
||||
iftrue UnknownScript_0x994ff
|
||||
2writetext UnknownText_0x99891
|
||||
closetext
|
||||
|
@@ -11,7 +11,7 @@ DayCare_MapScriptHeader: ; 0x62f76
|
||||
; 0x62f7b
|
||||
|
||||
UnknownScript_0x62f7b: ; 0x62f7b
|
||||
checkbit2 $0005
|
||||
checkflag $0005
|
||||
iftrue UnknownScript_0x62f88
|
||||
clearevent $06e5
|
||||
setevent $06e6
|
||||
@@ -64,7 +64,7 @@ UnknownScript_0x62fbd: ; 0x62fbd
|
||||
GrannyScript_0x62fc3: ; 0x62fc3
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit2 $0005
|
||||
checkflag $0005
|
||||
iftrue UnknownScript_0x62fd1
|
||||
special $001f
|
||||
closetext
|
||||
|
@@ -160,7 +160,7 @@ UnknownScript_0x18d100: ; 0x18d100
|
||||
loadfont
|
||||
2writetext UnknownText_0x18d9bf
|
||||
closetext
|
||||
setbit2 $0022
|
||||
setflag $0022
|
||||
playsound $009c
|
||||
waitbutton
|
||||
special $003d
|
||||
|
@@ -11,7 +11,7 @@ EcruteakCity_MapScriptHeader: ; 0x1a4000
|
||||
; 0x1a4005
|
||||
|
||||
UnknownScript_0x1a4005: ; 0x1a4005
|
||||
setbit2 $0048
|
||||
setflag $0048
|
||||
return
|
||||
; 0x1a4009
|
||||
|
||||
|
@@ -36,7 +36,7 @@ MortyScript_0x99d58: ; 0x99d58
|
||||
2writetext UnknownText_0x9a043
|
||||
playsound $009c
|
||||
waitbutton
|
||||
setbit2 $001e
|
||||
setflag $001e
|
||||
checkcode $7
|
||||
2call UnknownScript_0x99db7
|
||||
domaptrigger GROUP_ECRUTEAK_HOUSE, MAP_ECRUTEAK_HOUSE, $1
|
||||
@@ -233,7 +233,7 @@ EcruteakGymGuyScript: ; 0x99e39
|
||||
; 0x99e4d
|
||||
|
||||
MapEcruteakGymSignpost1Script: ; 0x99e4d
|
||||
checkbit2 $001e
|
||||
checkflag $001e
|
||||
iftrue UnknownScript_0x99e56
|
||||
jumpstd $002d
|
||||
; 0x99e56
|
||||
|
@@ -79,7 +79,7 @@ SageScript_0x98062: ; 0x98062
|
||||
loadfont
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue UnknownScript_0x9807c
|
||||
checkbit2 $001e
|
||||
checkflag $001e
|
||||
iftrue UnknownScript_0x98076
|
||||
2writetext UnknownText_0x980d1
|
||||
closetext
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user