You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Add constants for checkcodes.
From PikalaxALT.
This commit is contained in:
@@ -22,7 +22,7 @@ UnknownScript_0x19400e: ; 0x19400e
|
||||
; 0x19400f
|
||||
|
||||
ArthurCallback:
|
||||
checkcode $b
|
||||
checkcode VAR_WEEKDAY
|
||||
if_equal THURSDAY, .ArthurAppears
|
||||
disappear $8
|
||||
return
|
||||
@@ -111,7 +111,7 @@ LassScript_0x19408c: ; 0x19408c
|
||||
closetext
|
||||
loadmovesprites
|
||||
clearevent $0768
|
||||
checkcode $9
|
||||
checkcode VAR_FACING
|
||||
if_equal $1, UnknownScript_0x1940ac
|
||||
applymovement $9, MovementData_0x19424e
|
||||
disappear $9
|
||||
@@ -197,7 +197,7 @@ TrainerSchoolboyAlan1: ; 0x1940f4
|
||||
; 0x194100
|
||||
|
||||
SchoolboyAlan1Script: ; 0x194100
|
||||
writecode $17, $18
|
||||
writecode VAR_CALLERID, $18
|
||||
talkaftercancel
|
||||
loadfont
|
||||
checkflag $0073
|
||||
@@ -383,7 +383,7 @@ ArthurScript:
|
||||
loadfont
|
||||
checkevent EVENT_GOT_HARD_STONE_FROM_ARTHUR
|
||||
iftrue ArthurThursdayScript
|
||||
checkcode $b
|
||||
checkcode VAR_WEEKDAY
|
||||
if_not_equal THURSDAY, ArthurNotThursdayScript
|
||||
checkevent EVENT_MET_ARTHUR_OF_THURSDAY
|
||||
iftrue .MetArthur
|
||||
|
||||
Reference in New Issue
Block a user