Skip to content

Zenkai Opcode SetCharacterLevel

Johnathon edited this page Sep 19, 2026 · 2 revisions

SetCharacterLevel

Directly sets a character's level (as opposed to AddEXP's gradual leveling).

Syntax

SetCharacterLevel(charIdx, level)

Parameters

charIdx
Integer
Character roster index.

level
Integer
New level.

Remarks

Directly sets a character's level (as opposed to AddEXP's gradual leveling). Real ROM usage: the level-up transition script sets character 3 to level 6 — see the worked example below.

Only levels up, not down. If level is <= the character's current level, this does nothing (no error). Also capped at 50.

Examples

From Intro Sequence Script #2:

ROM Address: 0x083B831B

0x1D, 2, 6, 0x0C  // PushMultiVarint(2) -> [3, 6] (char index, level)
0x02, 0x62        // Step -> SetCharacterLevel

See Also

Applies To

Game Notes
Legacy of Goku 2 Supported

Clone this wiki locally