Created
February 28, 2020 04:21
-
-
Save LOuroboros/1e00d57c2ba4a14d7368f30377526502 to your computer and use it in GitHub Desktop.
PokeScript, a User Defined Language for Notepad++ created by Ryuhouji
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<NotepadPlus> | |
<UserLang name="PokeScript" ext="inc" udlVersion="2.1"> | |
<Settings> | |
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" /> | |
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="yes" Keywords6="yes" Keywords7="yes" Keywords8="no" /> | |
</Settings> | |
<KeywordLists> | |
<Keywords name="Comments">00@ 01 02((EOL)) 03 04</Keywords> | |
<Keywords name="Numbers, prefix1"></Keywords> | |
<Keywords name="Numbers, prefix2"></Keywords> | |
<Keywords name="Numbers, extras1"></Keywords> | |
<Keywords name="Numbers, extras2"></Keywords> | |
<Keywords name="Numbers, suffix1">,</Keywords> | |
<Keywords name="Numbers, suffix2"></Keywords> | |
<Keywords name="Numbers, range"></Keywords> | |
<Keywords name="Operators1">$</Keywords> | |
<Keywords name="Operators2"></Keywords> | |
<Keywords name="Folders in code1, open"></Keywords> | |
<Keywords name="Folders in code1, middle"></Keywords> | |
<Keywords name="Folders in code1, close"></Keywords> | |
<Keywords name="Folders in code2, open"></Keywords> | |
<Keywords name="Folders in code2, middle"></Keywords> | |
<Keywords name="Folders in code2, close"></Keywords> | |
<Keywords name="Folders in comment, open"></Keywords> | |
<Keywords name="Folders in comment, middle"></Keywords> | |
<Keywords name="Folders in comment, close"></Keywords> | |
<Keywords name="Keywords1">lock
lockall
faceplayer
call
goto
return
release
releaseall
end
special
specialvar
playmoncry
waitmoncry
closemessage
waitstate
setwildbattle
waitmessage
warp
setwarp
giveitem_std
showmoneybox
hidemoneybox
checkmoney
takemoney
givemoney
giveitem
takeitem
givemon
checkitem
updatemoneybox
checkitemspace
checktrainerflag
playse
waitse
playbgm
savebgm
fadeoutbgm
fadedefaultbgm
switch
playfanfare
waitfanfare
fadescreen
fadeinbgm
setweather
doweather
delay
fadescreenspeed
fadenewbgm
warp8
drawheadshot
getpartysize
createfollower
destroyfollower</Keywords> | |
<Keywords name="Keywords2">goto_if_eq
goto_if_ne
goto_if_gt
goto_if_lt
goto_if_ge
goto_if_le
call_if_eq
call_if_ne
call_if_gt
call_if_lt
call_if_ge
call_if_le
goto_if
call_if
switch
addvar
subvar
multvar
divvar
goto_if_set
goto_if_unset
call_if_unset
call_if_set
compare
setvar
checkflag


