Kyledove's Cheat Sheet
Over the years, I’ve compiled a handy collection of code snippets to speed up my workflow. Feel free to use them too! This page is meant for quick reference - if you're looking for detailed explanations, please refer to the more detailed How-To Guides. A basic understanding of jCoad is assumed.
NPC
Trainer Battle NPC
NPC with a Question
Move Tutor NPC
%random%.msg()&answers=Yes,No
Yes=%random%.answer(All right, pick which Pokemon I should teach it to.)&movelearner=moves:07a4uh4j
No=%random%.answer(Well, that's fine, too.)
NPC Path - alternates between two directions
NPC Path - spinning
Trigger to make npc return to original direction after speech
Pokemon NPC - register as seen and plays cry sfx
Permanent Icon Above NPC
Signpost that creates textbox without having to press action button, simply by walking into it
I highly recommend keeping a separate file to track the NPCs in your region. It’ll save you a lot of time compared to constantly searching the site. Here’s an example list from one of my projects:
Johto
-
01ih0r1lyoungster -
01ll2v4ischoolboy -
01cgzbbjbug catcher -
01zdunzmlass -
01bj2c1xace trainer man -
01q8oh6aace woman -
01hl0yttaroma lady -
0137s72eblonde pigtail battle girl -
01hrk1doblonde squinty rocker guy -
017505nkcamper boy -
011szhnfcamper girl