Well, using what I know about coordinates, I remade the teleport code in ASM
Just a proof of concept XD
Oh and it's the same number of lines as the original (it would be only 12 or 13 lines if I can figure out what eor does, and how to use it with the buttons. sorry maniac, i'll keep trying XD)
Press L+R+down to save position, L+R+Up to teleport to that position :D
What it does:
This code searches for an item, then teleports you to that item
Directions: Type znx(xxx) y(yyy) into the chat and submit your message
zn is the activator, just type it
y is the hex code of the item, you can remove leading zeros
x is the number of items to skip, for example
if your friend has 2 gold roses in your town, typing
zn0 1c would teleport to the first gold rose, and typing zn1 1c would go to the second rose (skipping 1 of that item)
maploop:
ldrh r3, [r2]
cmp r3, r5
bne notreplace
cmp r4,#0
beq Move
sub r4,#1
notreplace:
add r2, #0x2 @add 2 to the map address, thus going to the next spot
sub r1, #0x1 @subtract 1 from r5, this is howmany times the loop repeats
bpl maploop
b End
Fixed a small error in v2
You will now teleport exactly in the middle of the item
therefor, if you teleport into something like a rock or a tree, you will be inside of it instead of beside it XD
Text convert routine by Toenailed
Mapslot to coordinates routine by me
All addresses by GH staff
08-17-2009
dragonboy269
Search and Teleport v5.0 FINAL VERSION (Works indoors in all house rooms and all levels, and outdoors, and offline and online)
Automatically detects what location you're in
Type x(xxx) y(yyy)(+) into the chat, submit your message then press L+R
you can remove leading zeros
x is the number of items to skip
y is the item to search for
for example, if you have 3 gold roses in your town, typing
0 1c would go to the first gold rose, typing 1 1c would go to the second, and typing 2 1c would go to the third
lets say you have a Brick Block in your house in the room you're in, typing
0 4b68 would teleport you to the brick block (direction matters, like, 4b68 is facing forward, and 4b69, 4b6a, and 4b6b are the different possible directions of a brick block, same pattern for other items)
If you wanna search the second level in your house (the items on top of other items) just put a + at the end, like
0 14fd+
maploop:
ldrh r3, [r2]
cmp r3, r5
bne notreplace
cmp r4,#0
beq Move
sub r4,#1
notreplace:
add r0,#1 @add 1 to the number of times we looped
add r2, #0x2 @add 2 to the map address, thus going to the next spot
sub r1, #0x1 @subtract 1 from r5, this is howmany times the loop repeats
bpl maploop
b End
Minor addition in v4:
Now checks to see if you're in a location other than your house/outdoors. If you are, the code will not activate.
Bug fix in v4.1:
In version 4.0, the code would continue searching for the hex until it found it, even if it wasn't in the map, so sometimes you'd be teleported to weird places. This has been fixed
Final addition in 5.0:
now allows you to search both "item levels" in the house. The items on the floor, and then the items on top of other items.
Map search routine by Maniac,
Map Location to Coordinates routine by me
Only address found by me (but found before by someone else) Area location address
08-19-2009
dragonboy269
Weed Puller's Dream (nice name XD)
If you wanna pull weeds for someone, this is the perfect code to do it. Every time you press L+R, it instantly teleports your character to the next weed/clover on the map (not 4 leaf clovers, it skips over those :) )
That way, you don't even have to run around looking for weeds, just press L+R, then B to pull, and repeat
Also, no need to type any kind of hex code, so it won't alarm anyone
Map search routine by Maniac,
Map Location to Coordinates by me
No addresses found by me
08-22-2009
dragonboy269
Final Real-Time World edit
Credits: Original coded by Toenailed
All addresses not found by me, except the indoor room/outdoor address (although it was found before by someone else and I didn't know XD)
I completely recoded it (nothing is from any other code except some of the text conversion, i even completely redid the division routines in a different more efficient way)
Features: Works Indoors and outdoors
(Indoors is deliberately disabled in other towns over wi-fi to prevent misuse, sorry this added one and a half lines to the code but at least it's safe now. Thank you Vash for giving me this idea :p)
You can remove leading zeros and type in upper case or lower case
Includes dpad check (completely recoded by me, works diagonally too, i think the original did not)
Directions:
type the hex code of the item into the chat and submit your message, then press L+R+A+Dpad direction
I'll re-release this now (don't reply on this thread, if you have a question PM me)
Pattern Copy code:
This code lets you copy other peoples' patterns.
Let's say you see a really cool looking pattern at someones town, and you want it, but the Tailor shop thing is closed (or you're just too lazy to go in there)
Just stand on top of the pattern and press L+R+A
The pattern and its name/creator name/town name will be copied into your first pattern slot :D
This code is for people with sneaky parents. If you aren't supposed to be talking to people, and you are anyway, and your parent asks to see your DS or something and you need to quickly hide the text on screen, simply press L+R
It should all go away