From 8672501e6fc39efe1bd7fd2e75f2c9e64603c57a Mon Sep 17 00:00:00 2001 From: aaaaaa123456789 Date: Wed, 17 Nov 2021 04:23:23 -0300 Subject: Remove whitespace at end of line --- Smashing-rocks-has-a-chance-to-contain-items.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Smashing-rocks-has-a-chance-to-contain-items.md b/Smashing-rocks-has-a-chance-to-contain-items.md index 2bda45f..3cc8446 100644 --- a/Smashing-rocks-has-a-chance-to-contain-items.md +++ b/Smashing-rocks-has-a-chance-to-contain-items.md @@ -31,7 +31,7 @@ First, we must edit the `RockSmashScript` within [engine/events/overworld.asm](. + verbosegiveitem ITEM_FROM_MEM + closetext +.no_item -+ end ++ end ``` These changes stop the `RockSmashScript` from ending if it doesn't find a Pokemon, jumping to `.no_battle` if the game does not startle a Pokemon hiding within the rock, and then calling `RockItemEncounter` to determine whether or not an item will be rolled. If no item is rolled, the script will jump to `.no_item`, ending the script and giving the player nothing. -- cgit v1.2.3