Skip to content

Commit

Permalink
Makig changes to tons of files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Truthkey committed Jul 13, 2024
1 parent 1745a6d commit 1c0ba9a
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/bbs/file/type/CmdCharge.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CmdCharge stands for *Command Charge*.

This file stores the list for all commands melds.

The reason why it's called **CHARGE** is because that's how command melding is named in japanese.
The reason why it's called **CHARGE** is because that's how command melding is named in japanese, Command Charge.

This file is contained within `Menu/Camp.arc`

Expand Down
19 changes: 18 additions & 1 deletion docs/bbs/file/type/mission.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Here's the full list of files that use this format.
| 0x4C | uint8 | Navigation
| 0x4D | uint8 | Present 1
| 0x4E | uint8 | Present 2
| 0x4F | uint8 | General Path
| 0x4F | uint8 | [General Path](#General-Path)
| 0x50 | uint16 | Present 1 Parameters
| 0x52 | uint16 | Present 2 Parameters
| 0x54 | uint8 | HP Recovery
Expand All @@ -60,8 +60,12 @@ Here's the full list of files that use this format.

### Bonus

Bonuses are rewards you receive as the boss is defeated or the event is over.

The type of bonus to receive. It is not possible to give two rewards of the same type.

Bonuses cannot give you debug commands or abilities/enchantments.

| Value | Description
|--------|-------
| 0 | None
Expand All @@ -71,16 +75,29 @@ The type of bonus to receive. It is not possible to give two rewards of the same

### Present

Presents are rewards you receive after the battle phase is over.

The type of present to receive. Presents cannot give you debug commands or abilities/enchantments.

Trying to give items that don't belong to the specific character result in a crash.

| Value | Description
|--------|-------
| 0 | None
| 1 | Obtain Item
| 2 | Obtain Command

### General Path
| Value | Description
|--------|-------
| 0 | GENERAL_PATH_START
| 1 | GENERAL_PATH_END


### Mission Kind

This is the "name" attributed to the mission. Serves as an identifier.

| Value | Name | Description
|--------|-------|------------
| -1 | MISSION_NONE |
Expand Down
13 changes: 13 additions & 0 deletions docs/bbs/memory only/Command.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# COMMAND

This isn't a file, but a memory region in the executable.

## COMMAND STRUCTURE

| Offset | Type | Description
|---------|--------|------------
| 0x0 | uint16 | Command ID
| 0x2 | uint8 | Level
| 0x3 | uint8 | Flag
| 0x4 | uint16 | Experience
| 0x6 | uint16 | Ability ID
File renamed without changes.
File renamed without changes.
58 changes: 58 additions & 0 deletions docs/bbs/memory only/PlayerData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# PLAYER DATA

This isn't a file, but a memory region in the executable.

## Stats

| Offset | Type | Description
|---------|--------|------------
| 0x0 | uint32 | Experience
| 0x4 | uint32 | Munny
| 0x8 | uint32 | Medals
| 0xC | uint32 | Style Flag
| 0x10 | uint32 | Enchantment Flag
| 0x14 | uint32 | Arena Level Flag
| 0x18 | int32 | Next Level Experience
| 0x1C | uint16 | Maximum HP
| 0x1E | uint16 | Current HP
| 0x20 | uint16 | Maximum Focus
| 0x22 | uint16 | Current Focus
| 0x24 | uint16 | LP
| 0x26 | uint16 | Pre EXP
| 0x28 | int8[8] | Deck Reload Time
| 0x30 | int8 | Currently Selected Deck
| 0x31 | uint8 | Current Level
| 0x32 | uint8 | Ability Points
| 0x33 | uint8 | MP?
| 0x34 | uint8 | D-Link Points
| 0x35 | uint8 | Weapon ID
| 0x36 | uint8 | Max Deck Slots
| 0x37 | uint8 | Arena Level
| 0x38 | int16 | Physical Resistance
| 0x3A | int16 | Fire Resistance
| 0x3C | int16 | Ice Resistance
| 0x3E | int16 | Thunder Resistance
| 0x40 | int16 | Darkness Resistance
| 0x42 | int16 | HP Ability
| 0x44 | uint16 | Old Finisher Type
| 0x46 | int16 | Padding
| 0x48 | [COMMAND](./Command.md#Command)[8] | Command Deck
| 0x88 | [COMMAND](./Command.md#Command) | Finisher Command
| 0x90 | [COMMAND](./Command.md#Command) | Shotlock Command
| 0x98 | [COMMAND](./Command.md#Command) | Jump Command
| 0xA0 | [COMMAND](./Command.md#Command) | Glide Command
| 0xA8 | [COMMAND](./Command.md#Command) | Air Dash Command
| 0xB0 | [COMMAND](./Command.md#Command) | Ground Dash Command
| 0xB8 | [COMMAND](./Command.md#Command) | Dash Ability
| 0xC0 | [COMMAND](./Command.md#Command) | Avoid Slide Command
| 0xC8 | [COMMAND](./Command.md#Command) | Combo Slide Command
| 0xD0 | [COMMAND](./Command.md#Command) | Turn Ability Command
| 0xD8 | [COMMAND](./Command.md#Command) | Guard Command
| 0xE0 | [COMMAND](./Command.md#Command) | Guard Ability Command
| 0xE8 | [COMMAND](./Command.md#Command) | Blow Ability Command
| 0xF0 | [COMMAND](./Command.md#Command)[21] | Link Command
| 0x198 | [COMMAND](./Command.md#Command)[3] | Next Finisher Command
| 0x1B0 | char[38] | Finisher Command Name
| 0x1D6 | uint8 | Padding
| 0x1D7 | uint8 | Padding

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PLAYER DATA
# PLAYER LEVEL UP DATA

This isn't a file, but a memory region in the executable.

Expand All @@ -20,5 +20,3 @@ Level up Rewards consist of a triplet of uint32, one for each character in this
| 0x1 | uint8 | Magic Increase
| 0x2 | uint8 | Defense Increase
| 0x3 | uint8 | Padding

0x5B 0x74
File renamed without changes.

0 comments on commit 1c0ba9a

Please sign in to comment.