aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/wild_encounters.asm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix(nowild): use wUnusedFlag (0xCC5B) instead of wc5d8 for the toggleAsh Ketchum7 days1-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.
* menu: add NOWILD toggle + REPEL (and repurpose wc5d8 as the flag)Ash Ketchum7 days1-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.
* Merge branch 'master' of https://github.com/pret/pokereddannye2024-09-251-6/+6
|\
| * Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)Sylvie2024-09-181-1/+1
| | | | | | Also identify `wPPUpCountAndMaxPP`
| * Identify wcf91 as wCurPartySpecies, wCurItem, and wCurListMenuItem (#457)Sylvie2024-08-041-1/+1
| |
| * Identify various flag labels and bit constants (#454)Sylvie2024-07-161-4/+4
| |
| * Use constants to delineate map types, and factor out more dataRangi2020-08-311-1/+1
| |
| * Sync coordinate macros with pokecrystalRangi2020-07-071-2/+2
| |
| * callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfarRangi2020-07-061-2/+2
| |
| * Specify the ldh instruction, don't turn ld into ldhRangi2020-07-061-3/+3
| |
| * Add subdirectories to data/ similar to pokecrystalRangi2020-07-031-1/+1
| | | | | | | | Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
| * Move more tables from engine/ to data/Rangi2020-06-231-15/+1
| | | | | | | | This also splits the end of engine/battle/core.asm into engine/battle/effects.asm.
| * remove address commentsYamaArashi2016-06-111-2/+2
| |
| * No more wram_constants.asmdannye2015-08-301-2/+2
| | | | | | | | unfortunately, this means manually declaring the wEnemyMon1 party struct
| * No more W_dannye2015-08-301-8/+8
| |
* | Sync with pokereddannye2020-11-041-23/+9
| |
* | remove address commentsYamaArashi2016-06-111-2/+2
| |
* | EndOfBattle and TryDoWildEncounterluckytyphlosion2015-11-151-6/+5
| |
* | overworld item & movement code, cable club code, remove more instances of ↵luckytyphlosion2015-10-291-9/+9
| | | | | | | | | | | | W_, add PIKAHAPPY_TRADE Also make replace.sh take args
* | Complete documentation of bank3luckytyphlosion2015-10-181-1/+1
|/ | | | | Also: split out bcd predefs from yellow/main.asm, start removing traces of W_
* fixed hram aliases and named wram varYamaArashi2015-07-231-5/+5
|
* Consolidate coord macrosdannye2015-07-181-1/+1
|
* fix variable namingYamaArashi2015-07-181-1/+1
|
* Clean up white spaceU-Daniel-PC\Daniel2015-06-111-4/+4
|
* ANSI->UTF-8U-Daniel-PC\Daniel2015-06-041-5/+5
|
* Rename battle files and split move effects Part 1xCrystal2015-04-011-0/+118
1.asm, 4.asm, and 4_2.asm