Modding Docs
  • 👋Welcome
  • 💡Getting Started
    • 🎩Persona 5 Royal (PC) Mod Support
      • 🚧Manually Installing PC Mods
    • 🎩Persona 5 Royal (Switch) Mod Support
      • 🎩P5R Mods on Switch Console (CFW)
      • 🎩P5R Switch Mods on PC Emulator (Yuzu/RyujiNX)
      • 🚧Manually Installing Switch Mods
    • 🎩Persona 5 Royal (PS4) Mod Support
    • 🎩Persona 5 (PS3) Mod Support
    • 📺Persona 4 Golden (PC) Mod Support
    • 📺Persona 4 Golden (PSVita) Mod Support
    • 📺Persona 4 (PS2) Mod Support
    • 🌘Persona 3 Portable (PSP) Mod Support
    • 🌘Persona 3 FES (PS2) Mod Support
  • 📄Scripting
    • Intro to Scripting
      • Resources
    • AtlusScriptCompiler
      • Run via Commandline
        • Decompile
        • Compile
        • Batch Dump .FLOW/.MSG
      • Run via GUI
    • Flowscript
      • Procedures
      • Variables
      • Scope
      • Arrays
      • Enums
      • Loops
      • Conditionals
      • Functions
      • Importing Files
      • Menus
    • Messagescript
      • Markup
      • Message Variables
    • Library Functions
      • Persona 5
      • Persona 5 EX
      • Persona 5 Royal
      • Persona 4
      • Persona 4 Golden
      • Persona 3
      • Persona 3 FES
      • Persona 3 Portable
      • SMT III: Nocturne
      • Digital Devil Saga
Powered by GitBook
On this page
  • Commands
  • Colors

Was this helpful?

  1. Scripting
  2. Messagescript

Markup

How to style the text in messages.

You can change the appearance of text in a .MSG by inserting the following commands in brackets into your message.

Commands

  • [clr x] Text color. Affects all text after the tag until the end of the line ([e]).

    • x is a number between 0 and 30.

  • [n] Linebreak. Put this between some text to make it show up on a new line ingame.

  • [w] Wait. Makes the game await user input before moving on to the next line.

  • [vp w x y z 0 0] Voice Pack. Makes the game play a voice clip.

    • w = eventIdMajor

    • x = eventIdMinor

    • y = eventIdSub

    • z = cueId

  • [bup 0 x y z 0] Bustup. Shows a character's talking sprite during dialog.

    • x = characterId

    • y = expressionId

    • z = customeId

    • Lip flap will animate if this command is followed by [f 4 10 -1 0 0].

Colors

Index

Color

Hex Value

0

White

#FFFFFF

1

Light Blue

#72C5FF

2

Light Red

#FF423F

3

Light Yellow

#FFFF76

4

Light Green

#69FF65

5

Dark Brown

#50321E

6

Dark Orange

#DC6E00

7

White

#FFFFFF

8

Dark Brown

#50321E

9

Red

#FF1800

10

Dark Red

#BA0000

11

Blue

#1200FFF

12

Dark Blue

#1F00BA

13

Green

#0AC000

14

Dark Green

#078600

15

Purple

#9D00EF

16

Dark Purple

#78008E

17

Dark Yellow

#BF9D02

18

Pink

#FF0391

19

Dark Pink

#FF00FC

20

Darker Pink

#DB0054

21

Light Teal

#00AEFF

22

Dark Brown

#90401A

23

Light Black

#161616

24

Dark Gray

#404040

25

Gray

#656565

26

Dark Yellow

#E6B625

27

White

#FFFFFFF

28

Dark Teal

#99BBD3

29

Really Light Brown

#E4D4C7

PreviousMessagescriptNextMessage Variables

Last updated 3 years ago

Was this helpful?

📄