Script Help Thread (DO NOT REQUEST SCRIPTS) Page 73

Started by HackMew December 20th, 2008 5:10 AM
  • 625740 views
  • 9682 replies

NarutoActor

The rocks cry out to me

Age 29
Female
Brooklyn/Marlboro
Seen April 2nd, 2016
Posted March 22nd, 2016
1,974 posts
14.4 Years
I upened it in XSE and fixed it to fix xse and complied it and stil nothing hapends when I step on the tile with the script
Spoiler:
#dynamic 0x167F6E

#org @start
lock
msgbox 0x8183482 MSG_NORMAL '"Help help a theif from team rocket..."
applymovement 0x3 0x816F727
applymovement 0x1 0x819D8D0
waitmovement 0x0
preparemsg 0x819D81E '"huf huf"
callstd 0x6
applymovement 0x1 0x816F714
waitmovement 0x0
preparemsg 0x819D52C '"can you please catch that theif an..."
callstd 0x6
release
end


'---------
' Strings
'---------
#org 0x183482
= Help help a theif from team rocket[.]\nStole a pokedex from the shop.

#org 0x19D81E
= huf huf

#org 0x19D52C
= can you please catch that theif and retrieve the pokedex before he gets away.


'-----------
' Movements
'-----------
#org 0x16F727
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x19D8D0
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x16F714
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
~There are those people who understand hex, F the rest
ATL
Seen June 9th, 2015
Posted October 3rd, 2010
397 posts
14.2 Years
I did that, and the result was exactly the same.
The #org "@nacional" must be the offset you put into the script offset box.





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.

Pokepal17

More cowbell~

Age 28
Male
Steeltown
Seen July 7th, 2011
Posted May 22nd, 2011
1,517 posts
14.6 Years
Hey, umm... I need help with a script to enable the national dex in Fire red. This is what I got

Spoiler:
#dynamic 0x71A280

#org @nacional
lock
faceplayer
msgbox @aver 0x6
fanfare 0x13E
setflag 0x829
special 0x16F
waitfanfare
msgbox @cheka 0x6
release
end

#org @aver
= Wanna see something cool?

#org @cheka
= This will prove useful!


For some reason it doesn't work. I put it on one of the aides so he could give it to me at the begining, but I can't. Please, any help would be cool
You need to set the pokedex flag first so I'll add that into the script in bold.

I upened it in XSE and fixed it to fix xse and complied it and stil nothing hapends when I step on the tile with the script
Spoiler:
#dynamic 0x167F6E

#org @start
lock
msgbox 0x8183482 MSG_NORMAL '"Help help a theif from team rocket..."
applymovement 0x3 0x816F727
applymovement 0x1 0x819D8D0
waitmovement 0x0
preparemsg 0x819D81E '"huf huf"
callstd 0x6
applymovement 0x1 0x816F714
waitmovement 0x0
preparemsg 0x819D52C '"can you please catch that theif an..."
callstd 0x6
release
end


'---------
' Strings
'---------
#org 0x183482
= Help help a theif from team rocket[.]\nStole a pokedex from the shop.

#org 0x19D81E
= huf huf

#org 0x19D52C
= can you please catch that theif and retrieve the pokedex before he gets away.


'-----------
' Movements
'-----------
#org 0x16F727
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x19D8D0
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x16F714
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements
Have you set the var number as 4050 and the unknown as 003 in a-map for the script tile settings?

Also please update your version of XSE and please post pictures of the event and the settings of the script tile.
Pokémon Stardrop

NarutoActor

The rocks cry out to me

Age 29
Female
Brooklyn/Marlboro
Seen April 2nd, 2016
Posted March 22nd, 2016
1,974 posts
14.4 Years
You need to set the pokedex flag first so I'll add that into the script in bold.



Have you set the var number as 4050 and the unknown as 003 in a-map for the script tile settings?

Also please update your version of XSE and please post pictures of the event and the settings of the script tile.
Yes I did here a took a screen shot
~There are those people who understand hex, F the rest

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
This problem is almost solved. It freezes when I exit the lab, it is annoying
because I can't work on a hack that can't be played. Any idea how I could
fix it?
Where is that script used? Is it a walkable trap tile, those green "S" in AM?