</Keywords> | |
<Keywords name="Keywords3">.string
.byte
nop
.2byte
waitbuttonpress
dodailyevents</Keywords> | |
<Keywords name="Keywords4">msgbox
MSGBOX_DEFAULT
MSGBOX_NPC
MSGBOX_YESNO
MSGBOX_SIGN
MSGBOX_AUTOCLOSE
multichoice
multichoicedefault
multichoicegrid
message</Keywords> | |
<Keywords name="Keywords5">setflag
clearflag
setmonmove
cleartrainerflag
settrainerflag
hidebox2
buffer
pokemart
checkplayergender
warp
trainerbattle</Keywords> | |
<Keywords name="Keywords6">0x
FLAG_
VAR_
NULL
MAP_
SE_ 
case
MUS_
weather_
move_
item_
random
Male
Female
species_
nature_
trainer_
event_obj_gfx_
event_obj_id_
HEAD_</Keywords> | |
<Keywords name="Keywords7">addobject
applymovement
waitmovement
removeobject
walk_
step_
emote_
hideobjectat
hideobject
setmetatile
braillemessage
setmap
setobjectmovement
turnobject
disable_jump
jump_
slide_
setobject
getplayerxy
delay_
opendoor
waitdooranim
closedoor
lock_facing
unlock_facing
init_affine_anim
clear_affine_anim
moveobjectoffscreen
levitate
destroy_extra_task
face_
Common_Movement_</Keywords> | |
<Keywords name="Keywords8"></Keywords> | |
<Keywords name="Delimiters">00" 01 02" 03\ 04 05((l p n)) 06{ 07 08} 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords> | |
</KeywordLists> | |
<Styles> | |
<WordsStyle name="DEFAULT" fgColor="959595" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="11" nesting="0" /> | |
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="槈܉樀܉橰܉I슉" fontStyle="0" nesting="0" /> | |
<WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="000000" fontName="Verdana" fontStyle="2" fontSize="10" nesting="0" /> | |
<WordsStyle name="NUMBERS" fgColor="FF9240" bgColor="000000" fontName="嬀܉婘܉峀܉I슕" fontStyle="1" fontSize="12" nesting="0" /> | |
<WordsStyle name="KEYWORDS1" fgColor="0080FF" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="11" nesting="0" /> | |
<WordsStyle name="KEYWORDS2" fgColor="00FFFF" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="11" nesting="0" /> | |
<WordsStyle name="KEYWORDS3" fgColor="0080C0" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="11" nesting="0" /> | |
<WordsStyle name="KEYWORDS4" fgColor="008000" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="10" nesting="0" /> | |
<WordsStyle name="KEYWORDS5" fgColor="03BEFC" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="12" nesting="0" /> | |
<WordsStyle name="KEYWORDS6" fgColor="FF8040" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="10" nesting="0" /> | |
<WordsStyle name="KEYWORDS7" fgColor="7D0000" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="10" nesting="0" /> | |
<WordsStyle name="KEYWORDS8" fgColor="008080" bgColor="000000" fontName="Verdana" fontStyle="1" fontSize="9" nesting="0" /> | |
<WordsStyle name="OPERATORS" fgColor="B00004" bgColor="000000" fontName="Verdana" fontStyle="1" fontSize="10" nesting="0" /> | |
<WordsStyle name="FOLDER IN CODE1" fgColor="008080" bgColor="000000" fontName="簀Ρ寠܉簀ΡI슚" fontStyle="0" nesting="0" /> | |
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="簀Ρ奸܉簀ΡI슜" fontStyle="0" nesting="0" /> | |
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="嬸܉宨܉孰܉I슙" fontStyle="0" nesting="0" /> | |
<WordsStyle name="DELIMITERS1" fgColor="008000" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="10" nesting="16777222" /> | |
<WordsStyle name="DELIMITERS2" fgColor="008080" bgColor="000000" fontName="Verdana" fontStyle="1" fontSize="9" nesting="0" /> | |
<WordsStyle name="DELIMITERS3" fgColor="9EBB3E" bgColor="000000" fontName="Verdana" fontStyle="0" fontSize="8" nesting="0" /> | |
<WordsStyle name="DELIMITERS4" fgColor="008080" bgColor="000000" fontName="Verdana" fontStyle="1" fontSize="9" nesting="0" /> | |
<WordsStyle name="DELIMITERS5" fgColor="008080" bgColor="000000" fontName="Verdana" fontStyle="1" fontSize="9" nesting="0" /> | |
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="簀Ρ痘۶簀Ρpˆ" fontStyle="0" nesting="0" /> | |
<WordsStyle name="DELIMITERS7" fgColor="008080" bgColor="000000" fontName="Verdana" fontStyle="1" fontSize="9" nesting="0" /> | |
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="꺴操" fontStyle="0" nesting="0" /> | |
</Styles> | |
</UserLang> | |
</NotepadPlus> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more information about this, check this thread on PokeCommunity (archived version).
The gist of it (heh) is that it's a preset for Syntax Highlighting that makes the scripts of the Pokémon Decompilation Projects like Pokeruby or Pokeemerald easier to diggest visually, with colors being used to identify certain macros or parameters.
I created this gist as a backup, in case anything ever happens to the original download. All the credits belong to Ryuhouji.