- 68
- Posts
- 9
- Years
- Luxembourg
- Seen Jan 28, 2025
Hello everyone,
I'm pretty new to ASM and I need help with a Healing-Script that is activated everytime, when the Player steps on a specific tile.
The script should work as follows:
1. Player steps on a tile
2. SetHealing-Place Hack is activated
3. Player's Pokemon get healed (Fanfare + Black Screen)
4. A small message is displayed that the Pokemon are healed
5. End
Here's my script:
#dynamic 0xA30000
#org @start
lock
setvar 0x5037 0x1903
setvar 0x5038 0x5
setvar 0x5039 0x6
special 0x0
fadescreen 0x1
fanfare 0x0105
waitfanfare 0x0
pause 0x10
fadescreen 0x0
special 0x182
msgbox @flowerheal 0x6
release
end
#org @flowerheal
= This Flower has a healing effect.\pYour injuries were healed.
When I insert the script as follows, the Player is freezed when stepping on the tile.
Thank you very much!
Best regards,
Xero3
I'm pretty new to ASM and I need help with a Healing-Script that is activated everytime, when the Player steps on a specific tile.
The script should work as follows:
1. Player steps on a tile
2. SetHealing-Place Hack is activated
3. Player's Pokemon get healed (Fanfare + Black Screen)
4. A small message is displayed that the Pokemon are healed
5. End
Here's my script:
#dynamic 0xA30000
#org @start
lock
setvar 0x5037 0x1903
setvar 0x5038 0x5
setvar 0x5039 0x6
special 0x0
fadescreen 0x1
fanfare 0x0105
waitfanfare 0x0
pause 0x10
fadescreen 0x0
special 0x182
msgbox @flowerheal 0x6
release
end
#org @flowerheal
= This Flower has a healing effect.\pYour injuries were healed.
When I insert the script as follows, the Player is freezed when stepping on the tile.
Thank you very much!
Best regards,
Xero3