You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
rename bit1 script commands to event
This commit is contained in:
@@ -23,26 +23,26 @@ UnknownScript_0x98573: ; 0x98573
|
||||
; 0x98574
|
||||
|
||||
UnknownScript_0x98574: ; 0x98574
|
||||
checkbit1 EVENT_FOUGHT_SUICUNE
|
||||
checkevent EVENT_FOUGHT_SUICUNE
|
||||
iftrue UnknownScript_0x98593
|
||||
checkbit1 EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
||||
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
||||
iftrue UnknownScript_0x9858c
|
||||
checkitem CLEAR_BELL
|
||||
iftrue UnknownScript_0x9858c
|
||||
clearbit1 $07ab
|
||||
setbit1 $07ac
|
||||
clearevent $07ab
|
||||
setevent $07ac
|
||||
return
|
||||
; 0x9858c
|
||||
|
||||
UnknownScript_0x9858c: ; 0x9858c
|
||||
setbit1 $07ab
|
||||
clearbit1 $07ac
|
||||
setevent $07ab
|
||||
clearevent $07ac
|
||||
return
|
||||
; 0x98593
|
||||
|
||||
UnknownScript_0x98593: ; 0x98593
|
||||
setbit1 $07ab
|
||||
setbit1 $07ac
|
||||
setevent $07ab
|
||||
setevent $07ac
|
||||
return
|
||||
; 0x9859a
|
||||
|
||||
@@ -152,7 +152,7 @@ TrainerSageKoji: ; 0x985ec
|
||||
; 0x985f8
|
||||
|
||||
SageKojiScript: ; 0x985f8
|
||||
checkbit1 EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
||||
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
||||
iftrue UnknownScript_0x9861b
|
||||
pause 10
|
||||
showemote $0, $7, 20
|
||||
@@ -164,7 +164,7 @@ SageKojiScript: ; 0x985f8
|
||||
loadmovesprites
|
||||
applymovement $7, MovementData_0x98628
|
||||
spriteface $7, $1
|
||||
setbit1 EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
||||
setevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
|
||||
dotrigger $1
|
||||
end
|
||||
; 0x9861b
|
||||
|
||||
Reference in New Issue
Block a user