Commit Graph

1876 Commits

Author SHA1 Message Date
bryanthaboi a09347e4e5 Merge pull request #2463 from bryanthaboi/dev
Update union_room.lua
2026-09-24 14:51:04 -04:00
bryanthaboi 95ad378d89 Update union_room.lua 2026-09-24 14:44:17 -04:00
github-actions bb8a7e5ad4 chore(ios): update app-repo.json [skip ci] 2026-09-24 13:42:08 -04:00
bryanthaboi 09a3df2b98 Merge pull request #2462 from bryanthaboi/dev
more online fix attempts
v0.3.11
2026-09-24 13:29:50 -04:00
bryanthaboi 079e9776bb more online fix attempts 2026-09-24 13:22:09 -04:00
github-actions 5deedf4651 chore(ios): update app-repo.json [skip ci] 2026-09-24 12:10:12 -04:00
bryanthaboi 72bc284c5d Merge pull request #2459 from bryanthaboi/dev
another one
v0.3.10
2026-09-24 11:58:35 -04:00
bryanthaboi ff69ff7878 another one 2026-09-24 11:45:50 -04:00
github-actions 86b9d16b0a chore(ios): update app-repo.json [skip ci] 2026-09-24 11:43:26 -04:00
bryanthaboi 764520d573 Merge pull request #2458 from bryanthaboi/dev
little clean up for mystery gifts
v0.3.9
2026-09-24 11:31:27 -04:00
bryanthaboi a3251d10d5 little clean up for mystery gifts 2026-09-24 11:24:20 -04:00
github-actions d9467ef075 chore(ios): update app-repo.json [skip ci] 2026-09-24 10:56:49 -04:00
bryanthaboi 98de176bd4 Merge pull request #2457 from bryanthaboi/dev
online fixes
v0.3.8
2026-09-24 10:44:39 -04:00
bryanthaboi 6fdff58b3d online fixes 2026-09-24 10:31:07 -04:00
github-actions 6fea56faf4 chore(ios): update app-repo.json [skip ci] 2026-09-24 08:56:17 -04:00
bryanthaboi 381f5bfa5d Merge pull request #2455 from bryanthaboi/dev v0.3.7 2026-09-24 08:44:40 -04:00
bryanthaboi 72a17b27dd CLOSES #2444 2026-09-24 08:39:43 -04:00
bryanthaboi d51bdaff72 CLOSES #2441, CLOSES #2445, CLOSES #2448, CLOSES #2450 2026-09-24 06:24:54 -04:00
github-actions a25b0fba0b chore(ios): update app-repo.json [skip ci] 2026-09-24 05:33:31 -04:00
bryanthaboi 8fe473bd77 Merge pull request #2451 from bryanthaboi/dev v0.3.6 2026-09-24 05:22:07 -04:00
bryanthaboi 9335be1bbd online update 2026-09-24 05:17:32 -04:00
bryanthaboi 7bab073993 Merge pull request #2438 from colsonrice/fix/world-pipeline-field-fx-mirror 2026-09-23 22:45:45 -04:00
Colson Rice 833bee64b2 Keep the field effects upright when a render pipeline owns the world
endFrame composites a world override mirrored on LOVE 12, because a
pipeline's own projection pre-flips Y. ctx.drawFx puts the standing
effects into that same canvas as ordinary 2D, so the mirror inverts them
instead of righting them: a trainer's "!" draws upside down, below its
feet, on the mirrored half of the screen.