if we are allowed to still ask for help on scripts I have a question...
I wanna know how to make a recieve pokemon script when stepping on a ''S(Green)'' tile.
If you're using XSE, can I suggest you reading the guide that comes with it?
Male
Seen May 2nd, 2013
Posted July 19th, 2010
11 posts
13.9 Years
Alright here's my rather lengthy question....XD

I'm trying to make Giovanni's Gym the first gym in my Firered Hack. I changed around the trainers to make them weaker and have grass pokemon, and I also changed the layout of the gym and Gio's pokemon, picture and name.

Now what I want to do is make it so that this gym leader is in his gym from the beginning of the game, seeing that Gio doesn't appear in the gym until you fight him in saffron or whatever.

Also I want to know how I can make him give me the first badge. Thanks! =D

******SOLVED******* I'm getting good at this scripting business =D
Platinum - OU
Name: Matt
Friend Code: 3137 3572 5288
Record: 2-1

HeartGold - UU
Name: Matt
Friend Code: 1892 4174 4888
Record: 0-0

HackMew

Mewtwo Strikes Back

Seen October 26th, 2011
Posted October 15th, 2010
1,314 posts
16.9 Years
HackMew, I tried two things.
1) I didn't have the green S block, freezes.
2) I had the green S block, freezes as well. (The S block was on the tile on the exit of the house)
If there wasn't the green "S", how was the script executed? Also, when it freezes it means you're using wrong settings. What are yours?
Age 30
Male
Seen July 22nd, 2012
Posted June 10th, 2012
516 posts
13.8 Years
Does anyone know what the problem with this script is? It's in XSE, but I've tryed the same thing in Pokescript and got the same problem. The whole game just freezes right after the battle ends.

Spoiler:
'---------------
#dynamic 0x801415
#org @firstrocketbattle
lock
faceplayer
checkflag 0x828
if 0x1 goto @battle
msgbox @scorn 0x6
release
end
'---------------
#org @battle
trainerbattle 0x0 0x15F 0x0 @before @after
msgbox @beaten 0x6
release
end

'---------
' Strings
'---------
#org @scorn
= What do you want?\nGet lost!
#org @before
= Nice Pokemon. It's mine!
#org @after
= WHAT?!
#org @beaten
=Scram, punk!
Credit for my avatar goes to the Lego company. :)

justdieplz

Pokemon White Enthusiast

Age 27
Male
Kansas
Seen December 20th, 2013
Posted December 20th, 2013
29 posts
14.7 Years
Does anyone know what the problem with this script is? It's in XSE, but I've tryed the same thing in Pokescript and got the same problem. The whole game just freezes right after the battle ends.

Spoiler:
'---------------
#dynamic 0x801415
#org @firstrocketbattle
lock
faceplayer
checkflag 0x828
if 0x1 goto @battle
msgbox @scorn 0x6
release
end
'---------------
#org @battle
trainerbattle 0x0 0x15F 0x0 @before @after
msgbox @beaten 0x6
release
end

'---------
' Strings
'---------
#org @scorn
= What do you want?\nGet lost!
#org @before
= Nice Pokemon. It's mine!
#org @after
= WHAT?!
#org @beaten
=Scram, punk!
You don't need a checkflag for trainers, the battles are remembered in the rom.

ziglef

Just here for fun ^^

Age 30
Male
Portugal
Seen July 17th, 2016
Posted February 27th, 2010
17 posts
14 Years
Game: Pokémon Fire Red
Type: Trap
Editor: XSE
Script:
Spoiler:
'---------------
#org 0x800000
checkflag 0x1000
if 0x1 goto 0x800048
goto 0x80000F

'---------------
#org 0x800048
end

'---------------
#org 0x80000F
msgbox 0x80001C MSG_FACE '"Where am i ? I can't remember\nany..."
setflag 0x1000
end


'---------
' Strings
'---------
#org 0x80001C
= Where am i ? I can't remember\nanything...

