Commit Graph

2201 Commits

Author SHA1 Message Date
Rachel
c20af39290 tools: Implement and inject enumproc CLI tool for script-preprocessing 2026-05-02 17:32:01 -07:00
scbroede
41858fc6bd
document mail (#1128)
Some checks are pending
build / build (push) Waiting to run
Co-authored-by: Rachel <rachel@lhea.me>
2026-05-02 12:21:00 -07:00
Alexandre Sollier
b0d4e60725
Document distortion world map object rotator (#1126)
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-05-02 10:28:38 -07:00
Tai-disc
2848baaf2d
Code cleanup and Refactor of unk_0202ACE0 to wifi_list. (#1123) 2026-05-02 10:17:35 -07:00
Viperio
42e580e8d7
Document battle frontier scripts (#1122)
Some checks failed
build / build (push) Has been cancelled
2026-04-30 12:44:06 -07:00
Alexandre Sollier
43f6c310c3
Document distortion world fog (#1121)
Some checks failed
build / build (push) Has been cancelled
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-29 07:25:14 -07:00
Viperio
1b522c05d6
Document resort area scripts (#1119) 2026-04-29 07:16:43 -07:00
Tai-disc
b6bd5e4632
Refactor struct_ov61_0222AFCC.h and struct_02030A80.h. (#1108)
Some checks are pending
build / build (push) Waiting to run
2026-04-26 11:16:40 -07:00
VicSevenT
2171f2576c
Document Hearthome Gym persistent features (#1105) 2026-04-26 13:58:34 -04:00
Viperio
180882fd9f
Document routes 226-230 scripts (#1112)
Co-authored-by: Rachel <rachel@lhea.me>
2026-04-26 08:59:24 -07:00
VicSevenT
94c47fbf82
Document Frontier script movement commands (#1113) 2026-04-26 08:56:53 -07:00
Viperio
3c5fcdf8c3
Document battleground scripts, rename variable object gfx constants (#1111) 2026-04-26 08:52:29 -07:00
VicSevenT
086332ec98
Document some Battle Hall Frontier Scrcmds (#1109)
Some checks are pending
build / build (push) Waiting to run
2026-04-25 22:56:53 -07:00
Alexandre Sollier
4f7e6cc35e
Document distortion world sky (#1107)
Some checks are pending
build / build (push) Waiting to run
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-25 11:56:58 -07:00
Viperio
f31ebc6f2b
Document victory road and routes 223 and 224 scripts (#1101)
Some checks failed
build / build (push) Has been cancelled
2026-04-23 08:14:30 -07:00
Viperio
8177bd8a60
Name unnamed struct files with named structs (#1100) 2026-04-23 08:13:57 -07:00
Viperio
bc28bb78d2
Document sunyshore city scripts (#1099)
Some checks are pending
build / build (push) Waiting to run
2026-04-21 14:19:48 -07:00
Alexandre Sollier
73042ddea2
Rename the map object field in ride tasks (#1098)
Some checks are pending
build / build (push) Waiting to run
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-20 16:23:39 -07:00
scbroede
47061c4dbb
document trainer card signing (#1094) 2026-04-19 13:52:22 -07:00
CharlesFolz4
85a21e9c8e
Document villa furniture (#1076) 2026-04-19 11:23:50 -07:00
Kuruyia
52d20f18d4 Rename overworld anim manager ID field
This renames the `id` field of the overworld animation manager to
`userInt`.

This field was initially documented as containing some sort of
caller-defined identifier based on how it was being used in the HM
cut-in file, but it's become more clear that the entire meaning of this
field is caller-defined (see its use by the surf mount renderers as a
boolean).

This also updates the surf mount renderer to correctly identify a flag
that's used to control whether the surf mount position is synchronized
with the player position on tick.

The same changes were ported to the distortion world surf mount renderer
where applicable.

Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-15 19:54:20 +02:00
Nathan Fallet
5becc55e00
unk_020553DC -> field_bgm (#1089)
Some checks failed
build / build (push) Has been cancelled
2026-04-15 09:32:10 -07:00
Alexandre Sollier
54a7625b0f
Document distortion world B4F/B5F waterfall (#1088)
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-15 09:31:35 -07:00
Tai-disc
12219e2dda
Refactored unk_0202C858 to wifi_history_save_data (#1087)
Some checks failed
build / build (push) Has been cancelled
2026-04-13 12:46:42 -07:00
VicSevenT
f4c916779e
Document Pastoria Gym button behavior (#1083) 2026-04-13 12:44:48 -07:00
scbroede
44a6337b41
document yes-no touch menu (#1079)
Some checks are pending
build / build (push) Waiting to run
2026-04-12 13:10:48 -07:00
Rachel
c66aa6e40a
tools: Implement dexproc for generating regional-national Pokedex mappings (#1077) 2026-04-12 15:47:32 -04:00
Tai-disc
583a24a010
Rename "unk_0202EEC0" to "pal_park_transfers" (#1085) 2026-04-12 12:17:27 -07:00
Viperio
48421e3fb8
Document spear pillar and hall of origin scripts (#1080) 2026-04-12 12:15:00 -07:00
VicSevenT
32614659cd
Document Lake Guardian Containment Units (#1078) 2026-04-12 11:55:03 -07:00
Gudf
f4a90c9b7f
Document the Ranger link (#1072) 2026-04-12 11:45:20 -07:00
Rachel
5678e54e98
rom: Macro-ify the command-tables for scripting VMs 2026-04-10 08:48:45 -07:00
Viperio
7c26ecb867
Document snowpoint city scripts (#1068) 2026-04-10 08:46:20 -07:00
VicSevenT
4c3a3f18c6
Document and rename some TV-related structs (#1075)
Some checks are pending
build / build (push) Waiting to run
2026-04-09 21:38:08 -07:00
scbroede
7e75511aa6
trainer case cleanup (#1065) 2026-04-09 08:03:59 -07:00
Viperio
ae9e688650
Standardize NPC/Npc to NPC (#1069)
Some checks are pending
build / build (push) Waiting to run
2026-04-08 18:07:39 -04:00
CharlesFolz4
70f9093a9c
Document elevated bridge status (#1070)
Some checks are pending
build / build (push) Waiting to run
2026-04-07 21:27:09 -04:00
Alexandre Sollier
bd404516cc
Document distortion world B3F/B7F/Giratina room events (#1066)
Some checks are pending
build / build (push) Waiting to run
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-07 12:10:12 -07:00
Yako
36c04fd118
Document function handling eyes meet trainer logic (#1059) 2026-04-07 10:53:38 -07:00
VicSevenT
9a8fa951a2
Document Great Marsh Lookout Sprite (#1061)
Some checks are pending
build / build (push) Waiting to run
2026-04-06 19:48:41 -07:00
VicSevenT
ef5e340157
Unpack Map Popup Graphics (#1062) 2026-04-06 19:48:18 -07:00
Alexandre Sollier
1f4e3d4918
Document distortion world B5F events (#1060)
Some checks are pending
build / build (push) Waiting to run
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-04-06 14:13:59 -07:00
Viperio
21fe7a31e0
Document route 218, canalave city and full-/newmoon island scripts (#1049)
Some checks are pending
build / build (push) Waiting to run
2026-04-01 20:12:22 -07:00
VicSevenT
d53488c4be
Document Battle frontier stats (#1047) 2026-04-01 18:52:26 -07:00
Alexandre Sollier
87a40a4210
Document field extension overlay loading (#1051)
Some checks are pending
build / build (push) Waiting to run
Signed-off-by: Kuruyia <github@kuruyia.net>
2026-03-31 20:48:45 -07:00
VicSevenT
4d304f31f4
Document the Egg Hatching Cutscene (Overlay 119) (#1044)
Some checks are pending
build / build (push) Waiting to run
2026-03-30 19:50:41 -06:00
Viperio19
c985199661 Document route 212 and pokemon mansion scripts 2026-03-29 22:22:18 +02:00
Viperio
fa771ccbf7
Document route 213 and valor lakefront scripts (#1040)
Some checks failed
build / build (push) Has been cancelled
2026-03-27 17:20:50 -06:00
RavePossum
778f13dd3b
Document distortion world B2F events (#1039) 2026-03-27 15:54:00 -06:00
Kuruyia
99e0ebd0db Document distortion world B2F events
This continues documentation of the distortion world overlay by
identifying the events for 2F and documenting the various event commands
used.

This floor contains the moving platform puzzle in which the player must
take the correct sequence of platforms to progress to the next floor.
This is why this floor contains a good amount of events, all
corresponding to triggers that move platforms around.

As such, the following naming scheme has been adopted to name the event
structs and related command parameter structs:

- Event structs: `sMapEventB2F_P<Platform><Cardinal>`
- Command parameter structs: `sMapEventCmdParamsB2F_P<Platform><Cardinal>_<Event command #>`

Using the following variables:

- `<Platform>`: the platform number on which the event trigger is
  located
- `<Cardinal>`: the first letter of the cardinal direction where the
  event trigger is located on the platform (N/E/S/W for
  North/East/South/West)

The following event commands were identified:

- Event command 0: plays an animation on the map object with the
  specified local ID
- Event command 1: moves the specified moving platform to the specified
  relative coordinates, with the specified speed

Signed-off-by: Kuruyia <github@kuruyia.net>
2026-03-27 21:39:37 +01:00