You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
rename bit1 script commands to event
This commit is contained in:
@@ -34,11 +34,11 @@ Bird_keeperVance1Script: ; 0x19d830
|
||||
iftrue UnknownScript_0x19d86a
|
||||
checkcellnum $20
|
||||
iftrue UnknownScript_0x19d8eb
|
||||
checkbit1 $0295
|
||||
checkevent $0295
|
||||
iftrue UnknownScript_0x19d853
|
||||
2writetext UnknownText_0x19dbf3
|
||||
keeptextopen
|
||||
setbit1 $0295
|
||||
setevent $0295
|
||||
2call UnknownScript_0x19d8df
|
||||
2jump UnknownScript_0x19d856
|
||||
; 0x19d853
|
||||
@@ -62,10 +62,10 @@ UnknownScript_0x19d86a: ; 0x19d86a
|
||||
if_equal $1, UnknownScript_0x19d887
|
||||
if_equal $0, UnknownScript_0x19d88d
|
||||
UnknownScript_0x19d881: ; 0x19d881
|
||||
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
|
||||
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
||||
iftrue UnknownScript_0x19d8a7
|
||||
UnknownScript_0x19d887: ; 0x19d887
|
||||
checkbit1 $0044
|
||||
checkevent $0044
|
||||
iftrue UnknownScript_0x19d89a
|
||||
UnknownScript_0x19d88d: ; 0x19d88d
|
||||
loadtrainer BIRD_KEEPER, VANCE1
|
||||
@@ -90,14 +90,14 @@ UnknownScript_0x19d8a7: ; 0x19d8a7
|
||||
startbattle
|
||||
returnafterbattle
|
||||
clearbit2 $0079
|
||||
checkbit1 EVENT_VANCE_CARBOS
|
||||
checkevent EVENT_VANCE_CARBOS
|
||||
iftrue UnknownScript_0x19d8cb
|
||||
checkbit1 $0267
|
||||
checkevent $0267
|
||||
iftrue UnknownScript_0x19d8ca
|
||||
2call UnknownScript_0x19d90a
|
||||
verbosegiveitem CARBOS, 1
|
||||
iffalse UnknownScript_0x19d903
|
||||
setbit1 $0267
|
||||
setevent $0267
|
||||
2jump UnknownScript_0x19d8eb
|
||||
; 0x19d8ca
|
||||
|
||||
@@ -111,8 +111,8 @@ UnknownScript_0x19d8cb: ; 0x19d8cb
|
||||
closetext
|
||||
verbosegiveitem CARBOS, 1
|
||||
iffalse UnknownScript_0x19d903
|
||||
clearbit1 EVENT_VANCE_CARBOS
|
||||
setbit1 $0267
|
||||
clearevent EVENT_VANCE_CARBOS
|
||||
setevent $0267
|
||||
2jump UnknownScript_0x19d8eb
|
||||
; 0x19d8df
|
||||
|
||||
@@ -162,7 +162,7 @@ UnknownScript_0x19d8ff: ; 0x19d8ff
|
||||
; 0x19d903
|
||||
|
||||
UnknownScript_0x19d903: ; 0x19d903
|
||||
setbit1 EVENT_VANCE_CARBOS
|
||||
setevent EVENT_VANCE_CARBOS
|
||||
jumpstd $0021
|
||||
end
|
||||
; 0x19d90a
|
||||
@@ -231,11 +231,11 @@ FisherWilton1Script: ; 0x19d92e
|
||||
iftrue UnknownScript_0x19d9b4
|
||||
checkcellnum $21
|
||||
iftrue UnknownScript_0x19d8eb
|
||||
checkbit1 $0297
|
||||
checkevent $0297
|
||||
iftrue UnknownScript_0x19d957
|
||||
2writetext UnknownText_0x19daa8
|
||||
keeptextopen
|
||||
setbit1 $0297
|
||||
setevent $0297
|
||||
2call UnknownScript_0x19d8df
|
||||
2jump UnknownScript_0x19d95a
|
||||
; 0x19d957
|
||||
@@ -259,10 +259,10 @@ UnknownScript_0x19d96e: ; 0x19d96e
|
||||
if_equal $1, UnknownScript_0x19d98b
|
||||
if_equal $0, UnknownScript_0x19d991
|
||||
UnknownScript_0x19d985: ; 0x19d985
|
||||
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
|
||||
checkevent EVENT_RESTORED_POWER_TO_KANTO
|
||||
iftrue UnknownScript_0x19d9ab
|
||||
UnknownScript_0x19d98b: ; 0x19d98b
|
||||
checkbit1 $0044
|
||||
checkevent $0044
|
||||
iftrue UnknownScript_0x19d99e
|
||||
UnknownScript_0x19d991: ; 0x19d991
|
||||
loadtrainer FISHER, WILTON1
|
||||
@@ -292,11 +292,11 @@ UnknownScript_0x19d9ab: ; 0x19d9ab
|
||||
|
||||
UnknownScript_0x19d9b4: ; 0x19d9b4
|
||||
2call UnknownScript_0x19d8fb
|
||||
checkbit1 EVENT_WILTON_HAS_ULTRA_BALL
|
||||
checkevent EVENT_WILTON_HAS_ULTRA_BALL
|
||||
iftrue UnknownScript_0x19d9c9
|
||||
checkbit1 EVENT_WILTON_HAS_GREAT_BALL
|
||||
checkevent EVENT_WILTON_HAS_GREAT_BALL
|
||||
iftrue UnknownScript_0x19d9d2
|
||||
checkbit1 EVENT_WILTON_HAS_POKE_BALL
|
||||
checkevent EVENT_WILTON_HAS_POKE_BALL
|
||||
iftrue UnknownScript_0x19d9db
|
||||
UnknownScript_0x19d9c9: ; 0x19d9c9
|
||||
verbosegiveitem ULTRA_BALL, 1
|
||||
|
||||
Reference in New Issue
Block a user