The condition is now Renderer.mirrorsWorldOverride, named because it is
not only the blit's business, and ctx.drawFx runs its block under the
matching mirror about the bound canvas. project() is left alone: it
already answers in screen rows.
2026-09-23 19:30:25 -04:00
github-actions 3ced9fb849 chore(ios): update app-repo.json [skip ci] 2026-09-23 17:33:45 -04:00
bryanthaboi 8b2f38149c Merge pull request #2447 from bryanthaboi/dev
classic goia
v0.3.5
2026-09-23 17:19:54 -04:00
bryanthaboi c8b64177f6 classic goia 2026-09-23 17:18:42 -04:00
github-actions 9fdd065219 chore(ios): update app-repo.json [skip ci] 2026-09-23 17:03:09 -04:00
bryanthaboi 43a50fc7b9 Merge pull request #2446 from bryanthaboi/dev
fixing all sorts of stuff
v0.3.4
2026-09-23 16:50:04 -04:00
bryanthaboi 8a3f8424f5 Merge pull request #2406 from thibautbus/feat/game3-japanese-rom-font
Draw Japanese text in FireRed with the cart's own Japanese fonts
2026-09-23 16:44:04 -04:00
bryanthaboi 2a09429699 Merge pull request #2434 from bryanthaboi/feat/game3-mods
feat(game3): in-game MODS entry with FRLG-styled mod manager
2026-09-23 16:44:00 -04:00
bryanthaboi c9c20d361e Merge remote-tracking branch 'origin/dev' into pr-2406
# Conflicts:
#	src/import/gba/versions.lua
2026-09-23 16:43:55 -04:00
bryanthaboi d2fdd3becc Merge remote-tracking branch 'origin/dev' into feat/game3-mods
# Conflicts:
#	src/ui/game3/start_menu.lua
2026-09-23 16:41:24 -04:00
bryanthaboi 09cb9e9493 Merge pull request #2442 from 1Jamie/grandpas-garage
feat(game3): implement roaming legendary beasts, Seagallop ferry, poison sfx, battle trapping moves, field weather, and overworld fixes
2026-09-23 16:38:59 -04:00
bryanthaboi d408c9d78f Merge remote-tracking branch 'origin/dev' into pr-2442
# Conflicts:
#	src/core/game3/scripting/natives_seagallop.lua
2026-09-23 16:37:33 -04:00
bryanthaboi 123feef3a1 CLOSES #2425, CLOSES #2428, CLOSES #2431, CLOSES #2432, CLOSES #2433, CLOSES #2435, CLOSES #2436, CLOSES #2437, CLOSES #2440
CLOSES #2425, CLOSES #2428, CLOSES #2431, CLOSES #2432, CLOSES #2433, CLOSES #2435, CLOSES #2436, CLOSES #2437, CLOSES #2440
2026-09-23 16:34:15 -04:00
1jamie a366339873 fix(game3/battle): guard from_rom and move_target_byte against nil ROM pack in headless tests 2026-09-23 14:12:44 -05:00
1jamie ce79dc86d5 fix(game3): implement if_can_escape and if_cant_escape AI script commands 2026-09-23 14:04:03 -05:00
1jamie d74c43a71b fix(game3): make Engine.canSwitch and State.prefixedName resilient to unpopulated RomText cache 2026-09-23 13:59:20 -05:00
1jamie 703e103e3c fix(game3): make battle AI pack loading graceful when running outside full ROM cache 2026-09-23 13:55:54 -05:00
1jamie bb3a1cf3a6 fix(game3): fix Flags.get lookup in save repairRoamer and add Moves.priority fallbacks 2026-09-23 13:52:24 -05:00
1jamie 8621d024dc feat(game3): implement roaming legendary beasts, Seagallop ferry, field weather, and overworld fixes
- Implement roaming legendary beast system (Raikou, Entei, Suicune) matching pokefirered (src/roamer.c), including 31-cap IV fix, Roar despawn fix, battle flee logic, and trapping interactions (Mean Look, Shadow Tag, Arena Trap, Wrap).
- Implement Seagallop ferry crossing cutscene and transit between Sevii Islands and Kanto.
- Implement field weather engine, weather extraction, and particle rendering.
- Implement renewable hidden items and step events.
- Fix poison step sound effect (SE_FIELD_POISON).
- Fix encounter cooldown lookup for grass/cave terrain.
- Add comprehensive test suites for roamers, weather, Seagallop animations, and ladders.
2026-09-23 13:46:57 -05:00
github-actions 49583733eb chore(ios): update app-repo.json [skip ci] 2026-09-23 12:36:23 -04:00
thibautbus 7e96172391 Space and cut FireRed Japanese text the way the cart does
A Japanese glyph advances by its width plus the window's letter spacing,
which a Latin one ignores (pokefirered/src/text.c:853): 1 for the normal
font (new_menu_helpers.c:413, the field message printer), 0 for the small
one (gFontInfos, new_menu_helpers.c:65). The engine already adds that
spacing, but only to a string carrying the {JPN} control code a ROM-
extracted one does; a mod's Japanese text has none, so its kana ran a pixel
tighter per character than on the cart. A glyph drawn from a Japanese sheet
now takes the window's spacing either way, and only once, falling back to
the message printer's spacing when the window sets none.

