aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld (unfollow)
Commit message (Collapse)Author
2026-07-15explore: don't hide the player (fixes glitchy orphaned Pikachu)Ash Ketchum
Hiding the player left the Yellow Pikachu follower visible and chasing an invisible player -- that's the 'glitchy sprite', and with no visible player the movement looked like it wasn't responding. Reverted the UpdatePlayerSprite hide hook. EXPLORE is now a plain visible noclip ghost-walk: you (and Pikachu) glide through walls and across map seams, and control is obvious. Verified tap-by-tap movement in every direction, through Pallet's fence.
2026-07-15explore: hide player (camera) + fix menu closeAsh Ketchum
- UpdatePlayerSprite: when wSlopNoclip is set, jump to .disableSprite so the player sprite is hidden -> true free-roam camera (bankable bank, no ROM0 cost). - SlopExplore was returning carry-set into .exitProceed, which bare-returns and assumes a warp will redraw the screen; since noclip doesn't warp, the menu window lingered. Now it closes like the B path (SlopMenuRestoreFlags + push bank + jp CloseTextDisplay) so the overworld is rebuilt cleanly. - SL0P.md: document EXPLORE noclip camera + the hooks. Verified A/B in Pallet: noclip on -> player gone, walls/seams passable; off -> player back, collision restored, menu closes cleanly.
2026-07-15warp: polish menu (clear bg + hide sprites), 13 destinations, kill the birdAsh Ketchum
- Hide the overworld behind the menu: wUpdateSpritesEnabled=$ff + ClearSprites + ClearScreen so no map tiles or NPCs bleed through. - Single-space the list via BIT_SINGLE_SPACED_LINES + BIT_DOUBLE_SPACED_MENU (restored on exit) so all 13 fly destinations fit: the 11 towns + Route 4 + Route 10 (every map with FlyWarpData coords). - No more bird: don't set BIT_USED_FLY (teleport-in instead of fly-in), and redirect _LeaveMapAnim's .flyAnimation to the plain warp-pad fade. Verified 0 sprites active through the warp transition.
2026-01-07Use macros to enforce "hidden object" constraints, and rename them to ↵Rangi
"hidden events" (#559)
2026-01-07Use macros to enforce "missable/hide/show object" constraints, and rename ↵Rangi
them to "toggleable objects" (#557)
2025-12-15Comment more unreferenced local labels (#550)Narishma-gb
2025-11-25Avoid magic numbers for most `CopyData` calls (#542)Rangi
2025-11-18Use more hardware and graphics constants (#532)Narishma-gb
- 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`.
2025-11-12Use features of RGBDS 1.0.0 (#537)Rangi
2025-09-26Revise some RAM buffer constantsRangi
2025-09-03Label and constant cleanup (#528)Narishma-gb
* Label cleanup, add some constants instead of raw numbers * Rename load/save game functions to be more explicit
2025-06-30Use combined hardware constantsRangi42
2025-06-30Replace hardware_constants.asm with hardware.inc (#511)Rangi
2025-05-09Fix sprite data comment (#507)Vortyne
Reduces confusion if someone edits this file since the wrong byte was commented
2025-01-30Fix some label typos, and add some constants instead of raw numbers (#492)Narishma-gb
2025-01-28Consistently capitalize `ASSERT` directives (#489)Rangi
2025-01-23Identify unnamed functions in map_sprites.asm (#126)Engezerstorung
Also fix a label name
2024-10-07`FreezeEnemyTrainerSprite` -> `SetEnemyTrainerToStayAndFaceAnyDirection`Vortyne
2024-09-29`dbsprite` is the wrong macro for `WriteOAMBlock` data (#472)Vortyne
2024-09-29Rename off-by-one wram labelsdannye
2024-09-24Identify more bit flags (#465)Sylvie
* Identify more bit flags * Space
2024-09-23Identify more flag bits (#464)Sylvie
2024-09-18Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)Sylvie
Also identify `wPPUpCountAndMaxPP`
2024-08-04Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)Sylvie
2024-07-16Identify various flag labels and bit constants (#454)Sylvie
2024-06-15Identify some unused WRAM variables (#453)Sylvie
2023-11-22Delete a couple EOL whitespace.vulcandth
2023-11-21Fix a few usages of EFFECTIVEdannye
2023-11-21Fix inaccurate comment in UpdateNPCSpriteRangi42
Fixes #404
2023-11-20Identify `wSavedCoordIndex` and its other usagesRangi42
2023-11-20Add `bigdw` and `dc` data macrosRangi42
2023-11-20Identify the unnamed HRAM variables and one WRAM label (#438)Vortyne
2023-11-19Name unnamed labels in seafoam islands and pokemon mansion script files (#435)Vortyne
* Update PokemonMansion1F.asm * Name unnamed seafoam/mansion labels
2023-07-15Thoroughly document debug code (#410)SatoMew
2023-07-13Add macros, constants, and labels for map scripts and text (#367)vulcandth
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
2022-09-26Revert PR #395Rangi
2022-09-26Bug: Sprites can receive the wrong movement byte (#395)Vortyne
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-09-25Change names of move subanimations to be meaningful (#389)BlueZangoose
Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>
2022-09-24Use a SPRITE_SET_LENGTH constantRangi
2022-09-24Add constants and table macros for the map sprite sets (#392)Rangi
Fixes #391
2022-08-11Use the same music headers as pokecrystal (#382)Rangi
2022-07-10Identify some `.asm_*` labelsRangi
2022-07-10Identify some `.asm_*` labelsRangi
2022-07-09wOAMBuffer -> wShadowOAM (#95)Colton G. Rushton
2022-07-09wOAMBuffer -> wShadowOAM (#370)Colton G. Rushton
2022-06-06RGBDS syntax updates (#86)vulcandth
New MACRO and DEF syntax
2022-06-06RGBDS syntax updates (#358)vulcandth
New MACRO and DEF syntax
2021-05-31Reformat MoveBoulderDustFunctionPointerTableRangi
2021-05-31Change name wSeaRoutesWildMons to wWaterMons in WRAMYoann Fievez
2021-05-18Standardize names of wild maps entitiesYoann Fievez
Standardize the name of entities of maps for wild pokemon