Aditional info: i compile the script and then it adds some numbers to the goto making it 0x8800048 instead of 0x800048 and while in game it just freezes the game. I even tried to remove the first 8 so that it adds itself but when i do this it adds a 8 and a 0 making it unusable also : /

cooley

///Keepin' it simple

Age 28
Male
United States
Seen December 5th, 2014
Posted December 2nd, 2014
1,148 posts
16.3 Years
Game: Pokémon Fire Red
Type: Trap
Editor: XSE
Script:
Spoiler:
'---------------
#org 0x800000
checkflag 0x1000
if 0x1 goto 0x800048
goto 0x80000F

'---------------
#org 0x800048
end

'---------------
#org 0x80000F
msgbox 0x80001C MSG_FACE '"Where am i ? I can't remember\nany..."
setflag 0x1000
end


'---------
' Strings
'---------
#org 0x80001C
= Where am i ? I can't remember\nanything...

Aditional info: i compile the script and then it adds some numbers to the goto making it 0x8800048 instead of 0x800048 and while in game it just freezes the game.
Well the extra "8" indicates it's pointing to somewhere within the ROM area. Here's something helpful:
For the sake of precision, I'll explain you how memory is used by the GBA.

- System ROM/BIOS: starts at 0x0000000 with a length of 16KBs, this section contains BIOS memory which is strictly read-only.
- External Working RAM/EWRAM: starts at 0x2000000 and has a length of 256 KB. Since it contains a 16-bit databus, THUMB is best used here.
It allows 8, 16 and 32 bits read/write.
- Internal Working RAM/IWRAM: begins at 0x3000000 and has a length of 32 KB with a 32-bit databus thus making it fast for ARM code.
It allows 8, 16 and 32 bit read/write.
- Register Memory/IO: begins at 0x4000000 going up to 1 KB. This is where you control graphics, sound, timing, keypressing etc.
Besides the name, it has absolutely nothing to do with the actual registers: r0-r15.
- Palette Memory: starts at 0x5000000 going up to 1 KB. This area contains 2 palettes: backgrounds and sprites, respectively.
- Video Memory/VRAM: starts at 0x6000000, graphic data (tilesets, sprites, tilemaps) are stored here. Sprites are usually stored starting from 0x6010000.
- Object Attribute Memory/OAM: begins at 0x7000000 with a length of 1 KB. This is where you control sprites such as storing width, height, or location to sprite graphic data.
- ROM: begins at 0x8000000 going to a maximum of 32 MB, usually. THUMB is the best choice over here.

The bolded part is where I think you should read.

But anyways, your script. Try added a "release" after setflag 0x1000

ziglef

Just here for fun ^^

Age 30
Male
Portugal
Seen July 17th, 2016
Posted February 27th, 2010
17 posts
14 Years
so if i made my rom a 32MB one the scripts offsets must start at 0x8000000 ?

but the game freezes, or froze, because now it works, well i couldn't go there again beacause i was stuck so i put i release command. that i got alone xD

so here's the new script code

Spoiler:
'---------------
#org 0x800000
checkflag 0x1000
if 0x1 goto 0x8800048
goto 0x880000F

'---------------
#org 0x800048
release
end

'---------------
#org 0x80000F
msgbox 0x880001C MSG_FACE '"Where am i ? I can't remember\nany..."
setflag 0x1000
end


'---------
' Strings
'---------
#org 0x80001C
= Where am i ? I can't remember\nanything...


but either way i don't know how this works, beacause if you read it you notice the wrong combination of goto and its offset...

i'm not the kinda guy that thinks it works worray, i like to know why it works so if you could help, : ) also thanks for the reply earlier

