aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/wild_encounters.asm (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-07-15fix(nowild): use wUnusedFlag (0xCC5B) instead of wc5d8 for the toggleAsh Ketchum1-1/+1
wc5d8 looked unused but the game writes it via computed addresses (observed it change 56->44->35 while walking/warping), so the NOWILD flag got clobbered and encounters still happened. wUnusedFlag is a genuine unused WRAM0 byte (verified stable at 0 through walking + warping, not in the save block so it defaults off each boot). NOWILD flag now persists reliably.
2026-07-15menu: add NOWILD toggle + REPEL (and repurpose wc5d8 as the flag)Ash Ketchum1-0/+3
NOWILD toggles wild encounters off (hooked in TryDoWildEncounter, a banked file) with an ON indicator drawn on its menu row; the flag lives in the unused wc5d8 WRAM0 byte (renamed wSlopNoWild, always-accessible, defaults 0). REPEL refills repel steps to 255. (A NOCLIP toggle was prototyped but its hook lands in the full home bank - deferred until I free ROM0 budget.) SL0P MENU now: WARP HEAL MONEY BADGES DEX MAXTEAM ITEMS NOWILD REPEL.
2024-09-18Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)Sylvie1-1/+1
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)Sylvie1-4/+4
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
2020-11-04Sync with pokereddannye1-23/+9
2020-08-31Use constants to delineate map types, and factor out more dataRangi1-1/+1
2020-07-07Sync coordinate macros with pokecrystalRangi1-2/+2
2020-07-06callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfarRangi1-2/+2
2020-07-06Specify the ldh instruction, don't turn ld into ldhRangi1-3/+3
2020-07-03Add subdirectories to data/ similar to pokecrystalRangi1-1/+1
Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
2020-06-23Move more tables from engine/ to data/Rangi1-15/+1
This also splits the end of engine/battle/core.asm into engine/battle/effects.asm.
2016-06-11remove address commentsYamaArashi1-2/+2
2016-06-11remove address commentsYamaArashi1-2/+2
2015-11-15EndOfBattle and TryDoWildEncounterluckytyphlosion1-6/+5
2015-10-29overworld item & movement code, cable club code, remove more instances of ↵luckytyphlosion1-9/+9
W_, add PIKAHAPPY_TRADE Also make replace.sh take args
2015-10-18Complete documentation of bank3luckytyphlosion1-1/+1
Also: split out bcd predefs from yellow/main.asm, start removing traces of W_
2015-08-30No more wram_constants.asmdannye1-2/+2
unfortunately, this means manually declaring the wEnemyMon1 party struct
2015-08-30No more W_dannye1-8/+8
2015-07-23fixed hram aliases and named wram varYamaArashi1-5/+5
2015-07-18Consolidate coord macrosdannye1-1/+1
2015-07-18fix variable namingYamaArashi1-1/+1
2015-06-11Clean up white spaceU-Daniel-PC\Daniel1-4/+4
2015-06-04ANSI->UTF-8U-Daniel-PC\Daniel1-5/+5
2015-04-01Rename battle files and split move effects Part 1xCrystal1-0/+118
1.asm, 4.asm, and 4_2.asm