You'd need to do two things:How do I add Trick Room to Pokemon Fire Red? :D
1. Compile the routine found here and set the .TrickRoomLoc to a ram offset of your choosing. (If you don't know much about ram offsets just put 0x203D80A. It's what I used for mine and any offset in the 0x203D800 range is free as far as I'm aware.)
2. Insert a custom battle script like this. 0x8AAAAAA and 0x8BBBBBB are the offsets of your Trick Room strings. You can make strings using any script editor. I've also bolded the Trick Room ram offsets. Change if you want. Also make sure you have Jambo's setword command inserted somewhere. If you're using Mr. DS's base its already inserted as command 0xFA.
Spoiler:
Code:
#org @TrickRoom
attackcanceler
attackstring
ppreduce
attackanimation
waitanimation
jumpifbyte 0x1 [B]0x203D80A [/B]0x0 @RevertTrickRoom
setbyte [B]0x203D80A[/B] 0x5
setword 0x0203C020 [B]0x8AAAAAA[/B]
printstring 0x184
waitmessage 0x40
goto 0x81D694E
#org @RevertTrickRoom
setbyte [B]0x203D80A[/B] 0x0
setword 0x0203C020 [B]0x8BBBBBB[/B]
printstring 0x184
waitmessage 0x40
goto 0x81D694E
Making the Trick Room decrease is a whole 'nother process.
Last edited: