aboutsummaryrefslogtreecommitdiffstats
path: root/engine/movie (follow)
Commit message (Collapse)AuthorAgeFilesLines
* explore: pivot to noclip free-roam cameraAsh Ketchum7 days1-1/+1
| | | | | | | | | | | | | | | | | | | | Ground-truth from render_overworld.py showed Kanto is ONE seamless world joined along shared edges with per-connection offsets -- so a map-by-map browser is the wrong model. Replaced it with noclip free-roam that leans on the engine's own player-walk + connection-crossing machinery (which already handles seams/offsets correctly): - wSlopNoclip flag (reused the dead wUnusedObtainedBadges byte at D356, 0 r/w, not unioned, in the saved region -> safe). - CollisionCheckOnLand: 5-byte hook at the top -> when noclip is set, return no-collision. Freed the room in ROM0 by deleting the unreferenced Func_0db5 (dead farcall LoadToggleableObjectData) in LoadMapHeader. - EXPLORE menu entry now just toggles wSlopNoclip and closes the menu, dropping you into the overworld to glide through walls/NPCs/ledges and walk across map connections exactly as the world data defines them. Verified: Pallet -> (walk north through the fences) -> seam-cross into Route 1 at y=35 -> continue north; toggle off restores collision (player blocked).
* warp: SELECT opens quick-warp (B1) + relocate intro-skip to PlayIntroAsh Ketchum7 days1-0/+3
| | | | | | | | | | | - home/overworld.asm: SELECT in the overworld farcalls WarpMenu, then restarts the overworld loop so the fly-warp flags get processed. - engine/warp_menu.asm (new): WarpMenu reuses the fly-warp machinery (wDestinationMap + BIT_FLY_WARP/BIT_USED_FLY). B1 warps to Pallet unconditionally to validate the hook; the real destination menu is next. - Moved the fastboot intro-skip out of home/init.asm into PlayIntro (bank 10) to reclaim ~10 bytes of home ROM0 for the overworld hook. Net boot behavior is unchanged; new-game path still shows the intro.
* fastboot: skip intro/title/menu and autoload save if one existsAsh Ketchum7 days1-0/+12
| | | | | | | | | | | | | | Three small hooks, all gated on CheckForPlayerNameInSRAM (carry = save present): - home/init.asm: skip 'predef PlayIntro' when a save exists - engine/movie/title.asm (PrepareTitleScreen): jp MainMenu, skipping the title screen (only the boot path hits PrepareTitleScreen; return-to-title paths jp DisplayTitleScreen directly, so they're unaffected) - engine/menus/main_menu.asm (MainMenu): after TryLoadSaveFile, if wSaveFileStatus==2 jp SpecialEnterMap, skipping the CONTINUE menu Exported CheckForPlayerNameInSRAM (:: ) so home/init.asm can farcall it. New game (no save) path is fully preserved. Ship pokeyellow.gbc only; the _DEBUG build overflows home ROM0 by 8 bytes with the init hook.
* Use `SOUND_MASK` constant in `TradeAnimCommon` (#159)CreamElDudJafar2026-06-201-1/+1
|
* Merge branch 'master' of https://github.com/pret/pokereddannye2026-01-1710-27/+38
|\
| * Use macros to enforce "missable/hide/show object" constraints, and rename ↵Rangi2026-01-071-1/+1
| | | | | | | | them to "toggleable objects" (#557)
| * Comment more unreferenced local labels (#550)Narishma-gb2025-12-151-9/+12
| |
| * Define player and rival names once, to be used in two places (#545)Rangi2025-12-011-2/+2
| |
| * Use more Pokemon data constants, create MOVE_NAME_LENGTH (#543)Narishma-gb2025-11-271-1/+1
| |
| * Avoid magic numbers for most `CopyData` calls (#542)Rangi2025-11-253-3/+3
| |
| * Use more hardware and graphics constants (#532)Narishma-gb2025-11-186-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | - Use `OBJ_SIZE` and `TILE_SIZE` from hardware.inc. - `SPRITESTATEDATA1_LENGTH`, `NUM_SPRITESTATEDATA_STRUCTS` and `TILE_1BPP_SIZE` are used in some places. - Highlight an oversight in `OakSpeech` where several direct MBC bank switches are requested. - Remove redundant comments in home/overworld.asm. - Add unreferenced `FillBgMap` function to avoid a byte of dead code. - Some constants added in wram.asm. - Correctly separate the commented code in `SaveMainData`.
* | Merge branch 'master' of https://github.com/pret/pokereddannye2025-11-125-9/+9
|\|
| * Use features of RGBDS 1.0.0 (#537)Rangi2025-11-125-8/+8
| |
* | Misc. naming and cleanup (#139)Narishma-gb2025-09-103-10/+10
| | | | | | | | | | | | | | | | | | * Name some printer/diploma routines * Name `wd434` * Name `NAME_LENGTH_JP` * Rename `callabd`/`calladb` to `farcall`/`callfar`
* | Merge branch 'master' of https://github.com/pret/pokereddannye2025-09-064-10/+8
|\|
| * Label and constant cleanup (#528)Narishma-gb2025-09-034-9/+9
| | | | | | | | | | * Label cleanup, add some constants instead of raw numbers * Rename load/save game functions to be more explicit
* | Fix .tilemap file extension, fix some typos (#138)Narishma-gb2025-09-061-3/+3
| |
* | Use hardware.inc constants in places unique to YellowRangi422025-07-021-3/+3
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2025-07-0210-45/+45
|\|
| * Use combined hardware constantsRangi422025-06-301-1/+1
| |
| * Replace hardware_constants.asm with hardware.inc (#511)Rangi2025-06-308-42/+42
| |
* | Use more ldpikacrydannye2025-05-252-7/+5
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2025-05-101-1/+1
|\|
| * Use constants in `PrintBCDNumber` calls (#503)Narishma-gb2025-04-081-1/+1
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2025-01-309-47/+52
|\|
| * Consistently capitalize `ASSERT` directives (#489)Rangi2025-01-282-3/+3
| |
| * Miscellaneous cleanup (#488)Rangi2025-01-282-5/+9
| | | | | | Co-authored-by: SatoMew <SatoMew@users.noreply.github.com>
* | Merge branch 'master' of https://github.com/pret/pokereddannye2024-10-092-28/+38
|\|
| * `dbsprite` is the wrong macro for `WriteOAMBlock` data (#472)Vortyne2024-09-291-27/+37
| |
| * This byte is written to, but not used (#471)Vortyne2024-09-251-1/+1
| | | | | | | | | | | | | | | | | | it's written to in init_player_data.asm ``` ld hl, wObtainedBadges ld [hli], a ld [hl], a ```
* | Merge branch 'master' of https://github.com/pret/pokereddannye2024-09-2510-50/+52
|\|
| * Identify hardware register bits (#469)Sylvie2024-09-242-4/+4
| |
| * Identify more bit flags (#465)Sylvie2024-09-241-2/+2
| | | | | | | | | | * Identify more bit flags * Space
| * Identify remaining uses of `wd0b5` and `wd11e` (#463)Sylvie2024-09-187-16/+16
| |
| * Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)Sylvie2024-08-046-10/+10
| |
| * Identify wcd6d as wNameBuffer and others (#455)Sylvie2024-07-244-6/+6
| |
| * Identify various flag labels and bit constants (#454)Sylvie2024-07-163-11/+13
| |
| * Identify some unused WRAM variables (#453)Sylvie2024-06-152-2/+2
| |
* | Improve documentation of some SRAM routines (#114)SatoMew2024-06-263-6/+6
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2024-05-051-1/+1
|\|
| * Fix hard-coded bankdannye2024-05-051-1/+1
| |
* | Rename pikachu palette packetsdannye2023-11-211-1/+1
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2023-11-212-10/+10
|\|
| * Add `bigdw` and `dc` data macrosRangi422023-11-202-10/+10
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2023-11-202-7/+13
|\|
| * Thoroughly document debug code (#410)SatoMew2023-07-152-9/+16
| |
* | Merge branch 'master' of https://github.com/pret/pokereddannye2023-04-252-13/+20
|\|
| * Complete and improve debug name labels (#408)SatoMew2023-02-262-13/+20
| |
* | Merge remote-tracking branch 'remotes/pokered/master'Rangi2022-10-021-4/+4
|\|
| * Change names of move subanimations to be meaningful (#389)BlueZangoose2022-09-251-4/+4
| | | | | | Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>