(sorry for english i'm portuguese)
(also sorry for newbie mistakes while scripting, i strated to learn it yesterday)

Edit: i tried to put the release after setflag and didn't work, but if i put it where it is in the script in this spoiler it works
Edit: So if i got it right, the offsets must me like 0x800000 and so on, but the i should call for them with an extra 8 ? like 0x8800000 ? thanks for the help guys.
ATL
Seen June 9th, 2015
Posted October 3rd, 2010
397 posts
14.2 Years
so if i made my rom a 32MB one the scripts offsets must start at 0x8000000 ?

but the game freezes, or froze, because now it works, well i couldn't go there again beacause i was stuck so i put i release command. that i got alone xD

so here's the new script code

Spoiler:
'---------------
#org 0x800000
checkflag 0x1000
if 0x1 goto 0x8800048
goto 0x880000F

'---------------
#org 0x800048
release
end

'---------------
#org 0x80000F
msgbox 0x880001C MSG_FACE '"Where am i ? I can't remember\nany..."
setflag 0x1000
end


'---------
' Strings
'---------
#org 0x80001C
= Where am i ? I can't remember\nanything...


but either way i don't know how this works, beacause if you read it you notice the wrong combination of goto and its offset...

i'm not the kinda guy that thinks it works worray, i like to know why it works so if you could help, : ) also thanks for the reply earlier

(sorry for english i'm portuguese)
(also sorry for newbie mistakes while scripting, i strated to learn it yesterday)

Edit: i tried to put the release after setflag and didn't work, but if i put it where it is in the script in this spoiler it works
Edit: So if i got it right, the offsets must me like 0x800000 and so on, but the i should call for them with an extra 8 ? like 0x8800000 ? thanks for the help guys.
Did you remember the 0300 and the 4050?





Please warm my eggs...I'll be sure to return the favor

From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.

cooley

///Keepin' it simple

Age 28
Male
United States
Seen December 5th, 2014
Posted December 2nd, 2014
1,148 posts
16.3 Years
so if i made my rom a 32MB one the scripts offsets must start at 0x8000000 ?

but the game freezes, or froze, because now it works, well i couldn't go there again beacause i was stuck so i put i release command. that i got alone xD

so here's the new script code

Spoiler:
'---------------
#org 0x800000
checkflag 0x1000
if 0x1 goto 0x8800048
msgbox 0x880001C MSG_NORMAL
setflag 0x1000
release
end

'---------------
#org 0x800048
release
end


'---------
' Strings
'---------
#org 0x80001C
= Where am i ? I can't remember\nanything...


but either way i don't know how this works, beacause if you read it you notice the wrong combination of goto and its offset...

i'm not the kinda guy that thinks it works worray, i like to know why it works so if you could help, : ) also thanks for the reply earlier

(sorry for english i'm portuguese)
(also sorry for newbie mistakes while scripting, i strated to learn it yesterday)

Edit: i tried to put the release after setflag and didn't work, but if i put it where it is in the script in this spoiler it works
Edit: So if i got it right, the offsets must me like 0x800000 and so on, but the i should call for them with an extra 8 ? like 0x8800000 ? thanks for the help guys.
I said to put a release because it will allow the player to move again. But I then noticed you didn't put a lock command so I guess release wouldn't really work :\
And the 0x88000000 is just an indicator that it is decompiling from the ROM... You don't have to put the extra "8" in front of the 0x800000, XSE will make the corrections.

I fixed your script to save space and to be more friendlier. it should work the exact same way though.

BTW, did you put those offsets yourself? Or did you use Dynamic?
Guys, I have an unpostable script (Game Event Exculsive) that has a givepokémon. Is there a way to make this pokemon's

Location Index: 255 (Fateful Encounter) Google 'Fateful Encounter Bulbapedia'
Always shiny.

givepokemon 0x1 0x5 0x0 0x0 0x0 0x0

...will give a bulbasaur lv.5 with no items, non?

Is there a way to change it's location index to 255 and make it always shiny?

ziglef

Just here for fun ^^

Age 30
Male
Portugal
Seen July 17th, 2016
Posted February 27th, 2010
17 posts
14 Years
I said to put a release because it will allow the player to move again. But I then noticed you didn't put a lock command so I guess release wouldn't really work :\
And the 0x88000000 is just an indicator that it is decompiling from the ROM... You don't have to put the extra "8" in front of the 0x800000, XSE will make the corrections.

I fixed your script to save space and to be more friendlier. it should work the exact same way though.

BTW, did you put those offsets yourself? Or did you use Dynamic?
Thanks, i'm going to try it now. yeah i used dynamic to search for clear offsets.
Thanks man.

Guys, I have an unpostable script (Game Event Exculsive) that has a givepokémon. Is there a way to make this pokemon's

Location Index: 255 (Fateful Encounter) Google 'Fateful Encounter Bulbapedia'
Always shiny.

givepokemon 0x1 0x5 0x0 0x0 0x0 0x0

...will give a bulbasaur lv.5 with no items, non?

Is there a way to change it's location index to 255 and make it always shiny?

I think you need to call an ASM routine, you should find something usefull here [ i can't post links yet but www . pokecommunity . com / showthread . php?t=164276 ] just remove the spaces

Also try to stick with the regular form. ; )
Age 28
Canada
Seen November 23rd, 2016
Posted May 1st, 2014
44 posts
14.9 Years
If there wasn't the green "S", how was the script executed? Also, when it freezes it means you're using wrong settings. What are yours?
There is a way in header view to add a script that happens right when you enter a map. I set the variable in header view, go in pro-header view and then I copy paste the script there.

Settings? There is no settings if there is no S... I think?

With the S, those are the settings:
-Unknown: 0003
-Var Number: 4050

ziglef

Just here for fun ^^

Age 30
Male
Portugal
Seen July 17th, 2016
Posted February 27th, 2010
17 posts
14 Years
Game: Pokémon Fire Red
Type: Person Event
Editor: XSE
Script:
Spoiler:
'---------------
#org 0x8004E1
checkflag 0x828
if 0x1 goto 0x8800566
msgbox 0x8800569 MSG_FACE '"Hello [player]..."
applymovement MOVE_PLAYER 0x8800772
waitmovement 0xFF
msgbox 0x8800576 MSG_FACE '"What ?\nHow do you know my name ?"
applymovement MOVE_PLAYER 0x8800775
waitmovement 0xFF
msgbox 0x8800599 MSG_FACE '"That doesn't matter now...\nBut yo..."
givepokemon 0x85 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox 0x8800615 MSG_KEEPOPEN '"You received an Evee!"
waitfanfare
closeonkeypress
setflag 0x828
msgbox 0x880062D MSG_FACE '"Oh ?\nA Pokémon ?\lDon't get me wr..."
msgbox 0x880067D MSG_FACE '"You'll get your answers when it is..."
setflag 0x82F
fanfare 0x13E
msgbox 0x88006D9 MSG_KEEPOPEN '"You received the Running Shoes!"
waitfanfare
closeonkeypress
msgbox 0x88006FB MSG_FACE '"We don't want you to be late on\nt..."
setflag 0x1001
warp 0x4 0x1 0xFF 0x2 0x26C
nop
updatecoins 0xD9 0xE0
'---------------
#org 0x800566
release
end


'---------
' Strings
'---------
#org 0x800569
= Hello [player]...

#org 0x800576
= What ?\nHow do you know my name ?

#org 0x800599
= That doesn't matter now...\nBut you need to know something,\lyour fate is already drawn...\lHere take this, you will need it

#org 0x800615
= You received an Evee!

#org 0x80062D
= Oh ?\nA Pokémon ?\lDon't get me wrong, i love them,\lbut why should i need one ?

#org 0x80067D
= You'll get your answers when it is\ntime, for now you will only need\lthat Pokémon and this

#org 0x8006D9
= You received the Running Shoes!

#org 0x8006FB
= We don't want you to be late on\nthe road do we ?\lNow your mom must be worried,\lyou're sleeping too much...\pWAKE UP !


'-----------
' Movements
'-----------
#org 0x800772
#raw 0x31 'Slide Down (Slow)
#raw 0xFE 'End of Movements

#org 0x800775
#raw 0x11 'Step Up (Normal)
#raw 0xFE 'End of Movements

Additional info: So i started scripting yesterday and i made this script for my Rom Hack and it works, the guy gives me a Evee for starter and i get teleported to my room and everything, the thing is, when i slide down the Person looks Up, giving me his back instead of looking at me, then when i step up he looks at me again, is there anyway to fix this so that he always looks at me ?