Skip to content
Raymond Dodge edited this page Jan 31, 2025 · 16 revisions

Most branches are based on the merge-base between pret/master and an expansion tag. Especially if the expansion doesn't really touch the stuff that a branch modifies.

Those branches should merge relatively cleanly into either a pret-based project or an expansion-based project.

Tools

Enables the Diff8bitUnFilterWram, Diff8bitUnFilterVram and Diff16bitUnFilter syscalls, and implements filtering and unfiltering to and from the formats used by these syscalls in gbagfx.

Tilemaps especially tend to compress better after a delta filter. As an arbitrary example: graphics/intro/scene_1/bg0_map.bin.lz is 948 bytes, while graphics/intro/scene_1/bg0_map.bin.diff16.lz is 416 bytes.

Refactorings

a refactoring that allows branches that add battle transitions to merge cleanly with eachother.

Expansion did perform a light touch on battle transitions in merging the base mugshot transitions; the branch battle_transition/base-expansion resolves this conflict.

Features:

Battle transitions

Changing battle_setup.c to use these new transitions is left to the user

branch / constant image description
battle_transition/tpp_host
B_TRANSITION_TPP_HOST
mimics the transition used to mark host battles in Twitch Plays Pokémon's gen 1 and 2 hacks.
battle_transition/swords_justice
B_TRANSITION_SWORDS_OF_JUSTICE
mimics the first half of the transition used by the swords of justice in Black and White. The screen-glass shattering half may be added later.
battle_transition/vertical_folds
B_TRANSITION_VERTICAL_FOLDS
battle_transition/vertical_folds
B_TRANSITION_VERTICAL_FOLDS_CENTERED
The above pivots around the top edge of each row; this one pivots around the middle of each row
battle_transition/horizontal_folds
B_TRANSITION_HORIZONTAL_FOLDS
battle_transition/horizontal_folds
B_TRANSITION_HORIZONTAL_FOLDS_CENTERED
battle_transition/inverse
B_TRANSITION_INVERSE_ANGLED_WIPES
Hue-rotates the entire palette during the intro, potentially for an inverse-battle.
This branch introduces a new sTasks_Intro rather than a sTasks_Main, and so can be combined with other transitions. B_TRANSITION_INVERSE_ANGLED_WIPES is showing the inverse intro combined with the B_TRANSITION_ANGLED_WIPES main.
battle_transition/speed_lines
B_TRANSITION_SPEED_LINES
inspired by the Pokémon Mystery Dungeon: Explorers boss battle transition

Implements a field effect for the Town Map item that displays the region map.

A nameplate and mugshot system

Generate both the Pokédex region map and the Pokénav region map from the same image. Uses SuperFamiconv, and assumes it is installed on the path

Note

There was a prior version of this branch that used a reinvented tile converter. The current version will not merge cleanly with that version. I figured that a merge conflict would be better than the image2tiles tool disappearing during a pull

A system where each teachable move has a set of associated research tasks, and completing a move's research tasks allows the player to teach the move to compatible Pokémon

technique_manual.mp4

Note

Since expansion does completely rewrite how to check whether a move is tutorable, this branch is based on expansion.