Name limits count characters (PLAYER_NAME_LENGTH, POKEMON_NAME_LENGTH), but
the start menu, the continue screen and the PC's hovered-mon panel cut names
with string.sub, in bytes. A kana is three bytes, so a five-kana species name
lost two characters in the PC and a Japanese player name was cut inside a
character. FrlgFont.truncate cuts by UTF-8 character, and those sites use it;
Latin names are cut as before, and an accented Latin name, whose accented
letters are two bytes, is no longer cut short either.
2026-09-23 18:23:27 +02:00
bryanthaboi 07a3be67fd Merge pull request #2439 from bryanthaboi/dev
all sorts of good stuff
v0.3.3
2026-09-23 12:23:23 -04:00
thibautbus 3252a3f2c9 Draw Japanese text in FireRed with the cart's own Japanese fonts
game3 prints every string with the US cart's Latin font, and FrlgFont has
no glyph for a kana, so a Japanese translation of FireRed would print
blank. The US cart still carries its Japanese fonts, which its text
printer draws for a string in Japanese mode (pokefirered/src/text.c:141,
:227): pret builds them into the US ROM, with the normal font's width
table.

The font extractor now bakes both, the normal font from its eight-to-a-row
layout (DecompressGlyph_Normal, text.c:1452) with its widths and the small
one sixteen to a row (DecompressGlyph_Small, text.c:1372), as
chrome/fonts/japanese_{normal,small}_{fg,shadow}.rgba and
japanese_widths.lua. LeafGreen's addresses follow the same -0x24 shift as
the rest of text.o. Cache version 120 re-imports existing caches.

FrlgFont numbers a Japanese character by its byte in the Japanese block of
pokefirered/charmap.txt (kana 01-A0, the full-width space, !?。ー), plus
the symbols the font keeps at the Latin block's codes in their full-width
forms (digits, letters, 『』「」, 円, /, :), offset past the Latin
glyphs. A character with no Latin glyph draws from the Japanese sheet, at
the width the cart gives it (the table for the normal font, 8px for the
small one). Latin text is drawn as before.
2026-09-23 18:07:32 +02:00
bryanthaboi dee935a4ea CLOSES #2430 2026-09-23 11:58:32 -04:00
Shane McGovern 2454173ac6 feat(game3): in-game MODS entry with FRLG-styled mod manager
Add a gated MODS row to the FireRed/LeafGreen start menu and an always-on
MODS row in the option menu. Both open a manager on the game3 stack that
reuses ManagerState behavior (list, detail, options, staged apply, profiles)
and draws with FRLG chrome. Nested name/quantity prompts route to the Gen 3
naming screen and a quantity dialog; APPLY & RESTART returns to the title.
2026-09-23 15:15:44 +01:00
bryanthaboi 312fa7eb44 rom rememberer2 2026-09-23 07:21:01 -04:00
bryanthaboi 2501e1d0b9 rom rememberer 2026-09-23 06:38:06 -04:00
github-actions 65256cd626 chore(ios): update app-repo.json [skip ci] 2026-09-23 06:19:32 -04:00