mirror of https://github.com/pret/pokeemerald.git
Page:
All Trees Permanently Get Cut
Pages
Ability Switcher via special
Add A PokeVial Item
Add Ability to Avoid Battle Damage in Debug Menu
Add Ability to Swap Bikes Whenever
Add Choice Specs Scarf hold item effects
Add Description Submenu
Add Difficulty Mode
Add In‐Cart Rumble
Add Nuzlocke Challenge
Add PC Access in PokeNav
Add Physical Special Split
Add Sleep Mode
Add Thief Ball
Add a EV IV Stat Editor UI
Add a debug menu
Adding Multi region Support
Adding Support for Connectivity with Other Hacks Whilst Maintaining Connectivity with Vanilla
Adding Time Based Encounters
Adding Walking Animations to All NPCs
Adding a New Trainer Class
Adding a New Trainer Front Picture
Adding a Pokémon Type & Disabling the Mystery Type
Adding new event object or overworld sprites
All Trees Permanently Get Cut
Allow All Pokemon to Evolve Without Trading
Allow Both Latios and Latias Appear.
Allow Feebas to be caught on any Valid Fishing Spot in Route 119 rather than only Three
Allow Jumping Over Ledges with Acro Bike
Allow Move Relearner to Teach Moves that Pre Evolutions Know
Allow Running From Trainer Battles
Allow running indoors
Amulet Coin Effects If Anyone In Party is Holding It
Automatically make the keyboard switch to lowercase after the first character
Better White Out Money Calculation
Button Press to Skip Copyright Screen
Chain Fishing
Change Enemy Trainer Parties Depending on Difficulty
Change Someone's PC to Lanette's PC from the Start of the Game
Change Starter Pokémon
Change Time Based Evolution Times
Change initial PC items
Changing the Battle Music Depending on the Opponent
Colored stats by nature in summary screen
Converting to FR Tilesets
Custom Battle Mugshots
Custom Border Dimensions
Debugging using gdb (Windows, WSL2, Visual Studio Code mGBA)
Debugging using printf
Disable Bag Use In Battle
Disable Catching Pokemon
Disable Pokémon animation on Birch's intro Pokémon
Disabling Union Room check when entering Pokémon Centers
Dynamic Trade Names
Dynamic overworld palette system
Enable the Reset RTC Feature
Enable trade with FRLG without beating the game
Expanding The Metatile Count
Extra save space with three lines of code
Faster HP Drain
Feature Branches
Fish Will Now Always Get on Hook
Fix AI's Switch In Battle
Fix Snow Weather
Fixing the aspect ratio of the Pokémon logo on the title screen
Forcing Battle Animations for Major Battles
Full Screen Start Menu by Archie and Mudskip
Gen 6 Exp Share
Gen 6 style Exp. Share Alternative Option
Get Match Calls Only If Caller Wants a Rematch
Get Rid of Battery Run Dry Error Message
Get Rid of Pokemon Disobeying You
Holding Select Allows For A Second Register Item
Home
How the Game Works
How to Support Savefile Backwards Compatibility
How to add a new Pokémon species
How to add a new ability
How to add a new region map
How to create a new regular trainer battle
How to delete a map
Implement Missing Text Function RESET_FONT
Implementing Catch EXP
Implementing ipatix's High Quality Audio Mixer
Implementing the “textcolor” script command from FRLG and give object events their own text colour
Improve Partner Battle Code
Improve the Loading of Battle Terrain
Improving the WaitForVBlank function
Increase money limit
Infinite TM usage
Instead of Asking to Stop learning a New Move, You'll be Asked to Continue Learning
Item Automatically Goes to PC if Bag is Full
Keep the Camera from Making Waves
LGPE Style Bonus Premier Balls
Learn moves upon evolution
List Menu Text Coloring
Make Cleanse Tag Avoid All Wild Encounters and Usable If Held By Anyone in Your Party; Make PokeDoll Do the Same for Trainers Seeing You
Make Daycare Faster at Leveling Pokémon
Make Key Items That Cannot Be Used In The Field Not Show A Use or Register Option
Make L Button Be Turbo A When L=A Option Is Set
Make Ledge Jumps Check Collision
Make Move Relearner Teach Egg Moves With A Flag
Make Multiple Secret Bases
Make Norman's Slaking Have Ability Intimidate
Make Pokemon Not Heal When Going into PC
Make Pokemon that Require a Fateful Encounter to be Legal to Always Be Set to Legal
Make space for EWRAM Data for Summary screen
Make the Bag Able to Hold 120 Items Instead of 30
Make the Person in the Intro Match the the Save File
Map Based Trainer Battle Music
Move Item
Multipage Options Menu
Name Rater Allows Traded Pokemon to be Renamed
New Birch's Briefcase With Fully Custom Starters by Archie and Mudskip
New Custom Menu Border Themes (Basic)
New Main Menu UI With Mugshot by Archie and Mudskip
New Options Plus ‐ Multipage Options Menu with Faster Text, HP‐EXP Bar Speeds and Metric
Nickname your Pokémon from the party menu
Not showing dex entries until getting the Pokédex
Omnidirectional Jump
Optimization ‐ Remove Expensive and Redundant `BuildColorMaps()` Function
Option to Skip Copyright and Intro
Overview: Items and their Effects
Overview: The Party Menu
Overview∶ The Game Loop
Overview∶ The Task System
Per Shop\Mart Item Prices
Plural Giveitem
Pokecenters Disregard Eggs
Prompt for reusing Repels
Push B in wild battle moves to Run
Push B to Toggle Running Shoes
Pushing B When Asked To Stop Learning Move Will Cancel Teaching The Move
Quickly Run from a Battle by Holding Right While the Wild Pokémon's Name Appears
Raise Odds of Catching a Pokemon by Pressing B When the Ball Shakes
Random Info, Tips, and Tricks
Reflections
Remove 'Select' Sound From Specific Map Events
Remove Warp Fadescreen
Remove badge boosts
Remove the backup save file
Remove the extra save confirmation
Remove the functionally redundant move grammar tables
Repeated Field Medicine Use
Reuse filler save space for Variables and Flags
Revert Brendan May Sprites to Ruby Sapphire
Set Metatile IDs From Another Map
Set Up Item Balls on a Map Without Needing New Scripts
Shifting to Pokémon Already in Battle Exits the Shift Menu
Shiny Creation With a Flag
Shop Items By Badge Count
Show IVs EVs in Summary Screen
Show Species That You're Switching For in the Party Menu
Show Type Effectiveness In Battle Using Pre Existing Function and Disable in Option Menu
Show a throbber animation while the game is saving
Shuckle makes Berry Juice
Something doesn't work I need help etc.
Spawn Invisible Player
Speedy Nurse Joy
Spinda Second Frame Spot Addition
Stair Warps
Supplementary Scripting Macros
Surfing Dismount Ground Effects
Temporarily Replace Player or Enemy Party Pokemon
The Basics of Scripting
Toggle Trainer Sight
Trainer Backsprite Editing
Trainer Class Based Poké Balls
Trainer Scripts
Trainers No Longer Spin to Face You Right As You Pass Them
Trigger Map Scripts By Flag
Triple layer metatiles
Tutorials
Tweaking the count of health beeps
Uniquely Shuffle Array
Update Sitrus Berry's effect to Gen 4 standard
Use HMs Without Any Pokemon in your Party Knowing Them
Useful Modding Tools
Useful Scripting Specials
Why You Should (Almost) Always Be Using 32‐Bit Variables in Your Code
Why should I use this over binary hacking
2
All Trees Permanently Get Cut
voloved edited this page 2023-02-07 19:58:15 -05:00
Goal: Make it so cutting a tree once will keep it cut for the rest of the game.
-------------------------- include/constants/flags.h --------------------------
index 55106baae..63b491195 100644
@@ -1287,30 +1287,30 @@
#define FLAG_UNUSED_0x4D6 0x4D6 // Unused Flag
#define FLAG_UNUSED_0x4D7 0x4D7 // Unused Flag
#define FLAG_UNUSED_0x4D8 0x4D8 // Unused Flag
#define FLAG_UNUSED_0x4D9 0x4D9 // Unused Flag
-#define FLAG_UNUSED_0x4DA 0x4DA // Unused Flag
-#define FLAG_UNUSED_0x4DB 0x4DB // Unused Flag
-#define FLAG_UNUSED_0x4DC 0x4DC // Unused Flag
-#define FLAG_UNUSED_0x4DD 0x4DD // Unused Flag
-#define FLAG_UNUSED_0x4DE 0x4DE // Unused Flag
-#define FLAG_UNUSED_0x4DF 0x4DF // Unused Flag
-#define FLAG_UNUSED_0x4E0 0x4E0 // Unused Flag
-#define FLAG_UNUSED_0x4E1 0x4E1 // Unused Flag
-#define FLAG_UNUSED_0x4E2 0x4E2 // Unused Flag
-#define FLAG_UNUSED_0x4E3 0x4E3 // Unused Flag
-#define FLAG_UNUSED_0x4E4 0x4E4 // Unused Flag
-#define FLAG_UNUSED_0x4E5 0x4E5 // Unused Flag
-#define FLAG_UNUSED_0x4E6 0x4E6 // Unused Flag
-#define FLAG_UNUSED_0x4E7 0x4E7 // Unused Flag
-#define FLAG_UNUSED_0x4E8 0x4E8 // Unused Flag
-#define FLAG_UNUSED_0x4E9 0x4E9 // Unused Flag
-#define FLAG_UNUSED_0x4EA 0x4EA // Unused Flag
-#define FLAG_UNUSED_0x4EB 0x4EB // Unused Flag
-#define FLAG_UNUSED_0x4EC 0x4EC // Unused Flag
-#define FLAG_UNUSED_0x4ED 0x4ED // Unused Flag
-#define FLAG_UNUSED_0x4EE 0x4EE // Unused Flag
-#define FLAG_UNUSED_0x4EF 0x4EF // Unused Flag
+#define FLAG_TREE_PETALBURGWOODS_1 0x4DA
+#define FLAG_TREE_PETALBURGWOODS_2 0x4DB
+#define FLAG_TREE_ROUTE103_1 0x4DC
+#define FLAG_TREE_ROUTE103_2 0x4DD
+#define FLAG_TREE_ROUTE104_1 0x4DE
+#define FLAG_TREE_ROUTE111_1 0x4DF
+#define FLAG_TREE_ROUTE116_1 0x4E0
+#define FLAG_TREE_ROUTE116_2 0x4E1
+#define FLAG_TREE_ROUTE116_3 0x4E2
+#define FLAG_TREE_ROUTE116_4 0x4E3
+#define FLAG_TREE_ROUTE116_5 0x4E4
+#define FLAG_TREE_ROUTE117_1 0x4E5
+#define FLAG_TREE_ROUTE118_1 0x4E6
+#define FLAG_TREE_ROUTE120_1 0x4E7
+#define FLAG_TREE_ROUTE120_2 0x4E8
+#define FLAG_TREE_ROUTE120_3 0x4E9
+#define FLAG_TREE_ROUTE121_1 0x4EA
+#define FLAG_TREE_ROUTE121_2 0x4EB
+#define FLAG_TREE_ROUTE121_3 0x4EC
+#define FLAG_TREE_ROUTE123_1 0x4ED
+#define FLAG_TREE_ROUTE123_2 0x4EE
+#define FLAG_TREE_ROUTE123_3 0x4EF
#define FLAG_DEFEATED_RUSTBORO_GYM 0x4F0
#define FLAG_DEFEATED_DEWFORD_GYM 0x4F1
#define FLAG_DEFEATED_MAUVILLE_GYM 0x4F2
---------------------- data/maps/PetalburgWoods/map.json ----------------------
index 4179d8195..990463618 100644
@@ -24,9 +24,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_PETALBURGWOODS_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 19,
@@ -37,9 +37,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_12"
+ "flag": "FLAG_TREE_PETALBURGWOODS_2"
},
{
"graphics_id": "OBJ_EVENT_GFX_AQUA_MEMBER_M",
"x": 26,
------------------------- data/maps/Route103/map.json -------------------------
index 9bc6fed67..c561a249c 100644
@@ -204,9 +204,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_12"
+ "flag": "FLAG_TREE_ROUTE103_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 72,
@@ -217,9 +217,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_13"
+ "flag": "FLAG_TREE_ROUTE103_2"
},
{
"graphics_id": "OBJ_EVENT_GFX_BLACK_BELT",
"x": 67,
------------------------- data/maps/Route104/map.json -------------------------
index 80af8aa6d..29941b7b0 100644
@@ -417,9 +417,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE104_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 5,
------------------------- data/maps/Route111/map.json -------------------------
index bc476ebaa..f17b5db3d 100644
@@ -378,9 +378,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_13"
+ "flag": "FLAG_TREE_ROUTE111_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_PICNICKER",
"x": 10,
------------------------- data/maps/Route116/map.json -------------------------
index adf9a86d5..565188bf2 100644
@@ -74,9 +74,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE116_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 32,
@@ -87,9 +87,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_12"
+ "flag": "FLAG_TREE_ROUTE116_2"
},
{
"graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
"x": 13,
@@ -178,9 +178,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_13"
+ "flag": "FLAG_TREE_ROUTE116_3"
},
{
"graphics_id": "OBJ_EVENT_GFX_HIKER",
"x": 36,
@@ -204,9 +204,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_14"
+ "flag": "FLAG_TREE_ROUTE116_4"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 80,
@@ -360,9 +360,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_15"
+ "flag": "FLAG_TREE_ROUTE116_5"
},
{
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER",
"x": 36,
------------------------- data/maps/Route117/map.json -------------------------
index 80304ddf4..9365e4876 100644
@@ -217,9 +217,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE117_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 9,
------------------------- data/maps/Route118/map.json -------------------------
index 1068e4a1a..50451dd4e 100644
@@ -183,9 +183,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE118_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
"x": 28,
------------------------- data/maps/Route120/map.json -------------------------
index 6bb2c84c1..db2cc27ef 100644
@@ -295,9 +295,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE120_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 7,
@@ -438,9 +438,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_14"
+ "flag": "FLAG_TREE_ROUTE120_2"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 15,
@@ -451,9 +451,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_12"
+ "flag": "FLAG_TREE_ROUTE120_3"
},
{
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
"x": 10,
------------------------- data/maps/Route121/map.json -------------------------
index 4a73f3fdd..4a7572062 100644
@@ -222,9 +222,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE121_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 65,
@@ -235,9 +235,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_12"
+ "flag": "FLAG_TREE_ROUTE121_2"
},
{
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_F",
"x": 63,
@@ -313,9 +313,9 @@
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_13"
+ "flag": "FLAG_TREE_ROUTE121_3"
},
{
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
"x": 11,
------------------------- data/maps/Route123/map.json -------------------------
index 11798b95d..a6f5daa81 100644
@@ -256,9 +256,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_11"
+ "flag": "FLAG_TREE_ROUTE123_1"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 129,
@@ -269,9 +269,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_12"
+ "flag": "FLAG_TREE_ROUTE123_2"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 92,
@@ -282,9 +282,9 @@
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
- "flag": "FLAG_TEMP_13"
+ "flag": "FLAG_TREE_ROUTE123_3"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 31,