Operation Check Text en - yktsr/Text2Frame-MV GitHub Wiki
ๆฅๆฌ่ช | English
Here is a text that can check all the features including tag specifications and comment-outs.
You can save it from here or copy and paste to use.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Basic text
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<comment>
* ----------------------------------------------------
* Basic text
* ----------------------------------------------------
</comment>
ใใใฆ๏ผใฉใผใฎ็ฟผ็ฅ็ซใฎ็นๆฎ่ฝๅใงใ
ใฎใซใใฉใผใใปใถใปใฉใคใใใณใฐใ็ผใๆใใใใใ
้ใฎใฒใผใ ใงใขใณในใฟใผใจ็นใใฃใฆใๅไนๅ
ใฎ็ฒพ็ฅใพใง็ใๅฐฝใใกใใ๏ผ
ใ้กใใๆญปใชใชใใงๅไนๅ
๏ผใใใใไปใใใงๅใใใใ
่ใใใ้ๆฏใจใฎ็ดๆใฏใฉใใชใฃใกใใใฎ๏ผ
ใฉใคใใฏใพใ ๆฎใฃใฆใใ
ใใใ่ใใใฐใใใชใฏใซๅใฆใใใ ใใ๏ผ
ๆฌกๅใใๅไนๅ
ๆญปใใใใใฅใจใซในใฟใณใใค๏ผ
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Face, background, window position settings
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<comment>
* ----------------------------------------------------
* Face, background, window position, and name settings
* ----------------------------------------------------
</comment>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ
<Face: Actor1(0)>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผ้ก๏ผ
<WindowPosition: Top>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผไธ๏ผ
<WindowPosition: Middle>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผไธญ๏ผ
<WindowPosition: Bottom>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผไธ๏ผ
<Background: window>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผใฆใคใณใใฆ๏ผ
<Background: Dim>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผๆใ๏ผ
<Background: Transparent>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผ้ๆ๏ผ
<Name: ๆถผ้ขจ้่>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ๅๅๆๅฎ)
<Face: Actor1(0)><WindowPosition: Top><Background: Dim>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผAC1ใไธใๆใ๏ผ
<Face: Actor1(1)><WindowPosition: Top><Background: Dim>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธ,ๆใ)
<Face: Actor1(1)>
<WindowPosition: Middle>
<Background: Dim>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธญใๆใ)
<Face: Actor1(1)><WindowPosition: Bottom><Background: Dim>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธใๆใ)
<Face: Actor1(1)><WindowPosition: ไธญ><Background: ๆใใใ>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธญใๆใ)
<Face: Actor1(1)><WindowPosition: ไธญ><Background: ๆใ>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธญใๆใ)
<้ก: Actor1(1)><ไฝ็ฝฎ: ไธญ><่ๆฏ: ๆใ>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธญใๆใ)
<FC: Actor1(1)><WP: Bottom><BG: Dim>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธ)
<FC: Actor1(1)><WP: Bottom><BG: Dim><Name: ๆถผ้ขจ้่>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ(ไธใๆใใๅๅ)
% ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผใณใกใณใใขใฆใ๏ผ
% ไปๆฅใไธๆฅใใใฐใใใ๏ผ๏ผใณใกใณใใขใฆใ๏ผ
<Face: Actor1(0)><WindowPosition: Top><Background: Dim>
<Name: \N[1]>
ใใๅฐใๅฝนใซ็ซใฆใใใฃใฆใ
ๆไบบไปฅๅคใฎใญใฃใฉใใใใใไฝใใใฆใใใ ใใใใจๆใใพใ
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Additional features (Incorporating other event commands)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
<comment>
* ----------------------------------------------------
* Additional features (Incorporating other event commands)
* ----------------------------------------------------
</comment>
%-------------------------------------------------
% (1) Show Choices
%-------------------------------------------------
% Display 2 choices with the following settings:
% - Background: Window
% - Window Position: Right
% - Default: Choice #1
% - Cancel: Choice #2
้ท่ใซไผใฃใฆๆจๆถใฏๆธใพใใฆใใใใ๏ผ
<ShowChoices: Window, Right, 1, 2>
<When: ใฏใ>
ใใใใใใใชใใใใฃใใ
ๆฉ้้ท่ใฎไพ้ ผใฎใจใใใๅใซๅใใฃใฆใใใชใใใใ
<When: ใใใ>
ใใใฏใใใชใใ
้ท่ใฏๅใฎใใใช่ฅ่
ใๆขใใฆใใใใ ใ
ๆจๆถใซ่กใฃใฆ่ฉฑใ่ใใฆใใใชใใใใ
<End>
% Example 2: Display 3 choices with the following settings:
% - Background: Transparent
% - Window Position: Middle
% - Default: Choice #1
% - Cancel: Branch
ไปใซใ่ฉฑใใใใใจใใใใใ ใ
ไฝใ่ใใใ๏ผ
<ShowChoices: Transparent, Middle, 1, Branch>
<When: ๅ่
ใใผใผใณใฎไผ่ชฌ>
ๅ่
ใใผใผใณใฏใใ๏ผ็็ฅ
<When: ้ญ็ใซๆใๅ้บ่
ใฎ็พ็ถ>
้ญ็ใซๆใๅ้บ่
ใฏใใ๏ผ็็ฅ
<When: ้ญ็ใซใคใใฆๅคๆใใฆใใ็น>
้ญ็ใซใคใใฆๅคๆใใฆใใ็นใฏใใ๏ผ็็ฅ
<WhenCancel>
ใปใปใปใใๅใฎ่ฉฑใ้ทใใใ๏ผใใใใใใใ
<End>
%-------------------------------------------------
% (2) Input Number
%-------------------------------------------------
% Input a 2-digit number into variable 1
<InputNumber: 1, 2>
%-------------------------------------------------
% (3) Select Item
%-------------------------------------------------
% Display a list of regular items and assign the selected item's ID to variable 1
<SelectItem: 1, Regular Item>
% Display a list of hidden items A and assign the selected item's ID to variable 20
<SelectItem: 20, Hidden Item A>
%-------------------------------------------------
% (4) Show Scrolling Text
%-------------------------------------------------
% Scroll text at speed "2" with no fast forward flag "OFF"
<ShowScrollingText>
ไธ็ใฏ้ญ็ใซใใฃใฆๆป
ใผใใใใ
ใใใใๅ่
ใฏ็ซใกไธใใฃใใ
</ShowScrollingText>
% Omit only the no fast forward flag (allow fast forward) and scroll text at speed "5"
<ShowScrollingText: 5>
ไธ็ใฏ้ญ็ใซใใฃใฆๆป
ใผใใใใ
ใใใใๅ่
ใฏ็ซใกไธใใฃใใ
</ShowScrollingText>
%-------------------------------------------------
% (5) Control Switches
%-------------------------------------------------
% Turn switch number 1 ON
<Switch: 1, ON>
% Turn all switches numbered 1-10 OFF
<Switch: 1-10, OFF>
%-------------------------------------------------
% (6) Control Variables
%-------------------------------------------------
% Assign constant 2 to variable 1
<Set: 1, 2>
% Add the value of variable 2 to all variables from 1 to 10
<Add: 1-10, variables[2]>
% Subtract a random number from 50 to 100 from variable 1
<Sub: 1, random[50][100]>
% Multiply all variables from 1 to 10 by the level of actor 2 from game data
<Mul: 1-10, GameData[actor][2][level]>
% Divide variable 1 by the party member count from game data
<Div: 1, GameData[PartyMembers]>
% Assign the modulus of variable 1 with the script "$gameVariables.value(1)" value
<Mod: 1, Script[$gameVariables.value(1)]>
%-------------------------------------------------
% (7) Control Self Switch
%-------------------------------------------------
% Turn self switch A ON
<SelfSwitch: A, ON>
% Turn self switch B OFF
<SelfSwitch: B, OFF>
%-------------------------------------------------
% (8) Control Timer
%-------------------------------------------------
% Start a timer for 1 minute and 10 seconds
<Timer: Start, 1, 10>
% Stop the timer
<Timer: Stop>
%-------------------------------------------------
% (9) Conditional Branch
%-------------------------------------------------
% In all examples, when the condition is met,
% display the message "I've loved you too for a long time."
% When the condition is not met,
% display the message "I'm sorry. Let's just be friends."
% When switch 1 is ON
<If: Switch[1], ON>
็งใใใฃใจๅใใๅฅฝใใงใใใ
<Else>
ใใใใชใใใใๅ้ใงใใพใใใใ
<End>
% When variable 1 equals constant 2
<If: Variables[1], ==, 2>
็งใใใฃใจๅใใๅฅฝใใงใใ
<Else>
ใใใใชใใใใๅ้ใงใใพใใใใ
<End>
% When actor ID 1 is in the party
<If: Actors[1], in the party>
็งใใใฃใจๅใใๅฅฝใใงใใใ
<Else>
ใใใใชใใใใๅ้ใงใใพใใใใ
<End>
%-------------------------------------------------
% (10) Loop
%-------------------------------------------------
% The message "ไปๆฅใไธๆฅใใใฐใใใ๏ผ" loops infinitely
<Loop>
ไปๆฅใไธๆฅใใใฐใใใ๏ผ
<RepeatAbove>
%-------------------------------------------------
% (11) Break Loop
%-------------------------------------------------
<BreakLoop>
%-------------------------------------------------
% (12) Exit Event Processing
%-------------------------------------------------
<ExitEventProcessing>
%-------------------------------------------------
% (13) Common Event
%-------------------------------------------------
% Incorporate common event ID 2
<CommonEvent: 2>
%-------------------------------------------------
% (14) Label
%-------------------------------------------------
% A label named Start
<Label: Start>
%-------------------------------------------------
% (15) Jump to Label
%-------------------------------------------------
% Jump to the label named Start
<JumpToLabel: Start>
%-------------------------------------------------
% (16) Comment
%-------------------------------------------------
<comment>
ใใฎ่พบใใใใๆใใฎBGMใๅ็ใใใ
้ธๆฒใใชใใจใปใปใปใ
</comment>
%-------------------------------------------------
% (17) Change Gold
%-------------------------------------------------
% Example 1: Increase gold by 1
<ChangeGold: Increase, 1>
% Example 2: Decrease gold by the value of variable 5
<ChangeGold: Decrease, Variables[5]>
%-------------------------------------------------
% (18) Change Items
%-------------------------------------------------
% Example 1: Increase item ID 3 by 4
<ChangeItems: 3, Increase, 4>
% Example 2: Decrease item ID 3 by the value of variable 2
<ChangeItems: 3, Decrease, Variables[2]>
%-------------------------------------------------
% (19) Change Weapons
%-------------------------------------------------
% Example 1: Increase weapon ID 1 by 2
<ChangeWeapons: 1, Increase, 2>
% Example 2: Decrease weapon ID 2 by 3. Include equipment
<ChangeWeapons: 2, Decrease, 3, Include Equipment>
% Example 3: Decrease weapon ID 3 by the value of variable 4. Do not include equipment
<ChangeWeapons: 3, Decrease, Variables[4]>
%-------------------------------------------------
% (20) Change Armors
%-------------------------------------------------
% Example 1: Increase armor ID 1 by 2
<ChangeArmors: 1, Increase, 2>
% Example 2: Decrease armor ID 2 by 3. Include equipment
<ChangeArmors: 2, Decrease, 3, Include Equipment>
% Example 3: Decrease armor ID 3 by the value of variable 4. Do not include equipment
<ChangeArmors: 3, Decrease, Variables[4]>
%-------------------------------------------------
% (21) Change Party Member
%-------------------------------------------------
% Example 1: Add actor ID 6. Initialize
<ChangePartyMember: 6, Add, Initialize>
% Example 2: Remove actor ID 2
<ChangePartyMember: 2, Remove>
%-------------------------------------------------
% (22) Change HP
%-------------------------------------------------
% Example 1: Increase actor ID 4's HP by 2
<ChangeHp: 4, Increase, 2>
% Example 2: Decrease the HP of the actor whose ID is the value of variable 5 by the value of variable 2. Allow knockout
<ChangeHp: Variables[5], Decrease, Variables[2], Allow Knockout>
%-------------------------------------------------
% (23) Change MP
%-------------------------------------------------
% Example 1: Increase actor ID 4's MP by 2
<ChangeMp: 4, Increase, 2>
% Example 2: Decrease the MP of the actor whose ID is the value of variable 5 by the value of variable 2
<ChangeMp: Variables[5], Decrease, Variables[2]>
%-------------------------------------------------
% (24) Change TP
%-------------------------------------------------
% Example 1: Increase actor ID 4's TP by 2
<ChangeTp: 4, Increase, 2>
% Example 2: Decrease the TP of the actor whose ID is the value of variable 5 by the value of variable 2
<ChangeTp: Variables[5], Decrease, Variables[2]>
%-------------------------------------------------
% (25) Change State
%-------------------------------------------------
% Example 1: Add state ID 4 to actor ID 1
<ChangeState: 1, Add, 4>
% Example 2: Remove state ID 2 from the actor whose ID is the value of variable 3
<ChangeState: Variables[3], remove, 2>
%-------------------------------------------------
% (26) Recover All
%-------------------------------------------------
% Example 1: Fully recover actor ID 1
<RecoverAll: 1>
% Example 2: Fully recover the entire party
<RecoverAll: Entire Party>
%-------------------------------------------------
% (27) Change EXP
%-------------------------------------------------
% Example 1: Increase actor ID 3's experience by 1. Show level up
<ChangeExp: 3, Increase, 1, Show Level Up>
% Example 2: Decrease the experience of the actor whose ID is the value of variable 1 by the value of variable 3
<ChangeExp: Variables[1], Decrease, Variables[3]>
%-------------------------------------------------
% (28) Change Level
%-------------------------------------------------
% Example 1: Increase actor ID 3's level by 1. Show level up
<ChangeLevel: 3, Increase, 1, Show Level Up>
% Example 2: Decrease the level of the actor whose ID is the value of variable 1 by the value of variable 3
<ChangeLevel: Variables[1], Decrease, Variables[3]>
%-------------------------------------------------
% (29) Change Parameter
%-------------------------------------------------
% Example 1: Increase actor ID 5's MaxHP by 10
<ChangeParameter: 5, MaxHp, Increase, 10>
% Example 2: Decrease the M.Attack of the actor whose ID is the value of variable 2 by the value of variable 4
<ChangeParameter: Variables[2], M.Attack, Decrease, Variables[4]>
%-------------------------------------------------
% (30) Change Skill
%-------------------------------------------------
% Example 1: Actor ID 1 learns skill ID 2
<ChangeSkill: 1, Learn, 2>
% Example 2: The actor whose ID is the value of variable 4 forgets skill ID 1
<ChangeSkill: Variables[4], Forget, 1>
%-------------------------------------------------
% (31) Change Equipment
%-------------------------------------------------
% Example: Equip actor ID 1 with equipment ID 6 of equipment type ID 2
<ChangeEquipment: 1, 2, 6>
%-------------------------------------------------
% (32) Change Name
%-------------------------------------------------
% Example: Change actor ID 1's name to "ใใญใซใ"
<ChangeName: 1, ใใญใซใ>
%-------------------------------------------------
% (33) Change Class
%-------------------------------------------------
% Example 1: Change actor ID 3's class to class ID 2. Do not save level/EXP
<ChangeClass: 3, 2>
% Example 2: Change actor ID 3's class to class ID 2. Save level/EXP
<ChangeClass: 3, 2, Save EXP>
%-------------------------------------------------
% (34) Change Nickname
%-------------------------------------------------
% Example: Change actor ID 3's nickname to "ไธไบบ็ฎใฎใขใฏใฟใผ"
<ChangeNickname: 3, ไธไบบ็ฎใฎใขใฏใฟใผ>
%-------------------------------------------------
% (35) Change Profile
%-------------------------------------------------
% Example: Change actor ID 3's profile
% Profile line 1: ใขใฏใฟใผ3
% Profile line 2: ๅๆใญใฃใฉใฏใฟใผ
<ChangeProfile: 3, ใขใฏใฟใผ3, ๅๆใญใฃใฉใฏใฟใผ>
%-------------------------------------------------
% (36) Transfer Player
%-------------------------------------------------
% Example 1: Move to map ID 1, X coordinate 10, Y coordinate 20. Direction: Retain Fade: Black
<TransferPlayer: Direct[1][10][20], Retain, Black>
% Example 2: Move to map ID in variable 1, X coordinate in variable 2, Y coordinate in variable 3. Direction: Down Fade: White
<TransferPlayer: WithVariables[1][2][3], Down, White>
%-------------------------------------------------
% (37) Set Vehicle Location
%-------------------------------------------------
% Example 1: Place the boat at map ID 1, X coordinate 10, Y coordinate 20
<SetVehicleLocation: Boat, Direct[1][10][20]>
% Example 2: Place the ship at map ID in variable 1, X coordinate in variable 2, Y coordinate in variable 3
<SetVehicleLocation: Ship, WithVariables[1][2][3]>
%-------------------------------------------------
% (38) Set Event Location
%-------------------------------------------------
% Example 1: Set this event to X coordinate 10, Y coordinate 20. Direction: Retain
<SetEventLocation: This Event, Direct[10][20], Retain>
% Example 2: Set event ID 12 to X coordinate in variable 2, Y coordinate in variable 3. Direction: Up
<SetEventLocation: 12, WithVariables[2][3], Up>
% Example 3: Exchange event ID 12 with this event. Direction: Up
<SetEventLocation: 12, Exchange[This Event], Up>
%-------------------------------------------------
% (39) Scroll Map
%-------------------------------------------------
% Example 1: Scroll map down, distance 100, normal speed. Do not wait for completion
<ScrollMap: down, 100, normal>
% Example 2: Scroll map right, distance 50, x2 slower. Wait for completion
<ScrollMap: right, 50, x2 slower, Wait for Completion>
%-------------------------------------------------
% (40) Set Movement Route
%-------------------------------------------------
% Example: Set movement route. Target is player, don't repeat, don't skip
% Wait for completion
% 1. Jump to x10,y20
% 2. Wait 60 frames
% 3. Turn switch ID 1 ON
% 4. Change speed to "normal"
% 5. Change image to third ID of Actor1.png
% 6. Change opacity to 255
% 7. Change blend mode to normal
% 8. Change SE to "Attack1.ogg" volume 90, pitch 100%, pan 0
% 9. Set script to console.log("ไปๆฅใไธๆฅใใใฐใใใ๏ผ")
<SetMovementRoute: player, false, false, true>
<Jump: 10, 20>
<McWait: 60>
<SwitchOn: 1>
<ChangeSpeed: normal>
<ChangeImage: Actor1, 2>
<ChangeOpacity: 255>
<ChangeBlendMode: normal>
<McPlaySe: Attack1, 90, 100, 0>
<McScript: console.log("ไปๆฅใไธๆฅใใใฐใใใ๏ผ");>
%-------------------------------------------------
% (41) Get On/Off Vehicle
%-------------------------------------------------
<GetOnOffVehicle>
%-------------------------------------------------
% (42) Change Transparency
%-------------------------------------------------
% Example: Turn transparency ON
<ChangeTransparency: ON>
%-------------------------------------------------
% (43) Change Player Followers
%-------------------------------------------------
% Example: Turn player followers ON
<ChangePlayerFollowers: ON>
%-------------------------------------------------
% (44) Gather Followers
%-------------------------------------------------
<GatherFollowers>
%-------------------------------------------------
% (45) Show Animation
%-------------------------------------------------
% Example 1: Display animation ID 2 on player. Wait for completion
<ShowAnimation: player, 2, Wait for Completion>
% Example 2: Display animation ID 4 on event ID 3. Do not wait for completion
<ShowAnimation: 3, 4>
%-------------------------------------------------
% (46) Show Balloon Icon
%-------------------------------------------------
% Example 1: Display exclamation icon on player. Do not wait for completion
<ShowBalloonIcon: Player, Exclamation, false>
% Example 2: Display heart icon on event ID 2. Wait for completion
<ShowBalloonIcon: 22, Heart, Wait for Completion>
%-------------------------------------------------
% (47) Erase Event
%-------------------------------------------------
<EraseEvent>
%-------------------------------------------------
% (48) Show Picture
%-------------------------------------------------
% Example 1: Display picture with the following default settings:
% - Picture number: 1
% - Image filename: Castle.png
% - Position: Origin is upper left, X coordinate 0, Y coordinate 0 (default)
% - Scale: Width 100%, Height 100% (default)
% - Blend: Opacity 255, blend mode normal (default)
<ShowPicture: 1, Castle>
% Example 2: Display picture with the following settings (only scale specified):
% - Picture number: 2
% - Image filename: Castle.png
% - Position: Origin is upper left, X coordinate 0, Y coordinate 0 (default)
% - Scale: Width 50%, Height 55%
% - Blend: Opacity 255, blend mode normal (default)
<ShowPicture: 2, Castle, Scale[50][55]>
% Example 3: Display picture with the following settings:
% - Picture number: 3
% - Image filename: Castle.png
% - Position: Origin is center, X coordinate is variable 2, Y coordinate is variable 3
% - Scale: Width 90%, Height 95%
% - Blend: Opacity 235, blend mode screen
<ShowPicture: 3, Castle, Position[Center][Variables[2]][Variables[3]], Scale[90][95], Blend[235][Screen]>
%-------------------------------------------------
% (49) Move Picture
%-------------------------------------------------
% Example 1: Move picture with the following default settings:
% - Picture number: 1
% - Time: 60 frames, wait for completion (default)
% - Position: Origin is upper left, X coordinate 0, Y coordinate 0 (default)
% - Scale: Width 100%, Height 100% (default)
% - Blend: Opacity 255, blend mode normal (default)
% - Easing: Constant speed (default)
<MovePicture: 1>
% Example 2: Move picture with the following settings (only scale change):
% - Picture number: 2
% - Time: 60 frames, wait for completion (default)
% - Position: Origin is upper left, X coordinate 0, Y coordinate 0 (default)
% - Scale: Width 50%, Height 55%
% - Blend: Opacity 255, blend mode normal (default)
% - Easing: Constant speed (default)
<MovePicture: 2, Scale[50][55]>
% Example 3: Move picture with the following settings:
% - Picture number: 3
% - Time: 45 frames, wait for completion
% - Position: Origin is center, X coordinate is variable 2, Y coordinate is variable 3
% - Scale: Width 90%, Height 95%
% - Blend: Opacity 235, blend mode screen
% - Easing: Slow start
<MovePicture: 3, Duration[45][Wait for Completion], Position[Center][Variables[2]][Variables[3]], Scale[90][95], Blend[235][Screen], Easing[Slow start]>
%-------------------------------------------------
% (50) Rotate Picture
%-------------------------------------------------
% Rotate picture number 1 at speed -30
<RotatePicture: 1, -30>
%-------------------------------------------------
% (51) Tint Picture
%-------------------------------------------------
% Example 1: Change picture tint with the following default settings:
% - Picture number: 1
% - Time: 60 frames, wait for completion (default)
% - Color tone: Red 0, Green 0, Blue 0, Gray 0 (default)
<TintPicture: 1>
% Example 2: Change picture tint with the following settings:
% - Picture number: 2
% - Time: 60 frames, wait for completion (default)
% - Color tone: Red 0, Green 255, Blue 255, Gray 0
<TintPicture: 2, ColorTone[0][255][255][0]>
% Example 3: Change picture tint with the following settings:
% - Picture number: 3
% - Time: 30 frames, wait for completion
% - Color tone: Dark (Red -68, Green -68, Blue -68, Gray 0)
<TintPicture: 3, Duration[30][Wait for Completion], ColorTone[Dark]>
%-------------------------------------------------
% (52) Erase Picture
%-------------------------------------------------
% Delete picture number 1
<ErasePicture: 1>
%-------------------------------------------------
% (53) Wait
%-------------------------------------------------
% Wait for 60 frames (1 second)
<wait: 60>
%-------------------------------------------------
% (54) Fadeout Screen
%-------------------------------------------------
<fadeout>
%-------------------------------------------------
% (55) Fadein Screen
%-------------------------------------------------
<fadein>
%-------------------------------------------------
% (56) Tint Screen
%-------------------------------------------------
% Example 1: Change screen tint with the following default settings:
% - Color tone: Red 0, Green 0, Blue 0, Gray 0 (default)
% - Time: 60 frames, wait for completion (default)
<TintScreen>
% Example 2: Change screen tint with the following settings:
% - Color tone: Dark
% - Time: 30 frames, wait for completion
<TintScreen: ColorTone[Dark], Duration[30][Wait for Completion]>
% Example 3: Change screen tint with the following settings:
% - Color tone: Red 12, Green 34, Blue 56, Gray 0
% - Time: 45 frames, do not wait for completion
<TintScreen: ColorTone[12][34][56][0], Duration[45]>
%-------------------------------------------------
% (57) Flash Screen
%-------------------------------------------------
% Example: Flash screen with the following settings:
% Red: 50, Green: 100, Blue: 150,
% Intensity: 170, Time: 60 frames,
% Wait for completion
<FlashScreen: 50, 100, 150, 170, 60, Wait for Completion>
%-------------------------------------------------
% (58) Shake Screen
%-------------------------------------------------
% Example: Shake screen with power 5, speed 8 for 60 frames. Wait for completion
<ShakeScreen: 5, 8, 60, Wait for Completion>
%-------------------------------------------------
% (59) Set Weather Effect
%-------------------------------------------------
% Example: Weather is rain, power 5, change weather over 60 frames. Wait for completion
<SetWeatherEffect: Rain, 5, 60, Wait for Completion>
%-------------------------------------------------
% (60) Play BGM
%-------------------------------------------------
% Play Castle1 with default settings
<PlayBGM: Castle1>
% Play Castle2 with volume 50, pitch 80, pan 30
<PlayBGM: Castle2, 50, 80, 30>
% To set BGM to "None"
<PlayBGM: None>
%-------------------------------------------------
% (61) Fadeout BGM
%-------------------------------------------------
% BGM fades out in 3 seconds
<FadeoutBGM: 3>
%-------------------------------------------------
% (62) Save BGM
%-------------------------------------------------
<SaveBGM>
%-------------------------------------------------
% (63) Replay BGM
%-------------------------------------------------
<ReplayBGM>
%-------------------------------------------------
% (64) Play BGS
%-------------------------------------------------
% Play City with default settings
<PlayBGS: City>
% Play Darkness with volume 50, pitch 80, pan 30
<PlayBGS: Darkness, 50, 80, 30>
% To set BGS to "None"
<PlayBGS: None>
%-------------------------------------------------
% (65) Fadeout BGS
%-------------------------------------------------
% BGS fades out in 3 seconds
<FadeoutBGS: 3>
%-------------------------------------------------
% (66) Play ME
%-------------------------------------------------
% Play Inn with default settings
<PlayME: Inn>
% Play Mystery with volume 50, pitch 80, pan 30
<PlayME: Mystery, 50, 80, 30>
% To set ME to None
<PlayME: None>
%-------------------------------------------------
% (67) Play SE
%-------------------------------------------------
% Play Attack1 with default settings
<PlaySE: Attack1>
% Play Attack2 with volume 50, pitch 80, pan 30
<PlaySE: Attack2, 50, 80, 30>
% To set SE to None
<PlaySE: None>
%-------------------------------------------------
% (68) Stop SE
%-------------------------------------------------
<StopSE>
%-------------------------------------------------
% (69) Play Movie
%-------------------------------------------------
% Example: To play SampleMovie.webm
<PlayMovie: SampleMovie>
%-------------------------------------------------
% (70) Battle Processing
%-------------------------------------------------
% Example 1: Encounter enemy troop ID 1. Can't escape, can't lose
<BattleProcessing: 1>
% Example 2: Encounter enemy troop in variable ID 5. Can escape, can lose
<BattleProcessing: Variables[5]>
<IfWin>
ๅใฃใ๏ผ
<IfEscape>
้ใใ๏ผ
<IfLose>
่ฒ ใใ๏ผ
<End>
% Example 3: Encounter random enemy troop. Can lose
<BattleProcessing: Random>
<IfWin>
ๅใฃใ๏ผ
<IfLose>
่ฒ ใใ๏ผ
<End>
%-------------------------------------------------
% (71) Shop Processing
%-------------------------------------------------
% Example 1: Set item ID 1 to standard price. Not purchase only
<ShopProcessing>
<Merchandise: Item, 1, standard>
% Example 2: Set multiple items. Purchase only
% Weapon ID 4 price 500
% Armor ID 6 price 1200
<ShopProcessing: Purchase Only>
<Merchandise: weapon, 4, 500>
<Merchandise: armor, 6, 1200>
%-------------------------------------------------
% (72) Name Input Processing
%-------------------------------------------------
% Example: Input name for actor ID 1 with max 8 characters
<NameInputProcessing: 1, 8>
%-------------------------------------------------
% (73) Open Menu Screen
%-------------------------------------------------
<OpenMenuScreen>
%-------------------------------------------------
% (74) Open Save Screen
%-------------------------------------------------
<OpenSaveScreen>
%-------------------------------------------------
% (75) Game Over
%-------------------------------------------------
<GameOver>
%-------------------------------------------------
% (76) Return to Title Screen
%-------------------------------------------------
<ReturnToTitleScreen>
%-------------------------------------------------
% (77) Change Battle BGM
%-------------------------------------------------
% Play Battle1 with default settings
<ChangeBattleBGM: Battle1>
% Play Battle2 with volume 50, pitch 80, pan 30
<ChangeBattleBGM: Battle2, 50, 80, 30>
%-------------------------------------------------
% (78) Change Victory ME
%-------------------------------------------------
% Example: Change victory ME to filename "Victory1.ogg", volume 90, pitch 100, pan 0
<ChangeVictoryMe: Victory1, 90, 100, 0>
%-------------------------------------------------
% (79) Change Defeat ME
%-------------------------------------------------
% Example: Change defeat ME to filename "Defeat1.ogg", volume 90, pitch 100, pan 0
<ChangeDefeatMe: Defeat1, 90, 100, 0>
%-------------------------------------------------
% (80) Change Vehicle BGM
%-------------------------------------------------
% Example: Change boat BGM to filename "Ship1.ogg", volume 90, pitch 100, pan 0
<ChangeVehicleBgm: boat, Ship1, 90, 100, 0>
%-------------------------------------------------
% (81) Change Save Access
%-------------------------------------------------
% Example: Change to disable saving
<ChangeSaveAccess: Disable>
%-------------------------------------------------
% (82) Change Menu Access
%-------------------------------------------------
% Example: Change to disable menu
<ChangeMenuAccess: Disable>
%-------------------------------------------------
% (83) Change Encounter
%-------------------------------------------------
% Example: Change to disable encounters
<ChangeEncounter: Disable>
%-------------------------------------------------
% (84) Change Formation Access
%-------------------------------------------------
% Example: Change to disable formation
<ChangeFormationAccess: Disable>
%-------------------------------------------------
% (85) Change Window Color
%-------------------------------------------------
% Example: Change window color to red -255, green 100, blue 150
<ChangeWindowColor: -255, 100, 150>
%-------------------------------------------------
% (86) Change Actor Images
%-------------------------------------------------
% Example: Change actor ID 1's images to:
% - 2nd face in "Actor1.png"
% - 4th character in "Actor2.png"
% - Battler in "Actor1_1.png"
<ChangeActorImages: 1, Actor1, 2, Actor2, 4, Actor1_1>
%-------------------------------------------------
% (87) Change Vehicle Image
%-------------------------------------------------
% Example: Change boat image to 5th position in "Vehicle.png"
<ChangeVehicleImage: boat, Vehicle, 5>
%-------------------------------------------------
% (88) Change Map Name Display
%-------------------------------------------------
% Example: Turn map name display ON
<ChangeMapNameDisplay: ON>
%-------------------------------------------------
% (89) Change Tileset
%-------------------------------------------------
% Example: Change to tileset ID 1
<ChangeTileset: 1>
%-------------------------------------------------
% (90) Change Battle Back Ground
%-------------------------------------------------
% Example: Change battle background to "Desert.png" for battleback1 (lower half), "Cliff.png" for battleback2 (upper half)
<ChangeBattleBackGround: Desert, Cliff>
%-------------------------------------------------
% (91) Change Parallax
%-------------------------------------------------
% Example 1: Change parallax background to "BlueSky.png". Do not loop
<ChangeParallax: BlueSky>
% Example 2: Change parallax background to "BlueSky.png".
% Scroll horizontally at speed 10, vertically at speed -25
<ChangeParallax: BlueSky, LoopHorizontally[10], LoopVertically[-25]>
%-------------------------------------------------
% (92) Get Location Info
%-------------------------------------------------
% Example 1: Store terrain tag value at X coordinate 10, Y coordinate 20 of current map in variable 1
<GetLocationInfo: 1, Terrain Tag, Direct[10][20]>
% Example 2: Store layer 1 tile ID at X coordinate specified by variable 4, Y coordinate 5 of current map in variable 2
<GetLocationInfo: 2, Layer 1, WithVariables[4][5]>
% Example 3: Store region ID value of this event in variable 3
<GetLocationInfo: 3, Region ID, Character[This Event]>
%-------------------------------------------------
% (93) Change Enemy HP
%-------------------------------------------------
% Example 1: Increase enemy #1's HP by 10
<ChangeEnemyHp: 1, Increase, 10>
% Example 2: Decrease entire troop's HP by the value of variable 20. Allow knockout
<ChangeEnemyHp: Entire Troop, Decrease, Variables[20], Allow Knockout>
%-------------------------------------------------
% (94) Change Enemy MP
%-------------------------------------------------
% Example 1: Increase enemy #1's MP by 10
<ChangeEnemyMp: 1, Increase, 10>
% Example 2: Decrease entire troop's MP by 20
<ChangeEnemyMp: Entire Troop, Decrease, Variables[20]>
%-------------------------------------------------
% (95) Change Enemy TP
%-------------------------------------------------
% Example 1: Increase enemy #1's TP by 10
<ChangeEnemyTp: 1, Increase, 10>
% Example 2: Decrease entire troop's TP by 20
<ChangeEnemyTp: Entire Troop, Decrease, Variables[20]>
%-------------------------------------------------
% (96) Change Enemy State
%-------------------------------------------------
% Example 1: Add state ID 4 to enemy #1
<ChangeEnemyState: 1, Add, 4>
% Example 2: Remove state ID 4 from entire troop
<ChangeEnemyState: Entire Troop, Remove, 6>
%-------------------------------------------------
% (97) Enemy Recover All
%-------------------------------------------------
% Example 1: Fully recover enemy #1
<EnemyRecoverAll: 1>
% Example 2: Fully recover all enemies
<EnemyRecoverAll: Entire Troop>
%-------------------------------------------------
% (98) Enemy Appear
%-------------------------------------------------
% Example: Make enemy #1 appear
<EnemyAppear: 1>
%-------------------------------------------------
% (99) Enemy Transform
%-------------------------------------------------
% Example: Transform enemy #1 into enemy ID 2
<EnemyTransform: 1, 2>
%-------------------------------------------------
% (100) Show Battle Animation
%-------------------------------------------------
% Example 1: Display animation ID 2 on enemy #1
<ShowBattleAnimation: 1, 2>
% Example 2: Display animation ID 2 on entire troop
<ShowBattleAnimation: Entire Troop, 2>
%-------------------------------------------------
% (101) Force Action
%-------------------------------------------------
% Example 1: Force enemy #1 to use skill ID 2 on index 3
<ForceAction: 1, 2, Index 3>
% Example 2: Force actor ID 4 to use skill ID 7 on last target
<ForceAction: Actors[4], 7, Last Target>
% Example 3: Force actor ID 10 to use skill ID 20 on random target
<ForceAction: Actors[10], 20, Random>
%-------------------------------------------------
% (102) Abort Battle
%-------------------------------------------------
<AbortBattle>
%-------------------------------------------------
% (103) Script
%-------------------------------------------------
<script>
for(let i = 0; i < 10; i++) {
console.log("ไปๆฅใไธๆฅใใใฐใใใ๏ผ");
}
</script>
%-------------------------------------------------
% (104)-1 Plugin Command (RPG Maker MV)
%-------------------------------------------------
<plugincommand: ItemBook open>
%-------------------------------------------------
% (104)-2 Plugin Command (RPG Maker MZ, for advanced users)
%-------------------------------------------------
<PluginCommandMZ: Text2Frame, IMPORT_MESSAGE_TO_EVENT, ใคใใณใใซใคใณใใผใ, FileFolder[text], FileName[message.txt], MapID[1], EventID[2], PageID[3], IsOverwrite[false]>