aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld (unfollow)
Commit message (Collapse)AuthorFilesLines
7 daysexplore: don't hide the player (fixes glitchy orphaned Pikachu)Ash Ketchum1-3/+0
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.
7 daysexplore: hide player (camera) + fix menu closeAsh Ketchum1-0/+3
- 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.
7 dayswarp: polish menu (clear bg + hide sprites), 13 destinations, kill the birdAsh Ketchum1-1/+1
- 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 ↵Rangi1-17/+17
"hidden events" (#559)
2026-01-07Use macros to enforce "missable/hide/show object" constraints, and rename ↵Rangi3-43/+44
them to "toggleable objects" (#557)
2025-12-15Comment more unreferenced local labels (#550)Narishma-gb5-12/+13
2025-11-25Avoid magic numbers for most `CopyData` calls (#542)Rangi2-6/+6
2025-11-18Use more hardware and graphics constants (#532)Narishma-gb4-9/+9
- 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)Rangi1-1/+1
2025-09-26Revise some RAM buffer constantsRangi1-3/+3
2025-09-03Label and constant cleanup (#528)Narishma-gb1-3/+0
* Label cleanup, add some constants instead of raw numbers * Rename load/save game functions to be more explicit
2025-06-30Use combined hardware constantsRangi423-4/+4
2025-06-30Replace hardware_constants.asm with hardware.inc (#511)Rangi9-46/+46
2025-05-09Fix sprite data comment (#507)Vortyne1-2/+2
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-gb1-5/+5
2025-01-28Consistently capitalize `ASSERT` directives (#489)Rangi1-1/+1
2025-01-23Identify unnamed functions in map_sprites.asm (#126)Engezerstorung1-7/+7
Also fix a label name
2024-10-07`FreezeEnemyTrainerSprite` -> `SetEnemyTrainerToStayAndFaceAnyDirection`Vortyne1-3/+3
2024-09-29`dbsprite` is the wrong macro for `WriteOAMBlock` data (#472)Vortyne3-12/+21
2024-09-29Rename off-by-one wram labelsdannye1-2/+2
2024-09-24Identify more bit flags (#465)Sylvie4-11/+19
* Identify more bit flags * Space
2024-09-23Identify more flag bits (#464)Sylvie5-22/+22
2024-09-18Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)Sylvie1-3/+3
Also identify `wPPUpCountAndMaxPP`
2024-08-04Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)Sylvie1-1/+1
2024-07-16Identify various flag labels and bit constants (#454)Sylvie12-143/+142
2024-06-15Identify some unused WRAM variables (#453)Sylvie3-4/+4
2023-11-22Delete a couple EOL whitespace.vulcandth1-1/+1
2023-11-21Fix a few usages of EFFECTIVEdannye1-1/+1
2023-11-21Fix inaccurate comment in UpdateNPCSpriteRangi421-2/+2
Fixes #404
2023-11-20Identify `wSavedCoordIndex` and its other usagesRangi422-3/+3
2023-11-20Add `bigdw` and `dc` data macrosRangi421-16/+3
2023-11-20Identify the unnamed HRAM variables and one WRAM label (#438)Vortyne1-19/+19
2023-11-19Name unnamed labels in seafoam islands and pokemon mansion script files (#435)Vortyne1-1/+1
* Update PokemonMansion1F.asm * Name unnamed seafoam/mansion labels
2023-07-15Thoroughly document debug code (#410)SatoMew1-31/+30
2023-07-13Add macros, constants, and labels for map scripts and text (#367)vulcandth3-5/+5
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 #395Rangi1-1/+1
2022-09-26Bug: Sprites can receive the wrong movement byte (#395)Vortyne1-1/+1
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2022-09-25Change names of move subanimations to be meaningful (#389)BlueZangoose1-2/+2
Co-authored-by: Rangi <remy.oukaour+rangi42@gmail.com>
2022-09-24Use a SPRITE_SET_LENGTH constantRangi1-4/+4
2022-09-24Add constants and table macros for the map sprite sets (#392)Rangi1-34/+38
Fixes #391
2022-08-11Use the same music headers as pokecrystal (#382)Rangi1-1/+1
2022-07-10Identify some `.asm_*` labelsRangi4-15/+15
2022-07-10Identify some `.asm_*` labelsRangi6-21/+21
2022-07-09wOAMBuffer -> wShadowOAM (#95)Colton G. Rushton7-33/+33
2022-07-09wOAMBuffer -> wShadowOAM (#370)Colton G. Rushton6-30/+30
2022-06-06RGBDS syntax updates (#86)vulcandth4-4/+4
New MACRO and DEF syntax
2022-06-06RGBDS syntax updates (#358)vulcandth3-3/+3
New MACRO and DEF syntax
2021-05-31Reformat MoveBoulderDustFunctionPointerTableRangi1-15/+9
2021-05-31Change name wSeaRoutesWildMons to wWaterMons in WRAMYoann Fievez1-1/+1
2021-05-18Standardize names of wild maps entitiesYoann Fievez1-1/+1
Standardize the name of entities of maps for wild pokemon