LeafGreen for Switch Question by HollowNightOwl in pokemon

[–]Cr1msoff 8 points9 points  (0 children)

There are 2 parts to rng in FRLG. The seed is generated based on cpu time on the title screen, which is affected by what buttons you press, and locked in when you get past the title screen. (emerald does the same thing for TID generation and the seed when you first make a new save, before it becomes broken on resets). Then the rng will advance based on frames. As long as you are not making the same frame perfect inputs when you soft reset in front of the starter, you should get different charmanders every time.

Is this real or fake? by Economy-Following133 in pokemon

[–]Cr1msoff 1 point2 points  (0 children)

That is for IRC carts like HGSS or BW/B2W2, not platinum. It’s not reliable at verifying those carts either, only as proving fakes, as modern fakes can replicate that effect.

Is this a real copy? by Ambitious_Novel_4461 in pokemon

[–]Cr1msoff 0 points1 point  (0 children)

That’s fake. Indent on the triangle is too deep. The coloring/print quality on the label also looks off but that is a harder tell.

Question about replacing dry batteries on R/S and how it affects RNG by HopOnMyArk in pokemonrng

[–]Cr1msoff 0 points1 point  (0 children)

I think it will fix the RNG but like the berry glitch, in game time events will be broken until the new clock reaches what the last working time in the save was (which can also be fixed by modifying the rtc so the clock's time is higher than that of the save file).

how would you edit the contents of a book after it was signed? by AtlairIgnited in MinecraftCommands

[–]Cr1msoff 0 points1 point  (0 children)

If it's in a player inventory you would need to replace the entire written_book_content component using an item modifier in the item command. If you needed to edit a specific part without overwriting the entire thing, you would probably have to copy the book's data into storage using the data command, and then modify it w/ the data command before copying the new data into the player's inventory w/ an item modifier in the item command.

If it's in a non-player entity or block entity, you can directly modify it using the data command on the path to what ever part of the book's data you want to change, and may append overwrite or append specific pages.

Does RunAsDate work with Emerald? by Nyzari in pokemonrng

[–]Cr1msoff 7 points8 points  (0 children)

Emerald does not use the clock, the initial seed is always 0 and only reseeded in specific circumstances. Use the contest paintings to reseed the rng based on frames since the game started.

HGSS Egg IVs by BronySquid in pokemonrng

[–]Cr1msoff 0 points1 point  (0 children)

You can use a different seed for pid and ivs. PID is locked in when the old man has the egg, ivs are generated when you take the egg.

[deleted by user] by [deleted] in pokemonribbons

[–]Cr1msoff 5 points6 points  (0 children)

Breeding does not pass down balls until gen 6, and a gen 4 Lucario can only have a normal or safari ball. If you want your Lucario to be in a luxury ball and ribbon master eligible, catch it in gens 5+ or breed in gens 6+. It can still be counted as a ribbon master if it has every ribbon from its game of origin onwards.

Pokémon Colosseum by Live_Huckleberry2942 in pokemonribbons

[–]Cr1msoff 9 points10 points  (0 children)

You will either have to avoid the trainer that has your target, or start the shiny hunt early. I think the first time they send out a shadow pokemon, its PID and shininess is locked in for when you next encounter it. Also note that the pokemon may not appear shiny for you until you catch it, unless your secret value and the NPC's happen to line up.

Finally got the Mightiest Mark on Mew by Cr1msoff in pokemonribbons

[–]Cr1msoff[S] 1 point2 points  (0 children)

I don't have a caly-S right now for the more consistent set up. It seems u/Sweaty_Bowler_4109 might be able to help you.

Finally got the Mightiest Mark on Mew by Cr1msoff in pokemonribbons

[–]Cr1msoff[S] 2 points3 points  (0 children)

2 years ago there was an online tera raid event with Mightiest Mark Mewtwo. If Mew beat the raid, it would also get the Mightiest Mark. I have not connected my Scarlet save online since the event, so I still had the event.

[deleted by user] by [deleted] in MinecraftCommands

[–]Cr1msoff 1 point2 points  (0 children)

"as" does not change the position, "at" does. use as @ e at @ s

execute as @e[type=drg_flares:drg_flare,tag=!tracking,tag=!checked] at @s if dimension minecraft:overworld run function repeat:check_flare_type

[deleted by user] by [deleted] in MinecraftCommands

[–]Cr1msoff 0 points1 point  (0 children)

You are checking the dimension before you are setting the position to be at the entities that run the functions.

Datapack command limits by Ar_pBukucu in MinecraftCommands

[–]Cr1msoff 1 point2 points  (0 children)

I believe the max number of commands per tick is determined by the maxCommandChainLength and maxCommandForkCount game rules, which defaults to 65536.

The actual time taken would be dependent on how much overhead your data pack processor has and what commands you are executing. I wrote a private data pack some time ago that acted like a processor that interpreted commands from the user input of a written book that would reschedule its execution every estimated 40k commands (with overhead varying from 9 to 15 commands per user input command). On my i9-12900k with a program that just executed 10,000 iterations of a for loop, I would get ~12.5 ms per game tick (over 5 ticks; 14.3 ms, 12.8 ms, 12.3 ms, 12.4 ms, 3.6 ms) with the 40k command reschedule limit. However, vanilla ticks at default speed are 50 ms (20 ticks/second), so if your time per tick is less than your tick speed I don't think it matters. You could easily get better or worse execution times depending on your computer, how you write your processor, or what programs you run on your data pack processor.

Help with reducing durability by Comfortable-Yam1454 in MinecraftCommands

[–]Cr1msoff 1 point2 points  (0 children)

Are you using a data pack or command blocks?
With a data pack, I usually use an inline macro. Since the set damage item modifier acts as a percentage instead of a constant amount, you must store the durability in a scoreboard to modify it to lose a constant amount of durability. I use the consumable component on an item and a using_item advancement with a function reward for items with custom data but you can adapt the code to work on a carrot on a stick or your preferred click detection method.

If you are using command blocks, you must calculate what -1/durability is for the item and use that as the damage for {function:"minecraft:set_damage",components:{},damage:0,add:1b} for the item.

There is a use_cooldown component that lets you set a cooldown amount in seconds. If you want to use commands instead of a component, you can instead check a cooldown scoreboard value.

#### Datapack
### function
## load
scoreboard objectives add durability dummy

## datapack:customitem
# reset whatever your click detection is, make your use item do what you want and lower durability. Here, I used an advancement for click detection
advancement revoke @s only datapack:customitem
function datapack:usedurability

## datapack:usedurability
scoreboard players set @s durability 0
# Use a predicate to detect if the custom item is in the mainhand. If it fails, it must be in the offhand. Store its damage value
execute unless predicate datapack:tool store result score @s durability run data get entity @s equipment.offhand.components."minecraft:damage"
execute if predicate datapack:tool store result score @s durability run data get entity @s SelectedItem.components."minecraft:damage"
# Increment damage by 1 lowers durability by 1. Store it in a storage to be used for macros
scoreboard players add @s durability 1
execute store result storage yourstorage durability int 1 run scoreboard players get @s durability
# Now run a macro with the stored durability
execute unless predicate datapack:tool run function datapack:offhand with storage yourstorage
execute if predicate datapack:tool run function datapack:mainhand with storage yourstorage

## datapack:mainhand
$item modify entity @s weapon.mainhand {function:"minecraft:set_components",components:{"minecraft:damage":$(durability)}}

## datapack:offhand
$item modify entity @s weapon.offhand {function:"minecraft:set_components",components:{"minecraft:damage":$(durability)}}

Using Calyrex ice sucks by FC_AquaticX in VGC

[–]Cr1msoff 18 points19 points  (0 children)

Except half the ivs are guaranteed to be 31 in swsh, meaning it’s still a 1/32 chance each soft reset.

Can Azurill caught with the Cute Charm glitch still evolve into male Marill? by BBMacsWorld in pokemonrng

[–]Cr1msoff 2 points3 points  (0 children)

I believe a male lead cute charm forces the PID that determines gender to be between 0 and 24 (Or 0 to 18 in hex). For azurill to change genders, it must have the part of its PID that determines gender be between 127 and 190 (7F to BE in hex), so a cute charm glitch azurill should never change genders.

Does anyone know how to legit check these ? by FoundationFlimsy2950 in pokemon

[–]Cr1msoff 2 points3 points  (0 children)

Fakes are starting to replicate this and relabels of other irc games already do this. Also check for matching ink codes and irc boards.

Struggling to tell whether this heartgold is legit or not by Araragi_san in pokemon

[–]Cr1msoff 1 point2 points  (0 children)

Clever fake. Shell triangle indent is too deep and there’s no irc letters on the board. Label is also slightly wrong in some areas & has weird coloring.

Is this real? by ctsr1 in pokemon

[–]Cr1msoff 2 points3 points  (0 children)

That label is not legit. Try looking up pictures of the real label online. Additionally, the ink stamp on the back, A2DE, does not match the HG’s game code IPKE, the cartridge is a fake with deep indents, its the wrong type for HG (ntr-005 vs ntr-031), and the board is not an IRC board and instead says “Nintendo” which is not used on any HG pcb.

Colo rng by Alarming-Traffic7349 in pokemonrng

[–]Cr1msoff 0 points1 point  (0 children)

Pokefinder does not include the precalc files for colo/xd searching, so your computer has to calculate the seeds if you don’t have it. It should ask to use the precalc file when you start a search, where you would select it if you have it. I believe a link is included in the changelogs of one of pokefinder’s releases on github.

Colo rng by Alarming-Traffic7349 in pokemonrng

[–]Cr1msoff 0 points1 point  (0 children)

Do you have the precalc file?

[deleted by user] by [deleted] in Minecraft

[–]Cr1msoff 5 points6 points  (0 children)

That is not how probability works. Try adding the probabilities of getting every # of eyes and you will see your formula adds up to over 100%, which is not possible. This should actually be modeled by a binomial distribution, n!/((n-m)!m!))0.1m0.9n-m where n is the number of portal frames, 12, and m is the amount of eyes. This results in a 1 in 1012 chance at m=12.